WO2017190649A1 - 一种在界面中控制多窗口展示的方法和装置 - Google Patents

一种在界面中控制多窗口展示的方法和装置 Download PDF

Info

Publication number
WO2017190649A1
WO2017190649A1 PCT/CN2017/082819 CN2017082819W WO2017190649A1 WO 2017190649 A1 WO2017190649 A1 WO 2017190649A1 CN 2017082819 W CN2017082819 W CN 2017082819W WO 2017190649 A1 WO2017190649 A1 WO 2017190649A1
Authority
WO
WIPO (PCT)
Prior art keywords
window
display
interface
windows
highest priority
Prior art date
Application number
PCT/CN2017/082819
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
Application filed by 北京京东尚科信息技术有限公司, 北京京东世纪贸易有限公司 filed Critical 北京京东尚科信息技术有限公司
Priority to US16/099,144 priority Critical patent/US10996786B2/en
Priority to AU2017259344A priority patent/AU2017259344B2/en
Publication of WO2017190649A1 publication Critical patent/WO2017190649A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0414Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using force sensing means to determine a position
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04812Interaction techniques based on cursor appearance or behaviour, e.g. being affected by the presence of displayed objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04806Zoom, i.e. interaction techniques or interactors for controlling the zooming operation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons

Definitions

  • the present invention relates to the field of computers and software technologies thereof, and in particular, to a method and apparatus for controlling multi-window display in an interface.
  • 3D pressure sensors have been applied to mobile terminal devices such as mobile phones, and many domestic manufacturers are already chasing 3D pressure sensing technology.
  • the principle of pressure touch is: by touching the screen with a finger, the screen can sense the pressure of the finger. According to the change of the area of the finger pressure, the pressure sensor component can generate different electrical signals, and the CPU of the mobile terminal device such as a mobile phone receives the electricity generated by the pressure sensor device. The signal, and then the corresponding command, the user can perceive the change in the corresponding command produced by the pressure.
  • the display mode of the App (app) on the mobile phone is generally only in the icon mode or the full screen mode, and a multi-window solution is adopted on the android (Android) part of the mobile phone, specifically, it can be displayed on the screen of the mobile phone and the like.
  • App window but these App windows are displayed in a stack.
  • This multi-window scheme is difficult to scale because there is no mouse, and it is not smart enough, and multiple App windows displayed in a stack cannot be displayed on the same interface at the same time. .
  • the App window can only be displayed as the corresponding application window size, and then the window size is adjusted by the two-finger cooperation operation.
  • the controllability, convenience, and fun of window scaling are insufficient.
  • the present invention provides a method and apparatus for controlling multi-window display in an interface, which can display multiple application windows simultaneously on the same interface, simply
  • the size of the launched application window can be controlled by finger pressing, and the application window of the corresponding size can be displayed at different levels, and the application windows can be squeezed to each other to increase the size of the window control.
  • a method of controlling multi-window presentation in an interface is provided.
  • a method for controlling multi-window presentation in an interface comprising: defining a correspondence between a presentation level of a window of a plurality of applications and a pressure value applied on an icon of the plurality of applications; according to the icon being applied
  • the pressure value determines a display level of the window, the display level includes a display size; the window is displayed in the interface according to the display level, wherein the window has multiple and has priority, and The window with the highest priority is the window of the currently operated application.
  • the display according to the window with the highest priority is displayed.
  • the size compresses the other windows such that the plurality of the windows are displayed without overlapping in the interface.
  • determining whether the window with the highest priority intersects with the other window by determining a positional relationship between a vertex closest to the other window and a position of the other window in a vertex of the highest priority window; And the step of compressing the other window according to the display size of the window with the highest priority, including: adjusting the display size of the other window according to the display size of the window with the highest priority until the other window Not intersecting with the highest priority window, wherein the display size varies according to the display level.
  • the method comprises: determining that the window of the application is started in a non-full screen mode.
  • the step of determining that the application window is started in a non-full screen mode comprises: comparing a pressure value applied to the icon within a preset time with a preset pressure threshold; If the pressure value is greater than the pressure threshold, the application window is launched in a non-full screen mode.
  • the display size of the window corresponding to the display level of the window is a fixed size, or the display size is proportionally increased as the display level increases.
  • an apparatus for controlling multi-window presentation in an interface is provided.
  • An apparatus for controlling multi-window display in an interface comprising: a correspondence definition module, configured to define a correspondence between a display level of a window of the plurality of applications and a pressure value applied on an icon of the plurality of applications; a display level determining module, configured to determine a display level of the window according to a pressure value applied to the icon, the display level includes a display size; and an interface window display module, configured to display the window according to the display level In the interface, wherein the window has a plurality of windows and has a priority, and the window with the highest priority is a window of the currently operated application, and when the plurality of the windows are displayed, if The window with the highest priority intersects with other windows, and the other windows are compressed according to the display size of the window with the highest priority, so that the plurality of the windows are displayed without overlapping in the interface.
  • the interface window display module is further configured to determine that the priority is the highest by determining a positional relationship between a vertex of the highest priority window and a vertex closest to the other window and the other window. Whether the window intersects with the other window; and, for: adjusting the display size of the other window according to the display size of the highest priority window until the other window does not intersect the highest priority window Wherein the display size varies according to the display level.
  • the interface window display module is further configured to: determine that the window of the application is started in a non-full screen mode.
  • the interface window display module is further configured to: compare a pressure value applied to the icon in a preset time with a preset pressure threshold; if the pressure value is greater than the pressure threshold, The application window is launched in a non-full screen mode.
  • the display size of the window corresponding to the display level of the window is a fixed size, or the display size is proportionally increased as the display level increases.
  • an electronic device includes: one or more processors; a memory for storing one or more programs when the one or more programs are The processor, when executed, causes the one or more processors to implement a method of controlling multi-window presentation in an interface.
  • a computer readable medium having stored thereon is a computer program, wherein the program is executed by a processor to implement a method of controlling multi-window presentation in an interface.
  • a correspondence relationship between a display level of a window of a plurality of applications and a pressure value applied on icons of the plurality of applications is defined, and a display level of the window is determined according to a pressure value applied to the icon, according to The display level displays the window in the interface, wherein the window with the highest priority is the window of the currently operated application. If the window with the highest priority intersects with other windows, the other windows are performed according to the display size of the window with the highest priority. Compressed so that the multiple windows are displayed without overlapping in the interface.
  • multiple application windows can be completely displayed on the same interface at the same time, and the size change of the launched application window can be controlled simply by finger pressing, and can be divided according to different finger pressures. Levels show the corresponding size of the application window, and can also achieve multiple user application windows to change the size of each other, increasing the convenience, fun and intelligence of the window control.
  • FIG. 1 is a schematic diagram showing the main steps of a method for controlling multi-window display in an interface according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of a squeeze change of a plurality of windows displayed in an interface, in accordance with one embodiment of the present invention
  • FIG. 3 is a schematic diagram of a squeeze change of a plurality of windows displayed in an interface according to another embodiment of the present invention.
  • FIG. 4 is a main block diagram of an apparatus for controlling multi-window display in an interface according to an embodiment of the present invention
  • FIG. 5 is a block diagram showing the structure of a computer system suitable for use in implementing an electronic device in accordance with an embodiment of the present invention.
  • FIG. 1 is a schematic diagram of the main steps of a method of controlling multi-window presentation in an interface according to an embodiment of the present invention.
  • the method for controlling multi-window display in an interface in the embodiment of the present invention mainly includes steps S11 to S13.
  • Step S11 defining a correspondence relationship between the display level of the windows of the plurality of applications and the pressure values applied on the icons of the plurality of applications.
  • the pressure sensor device can detect the application on the icons of the plurality of applications. Pressure value.
  • a plurality of display levels can be defined correspondingly as the pressure value increases, and the display size of the corresponding window and the displayed content item are defined for each display level, thereby A one-to-one correspondence is established between the presentation level of the windows of the plurality of applications and the pressure values imposed on the icons of the plurality of applications.
  • the terminal device system can transmit the value of the window display size in the display level to the operating system platform layer, so that the API interface of the operating system can obtain the value of the display size, so that the window can be displayed as the corresponding value in the subsequent display window.
  • the size of the window so when the user puts pressure on the application icon, the size of the application window may change as the pressure value changes.
  • the pressing time t1 is usually set to a value larger than the screen click time, and the value is preferably several hundred milliseconds or more.
  • the display size of the window corresponding to each display level and the displayed content item are defined in advance, specifically,
  • the sub-programs in the window program are used to define the display size and the displayed content items of the window corresponding to each display level, each sub-program corresponds to a display level, and each sub-program defines the content of the corresponding display level.
  • the display size of the window is the display size a1
  • the display content item includes a music name, a play and a stop button
  • the display size of the window is the display size a2
  • the display content item includes the music name, the album name of the music, the play and stop buttons
  • the display size of the window is the display size a3
  • the display content item includes the music name, the album name of the music, the lyrics, the play and stop buttons
  • the display size of the window is the display size a4
  • the display content items include the music name, the album name of the music, the lyrics, the singer related information, the play and stop buttons, and the like.
  • the display size of the window is that the display sizes a1, a2, a3, and a4 can be customized fixed sizes, and the display sizes a1, a2, a3, and a4 are in increasing order, and the display size a4 can also be the size of the full screen size. .
  • the pressure thresholds b1 to b4 are set, and the values of b1 to b4 are in ascending order.
  • the window display level when the pressure value of the icon of the music app is greater than the pressure threshold b1 is set to level 1
  • the window display level when the pressure value is greater than the pressure threshold b2 is set to level 2
  • the window display level when the value is greater than the pressure threshold b3 is 3 levels
  • the window display level when the pressure value is greater than the pressure threshold b4 is 4 levels.
  • the display size of the window corresponding to the display level of the window may be a fixed size, or the display size may also be proportionally increased as the display level increases, and the display size of the window varies with the display level of the window. It is preset in the window program. If the window display size corresponding to the display level of the setting window in the window program is a fixed size, the window will not support the scale change according to the pressure value applied by the application icon. Instead, the size is changed according to a predetermined fixed size.
  • the technical solution of this embodiment is applicable to, but not limited to, a music app, and the application program may also be an App installed on a touch mobile terminal device such as a video app.
  • the display size of the window may be specified along with the display level. As the height rises, the display size of the window becomes larger in proportion.
  • Step S12 determining the display level of the window according to the pressure value applied to the icon, and the display level includes the display size.
  • the pressure value applied on the icon of the App exceeds the pressure threshold b1 after the predetermined pressing time t1 is reached, the pressure value is according to the correspondence defined in step S11.
  • the corresponding display level is level 1, then when the icon of the music app is applied with the pressure value, the music app will display the size. It is the window size of a1, and the window displays the music name, play and stop buttons.
  • the display level corresponding to the pressure value is level 2
  • the window of the current music App Displayed to display the size of the size a2 and the window displays the music name, the album name of the music, the play and stop buttons; when the user presses the pressure so that the pressure value exceeds the pressure threshold b3, the pressure level corresponds to the display level of 3,
  • the window is displayed as the size of the display size a3, and the window displays the music name, the album name of the music, the lyrics, the play and stop buttons; when the pressure value exceeds the pressure threshold b4, the pressure level corresponds to the display level of 4
  • the corresponding window is displayed as the size of the display size a4, and the window displays the music name, the album name of the music, the lyrics, the singer related information, the play and stop buttons, and the like.
  • the change process of the above pressure value and the display level of the window reflects that as the pressure value applied on the application icon increases, the window display level also gradually increases, so that the window display size gradually increases, and the content displayed in the window is displayed.
  • the item also changes accordingly, and it will be understood by those skilled in the art that as the pressure value increases, the display size of the window increases, and when the application window reaches a larger display size, if the user wishes to window The display size becomes smaller, so you only need to reduce the pressure value applied to the application icon.
  • the current window display level is 3, and the corresponding window display size is a3, when the reduction is applied to the application icon.
  • the pressure value is such that the pressure value is less than the pressure threshold b3 and greater than b2, then the current pressure value corresponds to the display level of the window is 2, correspondingly, the display size of the window is also changed from the original a3 to a2, thereby realizing The process of reducing the size of the window display.
  • Step S13 displaying the window in the interface according to the display level, wherein the window has multiple and priority, and the window with the highest priority is the window of the currently operated application, and if the multiple windows are displayed, if priority is given
  • the highest level window intersects with other windows, and the other windows are compressed according to the display size of the highest priority window, so that the multiple windows are displayed without overlapping in the interface.
  • determining whether the window with the highest priority intersects with other windows by determining the positional relationship between the vertex closest to the other window and the other window in the vertex of the window with the highest priority; and, according to the display size of the window with the highest priority Other windows are compressed.
  • the display size of other windows can be adjusted according to the display size of the window with the highest priority until the other windows do not intersect with the window with the highest priority, and the display size varies according to the display level.
  • FIG. 2 is a schematic diagram showing a squeeze change situation of a plurality of windows displayed in an interface according to an embodiment of the present invention.
  • the current operation window is A1
  • the current display level is level 1
  • a vertex of A1 is p1
  • the coordinates of the vertex p1 are p1(x1, y1)
  • B1 is the currently unoperated window displayed in the interface.
  • the current display level of B1 is level 3, one vertex of B1 is q1, and the vertex coordinates of q1 are q1(x2, y2), and x2>x1, y2>y1.
  • the window display level of A1 also increases, and the display size of A1 becomes correspondingly larger, then according to the display of A1.
  • the size will compress the B1 window, as shown in the right interface diagram in Figure 2, the A1 display size in the left interface changes with the window display level of A1, and the changed window A1 corresponds to the window in the right interface.
  • the B1 window in the left interface, is compressed according to the display size of A1 to correspond to the B2 window in the right interface, and accordingly, the vertex p1 of A1 in the left interface moves to the position of the vertex p2 in the right interface, The vertex q1 of B1 in the left interface moves to the position of the vertex q2 in the right interface.
  • the window A1 is located at the lower left corner of the screen interface.
  • the motion trajectory of the vertex p1 will move toward the direction of the q1 vertex closest to the window A1 in the window B1, if the coordinate value (x1, y1) of p1 exceeds the coordinate value of the vertex q1 ( X2, y2), it is determined that the A1 window and the B1 window intersect.
  • the B1 window changes the display size according to the display level.
  • the result of the squeezing is, for example, window A2 and window B2 in the right interface diagram in Fig. 2, for example, the current display level of window A2 is level 3, and the display level of B2 is determined according to the current display size of window A2.
  • the display level of B2 is reduced from the original level of the B1 window to the current level 2 with the extrusion of the A2 window, if at this time, the coordinate value of the vertex p2 of A2 is still larger than the coordinate value of the vertex q2 of the B2 window, Then the display level of the B2 window will further decrease. If the display level of the B2 window drops to level 1, the coordinate value of the vertex p2 of A2 can be made not larger than the coordinate value of the vertex q2 of the B2 window, then the display level of the final B2 window is For level 1, the display size of the corresponding B2 window is the corresponding size when the display level is level 1.
  • the A2 and B2 windows may be tangent to each other or may be separated by a distance.
  • FIG. 3 is a schematic diagram showing a squeeze change situation of a plurality of windows displayed in an interface according to another embodiment of the present invention.
  • the left interface map is two windows of C1 and D1.
  • Position map where u1 and u2 are the vertices of the D1 window, w1 And w2 are the vertices of the C1 window.
  • the display size of D1 is reduced to the size of the D2 window, and the vertices w1 and w2 of C1 are respectively moved to the positions corresponding to the vertices W1 and W2 in C2, and the vertices u1 and u2 in D1. Move to the position corresponding to U1 and U2 in D2 respectively.
  • the extrusion change relationship between C1 and D1 is the same as the extrusion change principle of the A1 and B1 windows shown in FIG. 2, and will not be described again. Wherein, unlike the case of the window in FIG.
  • the closest vertices between the C1 and D1 windows are u1 and w1, and u2 and w2, and the ordinates of u1 and u2 are the same, and the ordinates of w1 and w2 are the same.
  • the step of displaying the window in the interface according to the presentation level it may also be determined that the application's window is launched in a non-full screen mode.
  • Determining that the application window is started in a non-full-screen mode may specifically include: comparing a pressure value applied to the icon within the preset time to a preset pressure threshold; if the pressure value is greater than the pressure threshold, the application window is not full-screen The mode starts.
  • the preset time may be the pressing time t1 preset in step S11
  • the preset pressure threshold may be the pressure threshold b1 set in step S11, when the icon of the application is pressed by t1, the current pressure The force value is compared with the pressure threshold b1. If the current pressure value is less than the pressure threshold b1, the application window is started in a non-full screen mode; otherwise, the application window is launched directly in full screen mode.
  • FIG. 4 is a main block diagram of an apparatus for controlling multi-window presentation in an interface, in accordance with an embodiment of the present invention.
  • the apparatus 40 for controlling multi-window display in an interface of the embodiment of the present invention mainly includes: a correspondence relationship defining module 41, configured to define a display level of a window of a plurality of applications and an icon of a plurality of applications.
  • a display level determining module 42 configured to determine a display level of the window according to the pressure value applied to the icon, the display level includes a display size; and an interface window display module 43 for displaying the level according to the display Displaying a window in the interface, wherein the window has multiple and prioritized windows, and the window with the highest priority is the window of the currently operated application, and the highest priority window is displayed when the multiple windows are displayed When intersecting with other windows, the other windows are compressed according to the display size of the window with the highest priority, so that the multiple windows are displayed without overlapping in the interface.
  • the interface window display module 43 can also be configured to determine whether the window with the highest priority intersects with other windows by determining the positional relationship between the vertex closest to the other window and the other window in the vertex of the highest priority window; and Used to: adjust the display size of other windows according to the display size of the window with the highest priority until the other windows do not intersect with the window with the highest priority, where the display size changes according to the display level.
  • the interface window display module 43 can also be used to determine that the application's window is launched in a non-full screen mode. Specifically, the pressure value applied to the icon within the preset time is compared with a preset pressure threshold; if the pressure value is greater than the pressure threshold, the application window is started in a non-full screen mode.
  • FIG. 5 there is shown a block diagram of a computer system 500 suitable for use in implementing the electronic device of the embodiments of the present application.
  • the electronic device shown in FIG. 5 is merely an example, and should not impose any limitation on the function and scope of use of the embodiments of the present application.
  • computer system 500 includes a central processing unit (CPU) 501 that can be loaded into a program in random access memory (RAM) 503 according to a program stored in read only memory (ROM) 502 or from storage portion 508. And perform various appropriate actions and processes.
  • RAM random access memory
  • ROM read only memory
  • RAM 503 various programs and data required for the operation of the system 500 are also stored.
  • the CPU 501, the ROM 502, and the RAM 503 are connected to each other through a bus 504.
  • An input/output (I/O) interface 505 is also coupled to bus 504.
  • the following components are connected to the I/O interface 505: an input portion 506 including a keyboard, a mouse, etc.; an output portion 507 including, for example, a cathode ray tube (CRT), a liquid crystal display (LCD), and the like, and a storage portion 508 including a hard disk or the like. And a communication portion 509 including a network interface card such as a LAN card, a modem, or the like. The communication section 509 performs communication processing via a network such as the Internet.
  • Driver 510 is also coupled to I/O interface 505 as needed.
  • a removable medium 511 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory or the like is mounted on the drive 510 as needed so that a computer program read therefrom is installed into the storage portion 508 as needed.
  • embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising a schematic diagram showing the main steps of a method for controlling multi-window presentation in an interface
  • the program code for the method can be downloaded and installed from the network via the communication portion 509, and/or installed from the removable medium 511.
  • CPU central processing unit
  • the computer readable medium shown in the present invention may be a computer readable signal medium or a computer readable storage medium or any combination of the two.
  • the computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of computer readable storage media may include, but are not limited to, electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable Programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the foregoing.
  • a computer readable storage medium may be any tangible medium that can contain or store a program, which can be used by or in connection with an instruction execution system, apparatus or device.
  • a computer readable signal medium may include a data signal that is propagated in the baseband or as part of a carrier, carrying computer readable program code. Such propagated data signals can take a variety of forms including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • the computer readable signal medium can also be any computer readable medium other than a computer readable storage medium, which can transmit, propagate, or transport a program for use by or in connection with the instruction execution system, apparatus, or device.
  • Program code embodied on a computer readable medium can be transmitted by any suitable medium, including but not limited to wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
  • the main steps and block diagrams of the method of controlling multi-window presentation in an interface in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products in accordance with various embodiments of the present application.
  • the main steps of the method of controlling multi-window presentation in the interface or each block in the block diagram may represent a module, a program segment, or a portion of code, the module, program segment, or part of code included One or more executable instructions for implementing the specified logic functions.
  • the functions noted in the blocks may also occur in a different order than that illustrated in the drawings.
  • each block and box in the block diagram or main step diagram The combination of blocks in the figures or main step diagrams can be implemented in a dedicated hardware-based system that performs the specified functions or operations, or can be implemented in a combination of dedicated hardware and computer instructions.
  • the modules involved in the embodiments of the present invention may be implemented by software or by hardware.
  • the described modules may also be disposed in the processor.
  • the processor may include a corresponding relationship definition module 41, a presentation level determination module 42, and an interface window display module 43.
  • the name of these modules does not constitute a limitation on the module itself in some cases.
  • the correspondence definition module 41 can also be described as "display level and multiple applications of windows for defining multiple applications.
  • the present invention also provides a computer readable medium, which may be included in the apparatus described in the above embodiments, or may be separately present and not incorporated in the apparatus.
  • the computer readable medium carries one or more programs, and when the one or more programs are executed by the device, the device includes: displaying a display level of a window of the plurality of applications and an icon of the plurality of applications Corresponding relationship of the applied pressure values; determining the display level of the window according to the pressure value applied to the icon, the display level including the display size; displaying the window in the interface according to the display level, wherein the window has multiple and has priority, The window with the highest priority is the window of the currently operating application. When the multiple windows are displayed, if the window with the highest priority intersects with other windows, the other windows are compressed according to the display size of the window with the highest priority. So that the multiple windows are displayed without overlapping in the interface.
  • a correspondence relationship between a display level of a window of a plurality of applications and a pressure value applied on icons of the plurality of applications is defined, and a display level of the window is determined according to a pressure value applied to the icon.
  • Displaying the window in the interface according to the display level, wherein the window with the highest priority is the window of the currently operated application, and if the window with the highest priority intersects with other windows, according to the display size of the window with the highest priority The window is compressed so that the multiple windows are displayed without overlapping in the interface.
  • multiple application windows can be completely displayed on the same interface at the same time, and the size change of the launched application window can be controlled simply by finger pressing, and according to different finger pressures,
  • the application window of the corresponding size can be displayed at different levels, and the application windows can be squeezed and changed to each other, which increases the convenience, fun and intelligence of the window control.

Landscapes

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

Abstract

本发明提供一种在界面中控制多窗口展示的方法和装置,能够将多个应用程序窗口同时完整地展示在同一界面上,通过手指按压即可控制所启动的应用程序窗口的大小变化,并可分级别展示相应大小的应用程序窗口,还可实现多个应用程序窗口之间挤压变化大小。本发明的在界面中控制多窗口展示的方法包括:定义多个应用程序的窗口的展示等级与多个应用程序的图标上所施加的压力值的对应关系,并根据施加在图标上的压力值确定窗口的展示等级,根据展示等级将窗口展示在界面中,优先级最高的窗口为当前操作的应用程序的窗口,若优先级最高的窗口与其他窗口相交,则根据优先级最高的窗口的展示尺寸对其他窗口进行压缩,以使该多个窗口在界面中无重叠展示。

Description

一种在界面中控制多窗口展示的方法和装置 技术领域
本发明涉及计算机及其软件技术领域,特别地涉及一种在界面中控制多窗口展示的方法和装置。
背景技术
目前,3D压力传感器已经应用在手机等移动终端设备上,国内很多厂商已经在追逐3D压力传感技术。压力触控的原理为:通过手指触摸屏幕,屏幕可感应手指的压力,根据手指压力的面积变化,压力传感器件可产生不同的电学信号,手机等移动终端设备的CPU接收压力传感器件产生的电学信号,然后产生相应的指令,用户可感知到由压力产生的相应的指令的变化。
目前,App(应用程序)在手机上的展示模式一般只有图标模式或者全屏模式,在android(安卓)部分手机上采用一种多窗口的方案,具体为可在手机等设备的屏幕上展示多个App窗口,但是这些App窗口是以堆叠的形式来展示,这种多窗口方案因为没有鼠标,缩放困难,不够智能,并且以堆叠形式展示的多个App窗口不能同时完整地显示在同一个界面上。
此外,在用户使用App的过程中,如果需要对启动的App窗口调整大小,只能通过点击App图标展示为相应的应用程序窗口大小之后,再通过双指配合操作来调整窗口的大小,应用程序窗口缩放的可控性、便利性和趣味性都不足。
发明内容
有鉴于此,本发明提供一种在界面中控制多窗口展示的方法和装置,能够将多个应用程序窗口同时完整地展示在同一界面上,简单地 通过手指按压即可控制所启动的应用程序窗口的大小变化,并可分级别展示相应大小的应用程序窗口,还可实现多个应用程序窗口之间相互挤压地变化大小,增加了窗口控制的便利性、趣味性和智能性。
为实现上述目的,根据本发明的一个方面,提供了一种在界面中控制多窗口展示的方法。
一种在界面中控制多窗口展示的方法,包括:定义多个应用程序的窗口的展示等级与所述多个应用程序的图标上所施加的压力值的对应关系;根据施加在所述图标上的压力值确定所述窗口的展示等级,所述展示等级包括展示尺寸;根据所述展示等级将所述窗口展示在所述界面中,其中,所述窗口有多个并具有优先级,且所述优先级最高的窗口为当前操作的应用程序的窗口,在进行该多个所述窗口展示时,若所述优先级最高的窗口与其他窗口相交,则根据所述优先级最高的窗口的展示尺寸对所述其他窗口进行压缩,以使该多个所述窗口在所述界面中无重叠展示。
可选地,通过判断所述优先级最高的窗口的顶点中与所述其他窗口距离最近的顶点和所述其他窗口的位置关系来判定所述优先级最高的窗口与所述其他窗口是否相交;并且,根据所述优先级最高的窗口的展示尺寸对所述其他窗口进行压缩的步骤,包括:根据所述优先级最高的窗口的展示尺寸调整所述其他窗口的展示尺寸,直至所述其他窗口与所述优先级最高的窗口不相交,其中,所述展示尺寸按照所述展示等级进行变化。
可选地,根据所述展示等级将所述窗口展示在所述界面中的步骤之前,包括:确定所述应用程序的窗口以非全屏模式启动。
可选地,确定所述应用程序窗口以非全屏模式启动的步骤,包括:将预设时间内施加在所述图标上的压力值与预设的压力阈值相比较; 如果所述压力值大于所述压力阈值,则所述应用程序窗口以非全屏模式启动。
可选地,所述窗口的展示等级对应的窗口的展示尺寸为固定尺寸,或者所述展示尺寸随着展示等级的升高按比例增大。
根据本发明的另一方面,提供了一种在界面中控制多窗口展示的装置。
一种在界面中控制多窗口展示的装置,包括:对应关系定义模块,用于定义多个应用程序的窗口的展示等级与所述多个应用程序的图标上所施加的压力值的对应关系;展示等级确定模块,用于根据施加在所述图标上的压力值确定所述窗口的展示等级,所述展示等级包括展示尺寸;界面窗口展示模块,用于根据所述展示等级将所述窗口展示在所述界面中,其中,所述窗口有多个并具有优先级,且所述优先级最高的窗口为当前操作的应用程序的窗口,在进行该多个所述窗口展示时,若所述优先级最高的窗口与其他窗口相交,则根据所述优先级最高的窗口的展示尺寸对所述其他窗口进行压缩,以使该多个所述窗口在所述界面中无重叠展示。
可选地,所述界面窗口展示模块还用于:通过判断所述优先级最高的窗口的顶点中与所述其他窗口距离最近的顶点和所述其他窗口的位置关系来判定所述优先级最高的窗口与所述其他窗口是否相交;以及,用于:根据所述优先级最高的窗口的展示尺寸调整所述其他窗口的展示尺寸,直至所述其他窗口与所述优先级最高的窗口不相交,其中,所述展示尺寸按照所述展示等级进行变化。
可选地,所述界面窗口展示模块还用于:确定所述应用程序的窗口以非全屏模式启动。
可选地,所述界面窗口展示模块还用于:将预设时间内施加在所述图标上的压力值与预设的压力阈值相比较;如果所述压力值大于所述压力阈值,则所述应用程序窗口以非全屏模式启动。
可选地,所述窗口的展示等级对应的窗口的展示尺寸为固定尺寸,或者所述展示尺寸随着展示等级的升高按比例增大。
根据本发明的再一方面,提供了一种电子设备,包括:一个或多个处理器;存储器,用于存储一个或多个程序,当所述一个或多个程序被所述一个或多个处理器执行时,使得所述一个或多个处理器实现在界面中控制多窗口展示的方法。
根据本发明的再一方面,提供了一种计算机可读介质,其上存储有计算机程序,其特征在于,所述程序被处理器执行时实现在界面中控制多窗口展示的方法。
根据本发明的技术方案,定义多个应用程序的窗口的展示等级与多个应用程序的图标上所施加的压力值的对应关系,并根据施加在图标上的压力值确定窗口的展示等级,根据展示等级将窗口展示在界面中,其中,优先级最高的窗口为当前操作的应用程序的窗口,若优先级最高的窗口与其他窗口相交,则根据优先级最高的窗口的展示尺寸对其他窗口进行压缩,以使该多个窗口在界面中无重叠展示。使用本发明的技术方案,可将多个应用程序窗口完整地同时展示在同一界面上,简单地通过手指按压即可控制所启动的应用程序窗口的大小变化,并且根据不同的手指压力,可分级别展示相应大小的应用程序窗口,还可实现多个应用程序窗口之间相互挤压地变化大小,增加了窗口控制的便利性、趣味性和智能性。
附图说明
附图用于更好地理解本发明,不构成对本发明的不当限定。其中:
图1是根据本发明实施例的在界面中控制多窗口展示的方法的主要步骤示意图;
图2是根据本发明一个实施例的在界面中展示的多个窗口的挤压变化情况的示意图;
图3是根据本发明另一实施例的在界面中展示的多个窗口的挤压变化情况的示意图;
图4是根据本发明实施例的在界面中控制多窗口展示的装置的主要模块示意图;
图5是适于用来实现本发明实施例的电子设备的计算机***的结构示意图。
具体实施方式
以下结合附图对本发明的示范性实施例做出说明,其中包括本发明实施例的各种细节以助于理解,应当将它们认为仅仅是示范性的。因此,本领域普通技术人员应当认识到,可以对这里描述的实施例做出各种改变和修改,而不会背离本发明的范围和精神。同样,为了清楚和简明,以下的描述中省略了对公知功能和结构的描述。
图1是根据本发明实施例的在界面中控制多窗口展示的方法的主要步骤示意图。
如图1所示,本发明实施例的在界面中控制多窗口展示的方法主要包括步骤S11至步骤S13。
步骤S11:定义多个应用程序的窗口的展示等级与多个应用程序的图标上所施加的压力值的对应关系。
当手机、Pad等触摸式终端设备的屏幕通过终端设备内部的压力传感器件感知到用户手指施加在应用程序图标上的压力时,压力传感器件可检测到在多个应用程序的图标上所施加的压力值。当检测到压 力值连续施加达到预定的按压时间t1之后,随着压力值的增大可以相应地定义多个展示等级,并针对每个展示等级定义所对应的窗口的展示尺寸和展示的内容项,从而使多个应用程序的窗口的展示等级与多个应用程序的图标上所施加的压力值之间建立起一一对应的关系。终端设备***可将上述展示等级中窗口展示尺寸的数值传送到操作***平台层,从而操作***的API接口可以获取到展示尺寸的数值,以便后续在展示窗口时可将窗口展示为相应数值对应的窗口大小,因此,当用户对应用程序图标施加压力时,随着压力值的变化,应用程序窗口的大小也可能发生变化。为了使按压图标的动作与现有的屏幕图标点击的动作相区别,按压时间t1通常设置为比屏幕点击时间大的一个数值,该数值最好在几百毫秒以上。
具体地,以定义四个展示等级,并且用户施加的压力作用于一音乐App(应用程序)为例,预先定义每个展示等级所对应的窗口的展示尺寸和展示的内容项,具体地,可以通过窗口程序中的子程序来定义每个展示等级所对应的窗口的展示尺寸和展示的内容项,每个子程序对应于一个展示等级,且每个子程序中规定了所对应的展示等级包含的内容项的数量和大小、内容项之间的布局、每个内容项展示的功能(例如可展示音乐的专辑名称的功能等)、以及每个展示等级对应的窗口的展示尺寸。例如:
展示等级为1级时,窗口的展示尺寸为展示尺寸a1,且展示内容项包括音乐名称、播放和停止按钮;
展示等级为2级时,窗口的展示尺寸为展示尺寸a2,且展示内容项包括音乐名称、音乐的专辑名称、播放和停止按钮;
展示等级为3级时,窗口的展示尺寸为展示尺寸a3,且展示内容项包括音乐名称、音乐的专辑名称、歌词、播放和停止按钮;
展示等级为4级时,窗口的展示尺寸为展示尺寸a4,且展示内容项包括音乐名称、音乐的专辑名称、歌词、歌手相关信息、播放和停止按钮等。
其中,窗口的展示尺寸为展示尺寸a1、a2、a3、a4可以为自定义的固定尺寸,且展示尺寸a1、a2、a3、a4按照递增的顺序,展示尺寸a4也可以是全屏幕尺寸的大小。
然后,相应地设置四个压力阈值,例如设置压力阈值b1~b4,且b1~b4的数值为递增顺序。达到预定的按压时间t1,设置所述音乐App的图标被施加的压力值大于压力阈值b1时的窗口展示等级为1级,设置压力值大于压力阈值b2时的窗口展示等级为2级;设置压力值大于压力阈值b3时的窗口展示等级为3级;设置压力值大于压力阈值b4时的窗口展示等级为4级。
需要说明地是,窗口的展示等级对应的窗口的展示尺寸可以为固定尺寸,或者展示尺寸也可以随着展示等级的升高按比例增大,窗口的展示尺寸随窗口的展示等级变化的具体方式是在窗口程序中预先设置的,若窗口程序中设置窗口的展示等级对应的窗口展示尺寸为固定尺寸,则随着应用程序图标被施加的压力值的变化,窗口将不支持按照比例变化大小,而是按照预定的固定尺寸来变化大小。本实施例的技术方案适用但不仅限于音乐App,应用程序还可以为视频App等其他安装于触摸式移动终端设备的App。对于视频App等窗口展示的内容项比较单一(例如可以只展示视频播放的内容)的应用程序,在定义每个展示等级所对应的窗口的展示尺寸时,可以规定窗口的展示尺寸随着展示等级的升高,窗口的展示尺寸按比例变大。
步骤S12:根据施加在图标上的压力值确定窗口的展示等级,展示等级包括展示尺寸。
以上述的音乐App(应用程序)为例,如果达到预定的按压时间t1之后,在该App的图标上所施加的压力值超过压力阈值b1,则根据步骤S11中定义的对应关系,该压力值所对应的展示等级为1级,那么当该音乐App的图标被施加该压力值时,则该音乐App将展示尺寸 为a1的窗口大小,并且窗口显示音乐名称、播放和停止按钮。
同样地,如果该音乐App的图标被继续按压,且压力值逐渐增大,直到超过压力阈值b2,则根据上述对应关系,该压力值所对应的展示等级为2级,则当前音乐App的窗口展示为展示尺寸a2的大小,且窗口显示音乐名称、音乐的专辑名称、播放和停止按钮;当继续用户按压使得压力值超过压力阈值b3时,则该压力值所对应的展示等级为3级,相应地窗口展示为展示尺寸a3的大小,且窗口显示音乐名称、音乐的专辑名称、歌词、播放和停止按钮;当压力值超过压力阈值b4时,则该压力值所对应的展示等级为4级,相应地窗口展示为展示尺寸a4的大小,且窗口显示音乐名称、音乐的专辑名称、歌词、歌手相关信息、播放和停止按钮等。
对于上述压力值与窗口的展示等级的变化过程反映了随着应用程序图标上所施加的压力值的增大,窗口展示等级也逐步增大,从而窗口展示尺寸逐级变大,窗口展示的内容项也随之变化,本领域技术人员可以理解地是,随着压力值的增大,窗口的展示尺寸随着增大,当应用程序窗口达到一个较大的展示尺寸时,如果用户希望将窗口的展示尺寸变小,那么只需减小施加在应用程序图标上的压力值即可实现,例如,当前的窗口展示等级为3,对应的窗口展示尺寸为a3,当减小施加在应用程序图标上的压力值,使得该压力值小于压力阈值b3且大于b2,那么当前的压力值则对应窗口的展示等级为2,相应地,窗口的展示尺寸也由原来的a3变为a2,从而实现了将窗口的展示尺寸缩小的过程。
步骤S13:根据展示等级将窗口展示在界面中,其中,窗口有多个并具有优先级,且优先级最高的窗口为当前操作的应用程序的窗口,在进行该多个窗口展示时,若优先级最高的窗口与其他窗口相交,则根据优先级最高的窗口的展示尺寸对其他窗口进行压缩,以使该多个窗口在界面中无重叠展示。
其中,通过判断优先级最高的窗口的顶点中与其他窗口距离最近的顶点和其他窗口的位置关系来判定优先级最高的窗口与其他窗口是否相交;并且,根据优先级最高的窗口的展示尺寸对其他窗口进行压缩,具体地,可以根据优先级最高的窗口的展示尺寸调整其他窗口的展示尺寸,直至其他窗口与优先级最高的窗口不相交,其中,展示尺寸按照展示等级进行变化。
为了更具体地说明通过判断优先级最高的窗口的顶点中与其他窗口距离最近的顶点和其他窗口的位置关系来判定优先级最高的窗口与其他窗口是否相交的具体方法,以及根据优先级最高的窗口的展示尺寸对其他窗口进行压缩的具体过程,下面以两个窗口同时显示在同一界面的情况为例介绍本发明的实施过程。图2和图3示例性地示出了根据本发明实施例的在界面中展示的多个窗口的挤压变化情况的示意图。
如图2所示,图2示出了根据本发明一个实施例的在界面中展示的多个窗口的挤压变化情况的示意图,图2中的左右两幅界面中,左侧界面为变化前的界面,当前操作的窗口为A1,当前的展示等级为1级,A1的一个顶点为p1,该顶点p1的坐标为p1(x1,y1);B1为当前未操作的展示在界面中的窗口,B1的当前展示等级为3级,B1的一个顶点为q1,且q1的顶点坐标为q1(x2,y2),且x2>x1,y2>y1。由于当前操作的窗口A1的优先级最高,则随着施加在A1的App图标上的压力值的增大,A1的窗口展示等级也升高,A1的展示尺寸相应变大,那么根据A1的展示尺寸将对B1窗口进行压缩,如图2中的右侧界面图所示,左侧界面中A1展示尺寸随着A1的窗口展示等级变化,且变化后的窗口A1对应该右侧界面中的窗口A2,左侧界面中根据A1的展示尺寸将对B1窗口进行压缩为对应该右侧界面中的B2窗口,相应地,左侧界面中A1的顶点p1运动到右侧界面中顶点p2的位置,左侧界面中B1的顶点q1运动到右侧界面中顶点q2的位置。
那么,通过判断A1窗口的顶点中与B1窗口距离最近的顶点(即p1)和B1窗口的位置关系,即可判定A1窗口与B1窗口是否相交,具体地,可以判断A1窗口与B1窗口的顶点坐标p1和q1之间的坐标关系,如图2所示,窗口A1位于屏幕界面的左下角,当窗口的一边达到屏幕界面的边沿时,将沿着相对边的方向向屏幕界面内部延展放大,那么,随着窗口A1的展示等级增大,顶点p1的运动轨迹将向着窗口B1中距离窗口A1最近的q1顶点的方向运动,如果p1的坐标值(x1,y1)超过顶点q1的坐标值(x2,y2),则判定A1窗口和B1窗口相交。
当A1窗口和B1窗口相交时,随着施加在A1窗口对应的应用程序图标上的压力值的继续增大,A1的窗口展示等级升高,A1窗口将挤压B1窗口的展示尺寸变化,需要说明的是,A1窗口挤压B1窗口的展示尺寸变化时,B1窗口是按照展示等级来变化展示尺寸。挤压的结果例如图2中右侧界面图中的窗口A2和窗口B2,例如,窗口A2的当前展示等级为3级,B2的展示等级根据窗口A2当前的展示尺寸来确定。假设当B2的展示等级随着A2窗口的挤压由原来B1窗口时的3级降低为当前的2级,如果此时,A2的顶点p2的坐标值仍大于B2窗口的顶点q2的坐标值,那么B2窗口的展示等级将进一步下降,如果B2窗口的展示等级下降到1级时,可以使得A2的顶点p2的坐标值不大于B2窗口的顶点q2的坐标值,那么最终B2窗口的展示等级就为1级,相应的B2窗口的展示尺寸即为展示等级为1级时对应的尺寸大小。
此外,由于A1、B1窗口最终变化为A2、B2窗口时是根据A2、B2两窗口各自的展示等级来确定的,因此A2、B2窗口之间可能相切,也可能相距一段距离。
同理,图3示出了根据本发明另一实施例的在界面中展示的多个窗口的挤压变化情况的示意图,如图3所示,左侧界面图是C1、D1上下两个窗口的位置关系图,其中,u1和u2是D1窗口的顶点,w1 和w2是C1窗口的顶点。当C1随着压力值的增大,C1窗口的展示等级增大,展示尺寸也相应变大,将挤压D1窗口的展示尺寸变小,最终的变化结果如右侧界面图所示,C1的展示尺寸变化为窗口C2的大小,相应地,D1的展示尺寸缩小为D2窗口的大小,而C1的顶点w1和w2分别运动到对应C2中顶点W1和W2的位置,D1中的顶点u1和u2分别运动到对应D2中U1和U2的位置。其中C1与D1之间的挤压变化关系与图2所示的A1、B1窗口的挤压变化原理相同,不再赘述。其中,与图2中窗口的情形不同地是,C1、D1窗口之间的相距最近的顶点为u1和w1,以及u2和w2,且u1与u2的纵坐标相同,w1和w2的纵坐标相同,那么在判断C1窗口与D1窗口是否相交时,只需考虑u1和w1,以及u2和w2之中任意一组顶点的纵坐标的变化关系即可。也就是说,如果考虑u1和w1这组顶点,那么,当C1的展示尺寸向着窗口D1的方向变化后,当w1的纵坐标值大于与其最近的D1窗口中u1顶点的纵坐标值,则C1、D1窗口相交。
结合图2和图3的说明,本领域技术人员应很容易理解,如果界面中两个左右并列的窗口之间挤压变化,则只需考虑该两个窗口之间一组相距最近的顶点的横坐标的变化关系即可判定两个窗口是否相交。同样地,根据图2和图3,可以很容易解决多个窗口在同一界面的展示的问题。并且,无论多个窗口的位置关系如何,当前操作的窗口与被挤压变化的窗口都是按照各个窗口的展示等级来变化的。
此外,在根据展示等级将窗口展示在所述界面中的步骤之前,还可以先确定应用程序的窗口以非全屏模式启动。
确定应用程序的窗口以非全屏模式启动,具体可以包括:将预设时间内施加在图标上的压力值与预设的压力阈值相比较;如果压力值大于压力阈值,则应用程序窗口以非全屏模式启动。该预设时间可以为步骤S11中预设的按压时间t1,该预设的压力阈值可以为步骤S11中设置的压力阈值b1,当应用程序的图标被按压t1时间时,当前的压 力值与压力阈值b1比较,如果当前的压力值小于压力阈值b1,则应用程序的窗口以非全屏模式启动,否则,直接以全屏模式启动应用程序的窗口。
图4是根据本发明实施例的在界面中控制多窗口展示的装置的主要模块示意图。
如图4所示,本发明实施例的在界面中控制多窗口展示的装置40主要包括:对应关系定义模块41,用于定义多个应用程序的窗口的展示等级与多个应用程序的图标上所施加的压力值的对应关系;展示等级确定模块42,用于根据施加在所述图标上的压力值确定窗口的展示等级,展示等级包括展示尺寸;界面窗口展示模块43,用于根据展示等级将窗口展示在所述界面中,其中,窗口有多个并具有优先级,且优先级最高的窗口为当前操作的应用程序的窗口,在进行该多个窗口展示时,若优先级最高的窗口与其他窗口相交,则根据优先级最高的窗口的展示尺寸对其他窗口进行压缩,以使该多个窗口在界面中无重叠展示。
其中,界面窗口展示模块43还可以用于:通过判断优先级最高的窗口的顶点中与其他窗口距离最近的顶点和其他窗口的位置关系来判定优先级最高的窗口与其他窗口是否相交;以及,用于:根据优先级最高的窗口的展示尺寸调整其他窗口的展示尺寸,直至其他窗口与优先级最高的窗口不相交,其中,展示尺寸按照展示等级进行变化。
界面窗口展示模块43还可以用于确定应用程序的窗口以非全屏模式启动。具体地,将预设时间内施加在图标上的压力值与预设的压力阈值相比较;如果压力值大于压力阈值,则应用程序窗口以非全屏模式启动。
下面参考图5,其示出了适于用来实现本申请实施例的电子设备的计算机***500的结构示意图。图5示出的电子设备仅仅是一个示例,不应对本申请实施例的功能和使用范围带来任何限制。
如图5所示,计算机***500包括中央处理单元(CPU)501,其可以根据存储在只读存储器(ROM)502中的程序或者从存储部分508加载到随机访问存储器(RAM)503中的程序而执行各种适当的动作和处理。在RAM 503中,还存储有***500操作所需的各种程序和数据。CPU 501、ROM 502以及RAM 503通过总线504彼此相连。输入/输出(I/O)接口505也连接至总线504。
以下部件连接至I/O接口505:包括键盘、鼠标等的输入部分506;包括诸如阴极射线管(CRT)、液晶显示器(LCD)等以及扬声器等的输出部分507;包括硬盘等的存储部分508;以及包括诸如LAN卡、调制解调器等的网络接口卡的通信部分509。通信部分509经由诸如因特网的网络执行通信处理。驱动器510也根据需要连接至I/O接口505。可拆卸介质511,诸如磁盘、光盘、磁光盘、半导体存储器等等,根据需要安装在驱动器510上,以便于从其上读出的计算机程序根据需要被安装入存储部分508。
特别地,根据本发明公开的实施例,上文在界面中控制多窗口展示的方法的主要步骤示意图描述的过程可以被实现为计算机软件程序。例如,本发明公开的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于在界面中控制多窗口展示的方法的主要步骤示意图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信部分509从网络上被下载和安装,和/或从可拆卸介质511被安装。在该计算机程序被中央处理单元(CPU)501执行时,执行本申请的***中限定的上述功能。
需要说明的是,本发明所示的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的***、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本申请中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行***、装置或者器件使用或者与其结合使用。而在本申请中,计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行***、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:无线、电线、光缆、RF等等,或者上述的任意合适的组合。
附图中的在界面中控制多窗口展示的方法的主要步骤示意图和框图,图示了按照本申请各种实施例的***、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,在界面中控制多窗口展示的方法的主要步骤示意图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,上述模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图或主要步骤示意图中的每个方框、以及框 图或主要步骤示意图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的***来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本发明实施例中所涉及到的模块可以通过软件的方式实现,也可以通过硬件的方式来实现。所描述的模块也可以设置在处理器中,例如,可以描述为:一种处理器包括对应关系定义模块41、展示等级确定模块42、界面窗口展示模块43。其中,这些模块的名称在某种情况下并不构成对该模块本身的限定,例如,对应关系定义模块41还可以被描述为“用于定义多个应用程序的窗口的展示等级与多个应用程序的图标上所施加的压力值的对应关系的模块”。
作为另一方面,本发明还提供了一种计算机可读介质,该计算机可读介质可以是上述实施例中描述的设备中所包含的;也可以是单独存在,而未装配入该设备中。上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被一个该设备执行时,使得该设备包括:定义多个应用程序的窗口的展示等级与多个应用程序的图标上所施加的压力值的对应关系;根据施加在图标上的压力值确定窗口的展示等级,展示等级包括展示尺寸;根据展示等级将窗口展示在界面中,其中,窗口有多个并具有优先级,且优先级最高的窗口为当前操作的应用程序的窗口,在进行该多个窗口展示时,若优先级最高的窗口与其他窗口相交,则根据优先级最高的窗口的展示尺寸对其他窗口进行压缩,以使该多个窗口在界面中无重叠展示。
根据本发明实施例的技术方案,定义多个应用程序的窗口的展示等级与多个应用程序的图标上所施加的压力值的对应关系,并根据施加在图标上的压力值确定窗口的展示等级,根据展示等级将窗口展示在界面中,其中,优先级最高的窗口为当前操作的应用程序的窗口,若优先级最高的窗口与其他窗口相交,则根据优先级最高的窗口的展示尺寸对其他窗口进行压缩,以使该多个窗口在界面中无重叠展示。 使用本发明实施例的技术方案,可将多个应用程序窗口完整地同时展示在同一界面上,简单地通过手指按压即可控制所启动的应用程序窗口的大小变化,并且根据不同的手指压力,可分级别展示相应大小的应用程序窗口,还可实现多个应用程序窗口之间相互挤压地变化大小,增加了窗口控制的便利性、趣味性和智能性。
上述具体实施方式,并不构成对本发明保护范围的限制。本领域技术人员应该明白的是,取决于设计要求和其他因素,可以发生各种各样的修改、组合、子组合和替代。任何在本发明的精神和原则之内所作的修改、等同替换和改进等,均应包含在本发明保护范围之内。

Claims (12)

  1. 一种在界面中控制多窗口展示的方法,其特征在于,包括:
    定义多个应用程序的窗口的展示等级与所述多个应用程序的图标上所施加的压力值的对应关系;
    根据施加在所述图标上的压力值确定所述窗口的展示等级,所述展示等级包括展示尺寸;
    根据所述展示等级将所述窗口展示在所述界面中,其中,所述窗口有多个并具有优先级,且所述优先级最高的窗口为当前操作的应用程序的窗口,在进行该多个所述窗口展示时,若所述优先级最高的窗口与其他窗口相交,则根据所述优先级最高的窗口的展示尺寸对所述其他窗口进行压缩,以使该多个所述窗口在所述界面中无重叠展示。
  2. 根据权利要求1所述的方法,其特征在于,
    通过判断所述优先级最高的窗口的顶点中与所述其他窗口距离最近的顶点和所述其他窗口的位置关系来判定所述优先级最高的窗口与所述其他窗口是否相交;
    并且,根据所述优先级最高的窗口的展示尺寸对所述其他窗口进行压缩的步骤,包括:根据所述优先级最高的窗口的展示尺寸调整所述其他窗口的展示尺寸,直至所述其他窗口与所述优先级最高的窗口不相交,其中,所述展示尺寸按照所述展示等级进行变化。
  3. 根据权利要求1所述的方法,其特征在于,根据所述展示等级将所述窗口展示在所述界面中的步骤之前,包括:
    确定所述应用程序的窗口以非全屏模式启动。
  4. 根据权利要求3所述的方法,其特征在于,确定所述应用程序窗口以非全屏模式启动的步骤,包括:
    将预设时间内施加在所述图标上的压力值与预设的压力阈值相比 较;
    如果所述压力值大于所述压力阈值,则所述应用程序窗口以非全屏模式启动。
  5. 根据权利要求1所述的方法,其特征在于,所述窗口的展示等级对应的窗口的展示尺寸为固定尺寸,或者所述展示尺寸随着展示等级的升高按比例增大。
  6. 一种在界面中控制多窗口展示的装置,其特征在于,包括:
    对应关系定义模块,用于定义多个应用程序的窗口的展示等级与所述多个应用程序的图标上所施加的压力值的对应关系;
    展示等级确定模块,用于根据施加在所述图标上的压力值确定所述窗口的展示等级,所述展示等级包括展示尺寸;
    界面窗口展示模块,用于根据所述展示等级将所述窗口展示在所述界面中,其中,所述窗口有多个并具有优先级,且所述优先级最高的窗口为当前操作的应用程序的窗口,在进行该多个所述窗口展示时,若所述优先级最高的窗口与其他窗口相交,则根据所述优先级最高的窗口的展示尺寸对所述其他窗口进行压缩,以使该多个所述窗口在所述界面中无重叠展示。
  7. 根据权利要求6所述的装置,其特征在于,所述界面窗口展示模块还用于:
    通过判断所述优先级最高的窗口的顶点中与所述其他窗口距离最近的顶点和所述其他窗口的位置关系来判定所述优先级最高的窗口与所述其他窗口是否相交;
    以及,用于:根据所述优先级最高的窗口的展示尺寸调整所述其他窗口的展示尺寸,直至所述其他窗口与所述优先级最高的窗口不相交,其中,所述展示尺寸按照所述展示等级进行变化。
  8. 根据权利要求6所述的装置,其特征在于,所述界面窗口展示 模块还用于:
    确定所述应用程序的窗口以非全屏模式启动。
  9. 根据权利要求8所述的装置,其特征在于,所述界面窗口展示模块还用于:
    将预设时间内施加在所述图标上的压力值与预设的压力阈值相比较;
    如果所述压力值大于所述压力阈值,则所述应用程序窗口以非全屏模式启动。
  10. 根据权利要求6所述的装置,其特征在于,所述窗口的展示等级对应的窗口的展示尺寸为固定尺寸,或者所述展示尺寸随着展示等级的升高按比例增大。
  11. 一种电子设备,其特征在于,包括:
    一个或多个处理器;
    存储器,用于存储一个或多个程序,
    当所述一个或多个程序被所述一个或多个处理器执行时,使得所述一个或多个处理器实现如权利要求1-5中任一所述的方法。
  12. 一种计算机可读介质,其上存储有计算机程序,其特征在于,所述程序被处理器执行时实现如权利要求1-5中任一所述的方法。
PCT/CN2017/082819 2016-05-05 2017-05-03 一种在界面中控制多窗口展示的方法和装置 WO2017190649A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US16/099,144 US10996786B2 (en) 2016-05-05 2017-05-03 Method and apparatus for controlling multi window display in interface
AU2017259344A AU2017259344B2 (en) 2016-05-05 2017-05-03 Method and apparatus for controlling multi-window display in interface

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610293049.X 2016-05-05
CN201610293049.XA CN105955639B (zh) 2016-05-05 2016-05-05 一种在界面中控制多窗口展示的方法和装置

Publications (1)

Publication Number Publication Date
WO2017190649A1 true WO2017190649A1 (zh) 2017-11-09

Family

ID=56915115

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/082819 WO2017190649A1 (zh) 2016-05-05 2017-05-03 一种在界面中控制多窗口展示的方法和装置

Country Status (4)

Country Link
US (1) US10996786B2 (zh)
CN (1) CN105955639B (zh)
AU (1) AU2017259344B2 (zh)
WO (1) WO2017190649A1 (zh)

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105955639B (zh) 2016-05-05 2020-07-31 北京京东尚科信息技术有限公司 一种在界面中控制多窗口展示的方法和装置
CN106484409A (zh) * 2016-09-28 2017-03-08 乐视控股(北京)有限公司 一种页面控件管理方法及装置
KR102057566B1 (ko) * 2016-11-24 2019-12-19 주식회사 하이딥 사용자 인터페이스 제공을 위한 터치 입력 방법 및 장치
CN106775420B (zh) * 2016-12-30 2021-02-09 华为机器有限公司 一种应用切换的方法、装置和图形用户界面
KR102629341B1 (ko) 2017-02-24 2024-01-25 삼성전자 주식회사 멀티태스킹을 위한 인터페이스 제공 방법 및 이를 구현하는 전자 장치
CN109426404A (zh) * 2017-08-23 2019-03-05 触信(厦门)智能科技有限公司 应用程序图标显示方法及装置、应用程序、终端
CN108614722B (zh) 2018-05-10 2020-09-08 上海瑾盛通信科技有限公司 应用程序预加载方法、装置、存储介质及终端
CN108829456A (zh) * 2018-05-29 2018-11-16 Oppo广东移动通信有限公司 应用程序预加载方法、装置、存储介质及终端
CN108804157A (zh) 2018-06-05 2018-11-13 Oppo广东移动通信有限公司 应用程序预加载方法、装置、存储介质及终端
CN109857324B (zh) * 2019-01-28 2021-04-20 网易(杭州)网络有限公司 应用程序界面显示的方法、装置、设备及存储介质
CN112395029A (zh) * 2019-08-16 2021-02-23 珠海市魅族科技有限公司 应用程序的界面显示方法、装置、电子设备和存储介质
CN111176764B (zh) * 2019-12-10 2022-04-05 华为技术有限公司 显示控制方法和终端设备
CN111427657A (zh) * 2020-04-23 2020-07-17 湖南快乐阳光互动娱乐传媒有限公司 应用窗口的显示方法及装置
CN111857630B (zh) * 2020-07-27 2023-06-16 平安科技(深圳)有限公司 地图多屏显示方法、装置、计算机设备和存储介质
CN112416502A (zh) * 2020-12-04 2021-02-26 深圳市哈哈丫丫互联网有限公司 一种全屏显示模式下按-号或右击菜单关闭网页的新技术
CN113703903A (zh) * 2021-09-10 2021-11-26 广州朗国电子科技股份有限公司 一种分屏显示方法及装置
CN113835577A (zh) * 2021-09-24 2021-12-24 维沃移动通信有限公司 显示方法、装置、电子设备及存储介质
CN114896019A (zh) * 2022-06-01 2022-08-12 上海嘉车信息科技有限公司 一种桌面窗口控制方法、装置、电子设备及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102968243A (zh) * 2012-09-29 2013-03-13 顾晶 用于在移动终端显示多个应用窗口的方法、装置与设备
CN104915169A (zh) * 2015-05-28 2015-09-16 努比亚技术有限公司 终端应用分屏显示方法及装置
CN105159528A (zh) * 2015-08-27 2015-12-16 广东欧珀移动通信有限公司 一种图片内容显示方法及移动终端
CN105955639A (zh) * 2016-05-05 2016-09-21 北京京东尚科信息技术有限公司 一种在界面中控制多窗口展示的方法和装置

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW347518B (en) * 1997-03-06 1998-12-11 Samsung Electronics Co Ltd Display screen split method of a computer system
WO2006017612A2 (en) * 2004-08-06 2006-02-16 Sensable Technologies, Inc. Virtual musical interface in a haptic virtual environment
JP4342578B2 (ja) * 2007-07-24 2009-10-14 株式会社エヌ・ティ・ティ・ドコモ 情報処理装置およびプログラム
US9372591B2 (en) * 2008-04-10 2016-06-21 Perceptive Pixel, Inc. Methods of interfacing with multi-input devices and multi-input display systems employing interfacing techniques
EP2332041B1 (en) * 2008-09-29 2016-01-06 Koninklijke Philips N.V. System and method for window resizing
US8612883B2 (en) * 2009-06-08 2013-12-17 Apple Inc. User interface for managing the display of multiple display regions
CN102109944A (zh) * 2009-12-23 2011-06-29 联想(北京)有限公司 一种窗口管理方法、装置及计算机
US9658732B2 (en) * 2010-10-19 2017-05-23 Apple Inc. Changing a virtual workspace based on user interaction with an application window in a user interface
KR101961860B1 (ko) * 2012-08-28 2019-03-25 삼성전자주식회사 사용자 단말 장치 및 그 제어 방법
US9916072B2 (en) * 2013-02-20 2018-03-13 Lg Electronics Inc. Application and notification window display management in a mobile terminal
US9542037B2 (en) * 2015-03-08 2017-01-10 Apple Inc. Device, method, and user interface for processing intensity of touch contacts
CN105183284B (zh) * 2015-08-27 2018-07-20 广东欧珀移动通信有限公司 一种查看短信的方法及用户终端

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102968243A (zh) * 2012-09-29 2013-03-13 顾晶 用于在移动终端显示多个应用窗口的方法、装置与设备
CN104915169A (zh) * 2015-05-28 2015-09-16 努比亚技术有限公司 终端应用分屏显示方法及装置
CN105159528A (zh) * 2015-08-27 2015-12-16 广东欧珀移动通信有限公司 一种图片内容显示方法及移动终端
CN105955639A (zh) * 2016-05-05 2016-09-21 北京京东尚科信息技术有限公司 一种在界面中控制多窗口展示的方法和装置

Also Published As

Publication number Publication date
AU2017259344A1 (en) 2018-11-22
CN105955639A (zh) 2016-09-21
US20190146625A1 (en) 2019-05-16
AU2017259344B2 (en) 2020-06-04
US10996786B2 (en) 2021-05-04
CN105955639B (zh) 2020-07-31

Similar Documents

Publication Publication Date Title
WO2017190649A1 (zh) 一种在界面中控制多窗口展示的方法和装置
US10552031B2 (en) Experience mode transition
US20210240309A1 (en) Method and apparatus for displaying application
US10579205B2 (en) Edge-based hooking gestures for invoking user interfaces
US20170293361A1 (en) Mobile terminal and method for controlling haptic feedback
US10318146B2 (en) Control area for a touch screen
US20150160849A1 (en) Bezel Gesture Techniques
KR102044826B1 (ko) 마우스 기능 제공 방법 및 이를 구현하는 단말
US9348501B2 (en) Touch modes
KR102199356B1 (ko) 멀티-터치 디스플레이 패널 및 이를 제어하는 방법
US20140285433A1 (en) Method for controlling portable device equipped with flexible display, and portable device using the method
KR20130052749A (ko) 터치 기반 사용자 인터페이스 장치 및 방법
KR20200014128A (ko) 전자 장치의 디스플레이 및 외부 디스플레이 전부를 이용하여 어플리케이션을 실행하기 위한 전자 장치 및 방법
EP2871572A1 (en) Contents display method and electronic device implementing the same
KR20150002312A (ko) 페이지 표시 방법 및 이를 구현하는 전자 장치
US20220374146A1 (en) Extensions to global keyboard shortcuts for computing devices having multiple display regions
KR102118091B1 (ko) 오브젝트에 대한 사전 실행 기능을 가지는 모바일 장치 및 그 제어방법
EP4300280A1 (en) Remote controller, display apparatus for setting keys of remote controller, and methods thereof
CN105760092A (zh) 一种用于触摸屏设备的应用控制方法、装置及电子设备
CN110874141A (zh) 图标移动的方法及终端设备
JP2023003565A (ja) 表示制御装置及びその制御方法
US20200310544A1 (en) Standing wave pattern for area of interest
KR20210123920A (ko) 에어 제스처에 의한 편집 기능을 제공하기 위한 전자 장치, 그 동작 방법 및 저장 매체
EP3659024A1 (en) Programmable multi-touch on-screen keyboard

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2017259344

Country of ref document: AU

Date of ref document: 20170503

Kind code of ref document: A

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

Ref document number: 17792475

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 14.02.2019)

122 Ep: pct application non-entry in european phase

Ref document number: 17792475

Country of ref document: EP

Kind code of ref document: A1