WO2022089040A1 - 一种窗口展示效果的控制方法及计算设备 - Google Patents

一种窗口展示效果的控制方法及计算设备 Download PDF

Info

Publication number
WO2022089040A1
WO2022089040A1 PCT/CN2021/117704 CN2021117704W WO2022089040A1 WO 2022089040 A1 WO2022089040 A1 WO 2022089040A1 CN 2021117704 W CN2021117704 W CN 2021117704W WO 2022089040 A1 WO2022089040 A1 WO 2022089040A1
Authority
WO
WIPO (PCT)
Prior art keywords
window
effect
display effect
computing device
switching
Prior art date
Application number
PCT/CN2021/117704
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 统信软件技术有限公司
Publication of WO2022089040A1 publication Critical patent/WO2022089040A1/zh

Links

Images

Classifications

    • 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

Definitions

  • the present invention relates to the technical field of computers and the Internet, and in particular, to a control method and computing device for a window display effect.
  • KWin is the window manager of KDE Plasma Desktop, which constitutes a part of KDE (Kool Desktop Environment, K desktop environment), which can be used to manage and control the windows on the desktop, and can also handle the special effect switching of windows.
  • KWin supports combined mode and OpenGL, and can use 3D effects to process windows, making the display effect of windows smoother and more natural.
  • the hardware support of the computing device is required, and the switching of window effects will cause a certain load to the computing device, which may affect the running of other programs in the computing device.
  • the present invention provides a control method for a window display effect, so as to try to solve or at least alleviate the above problems.
  • a method for controlling a window display effect is provided, which is executed on an operating system of a computing device on which a system desktop runs, and the system desktop is suitable for displaying one or more windows,
  • the method includes: obtaining the current display effect of one or more windows; determining whether to allow the window to switch the current display effect; if so, displaying a corresponding switching effect control on a window management interface;
  • the effect control switches the window display effect, and determines a new display effect based on the switch operation, so as to control the window to display with the new display effect.
  • the step of determining whether to allow the window to switch the current display effect includes: acquiring device information of the computing device; judging whether the computing device supports the computing device based on the device information The window switches the current display effect.
  • the method further includes the step of: judging whether the computing device supports the new display effect based on the device information , if the new display effect is supported, the control window will be displayed with the new display effect.
  • the new display effect includes a transparency effect and a minimization effect of the window
  • the step of judging whether the computing device supports the new display effect includes: judging computing Whether the device supports OpenGL blending to determine whether to support transparency effects; determine whether the computing device supports animation to determine whether to support minimize effects.
  • the device information includes hardware information and software information of the computing device.
  • the step of receiving a user's switching operation of the window display effect based on the switching effect control includes: in response to the user's opening operation of the switching effect control, in An effect setting module is displayed on the window management interface; new display effect information set by the user on the window in the effect setting module is acquired, and a new display effect is determined based on the new display effect information.
  • displaying the effect setting module on the window management interface includes: displaying one or more effect setting items on the window management interface;
  • the display effect information includes: receiving new display effect information set by the user in one or more effect setting items.
  • the display effect includes a transparency effect and a minimization effect of the window;
  • the effect setting items include a transparency effect setting item corresponding to the transparency effect, a Minimize effect setting item corresponding to the minimize effect.
  • the step of determining a new display effect based on the switching operation includes: receiving transparency effect information set by the user in the transparency effect setting item, and based on the transparency effect information The transparency value is determined to determine the transparency effect of the window; the minimization effect information set by the user in the minimization effect setting item is received, and the minimization effect of the window is determined based on the minimization effect information.
  • the method before acquiring the current display effect of the window, includes the step of: receiving an operation of a user triggering a personalized button on the window management interface.
  • the operating system of the computing device includes: a window switching service, adapted to obtain the current display effect of one or more windows; and a window manager, adapted to to determine whether to allow the window to switch the current display effect; and to display the corresponding switch effect control on the window management interface when the current display effect is allowed to be switched, and to receive the user's switching operation of the window display effect based on the switch effect control , and a new display effect is determined based on the switching operation, so that the control window is displayed with the new display effect.
  • a computing device comprising: at least one processor; and a memory storing program instructions, wherein the program instructions are configured to be adapted to be executed by the at least one processor, the The program instructions include instructions for executing the control method of the window presentation effect as described above.
  • a readable storage medium storing program instructions, which when read and executed by a computing device, cause the computing device to perform the method as described above.
  • a method for controlling a window display effect Before receiving a user's switching request for a window display effect, it is determined whether the current computing device can support the window display effect. When the actual hardware configuration of the computing device And when the current load and computing power can support the window switching display effect, the user will be provided with the function of switching the window display effect, allowing the window to switch the current display effect. In this way, when the configuration, load and running capability of the computing device are not enough to support the switching window display effect, the effect of the window switching display effect on other processes is avoided, and the stable operation of each process in the computing device is ensured.
  • the computing device After determining the new display effect required by the user to switch, it is also determined whether the computing device can support switching the window to the new display effect based on the hardware configuration of the computing device and the current load and computing power. Only when the device information can support the new display effect will the window be allowed to switch to the new display effect. Therefore, when the effect switching of the window is performed, not only the stable operation of each process in the computing device can be ensured, but also the efficiency and rendering effect of the window switching display can be improved.
  • one or more display effects of the window can be controlled, and each type of display effect can be controlled and switched separately, so that the window can be presented on the system desktop based on a variety of display effects .
  • the window can show different states in each display effect. In this way, the display effect of the window is more abundant and diversified, which is beneficial to meet the demands of different users for the display of the window and improve the user experience.
  • FIG. 1 shows a schematic diagram of a computing device 100 according to one embodiment of the present invention.
  • FIG. 2 shows a flowchart of a method 200 for controlling a window display effect according to an embodiment of the present invention.
  • FIG. 1 shows a schematic diagram of a computing device 100 according to one embodiment of the present invention.
  • computing device 100 typically includes system memory 106 and one or more processors 104 .
  • the memory bus 108 may be used for communication between the processor 104 and the system memory 106 .
  • the processor 104 may be any type of process including, but not limited to, a microprocessor (UP), a microcontroller (UC), a digital information processor (DSP), or any combination thereof.
  • Processor 104 may include one or more levels of cache, such as L1 cache 110 and L2 cache 112 , processor core 114 , and registers 116 .
  • Exemplary processor cores 114 may include arithmetic logic units (ALUs), floating point units (FPUs), digital signal processing cores (DSP cores), or any combination thereof.
  • the exemplary memory controller 118 may be used with the processor 104 , or in some implementations, the memory controller 118 may be an internal part of the processor 104 .
  • system memory 106 may be any type of memory including, but not limited to, volatile memory (such as RAM), non-volatile memory (such as ROM, flash memory, etc.), or any combination thereof.
  • System memory 106 may include operating system 120 , one or more applications 122 , and program data 124 .
  • applications 122 may be arranged to execute instructions using program data 124 by one or more processors 104 on an operating system.
  • Computing device 100 may also include a storage interface bus 134 .
  • Storage interface bus 134 enables communication from storage devices 132 (eg, removable storage 136 and non-removable storage 138 ) to base configuration 102 via bus/interface controller 130 .
  • Operating system 120, applications 122, and at least a portion of data 124 may be stored on removable storage 136 and/or non-removable storage 138, and via the storage interface bus when computing device 100 is powered on or applications 122 are to be executed 134 is loaded into system memory 106 and executed by one or more processors 104 .
  • Computing device 100 may also include an interface bus 140 that facilitates communication from various interface devices (eg, output device 142 , peripheral interface 144 , and communication device 146 ) to base configuration 102 via bus/interface controller 130 .
  • Example output devices 142 include graphics processing unit 148 and audio processing unit 150 . They may be configured to facilitate communication via one or more A/V ports 152 with various external devices such as displays or speakers.
  • Example peripheral interfaces 144 may include serial interface controller 154 and parallel interface controller 156, which may be configured to facilitate communication via one or more I/O ports 158 and input devices such as keyboard, mouse, pen , voice input devices, touch input devices) or other peripherals (eg printers, scanners, etc.)
  • the example communication device 146 may include a network controller 160 that may be arranged to facilitate communication via one or more communication ports 164 with one or more other computing devices 162 over a network communication link.
  • a network communication link may be one example of a communication medium.
  • Communication media may typically embody computer readable instructions, data structures, program modules in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
  • a "modulated data signal" may be a signal in which one or more of its data sets or whose changes may be made in the signal in a manner that encodes information.
  • communication media may include wired media, such as wired or leased line networks, and various wireless media, such as acoustic, radio frequency (RF), microwave, infrared (IR), or other wireless media.
  • RF radio frequency
  • IR infrared
  • the term computer readable medium as used herein may include both storage media and communication media.
  • Computing device 100 may be implemented as a personal computer including a desktop computer and a notebook computer configuration.
  • computing device 100 may also be implemented as part of a small form factor portable (or mobile) electronic device such as a cellular telephone, digital camera, personal digital assistant (PDA), personal media player device, wireless web browsing device , personal headsets, application-specific devices, or hybrid devices that can include any of the above.
  • PDA personal digital assistant
  • It can even be implemented as a server, such as a file server, database server, application server, and WEB server. The embodiments of the present invention do not limit this.
  • the operating system 120 of the computing device 100 is configured to execute the control method 200 of the window display effect according to the present invention.
  • the operating system 120 of the computing device 100 includes a plurality of program instructions for executing the control method 200 of the window display effect according to the present invention.
  • the control method 200 of the window display effect of the present invention is implemented at the level of the operating system 120, and is suitable for controlling the window display effect of any application program.
  • FIG. 2 shows a flowchart of a method 200 for controlling a window display effect according to an embodiment of the present invention.
  • one or more application programs may run on the operating system 120, and a system desktop runs on the operating system of the computing device 100, and the application programs run on the operating system 120.
  • the windows of one or more application programs can be displayed on the system desktop.
  • the method 200 starts at step S210.
  • step S210 the current display effect of one or more windows presented by the system desktop is acquired.
  • step S220 it is determined whether to allow the window to switch the current display effect.
  • the current display effect of the acquisition window by the operating system is triggered by the user's operation on the client side.
  • the operating system includes a window switching service and a window manager.
  • a window management interface is correspondingly displayed on the system desktop, and the window management interface includes personalized buttons related to window effects.
  • the window switching service obtains the current display effect of one or more windows presented on the system desktop.
  • the operating system will receive the user's operation of triggering the personalized button on the window management interface.
  • the window switching service acquires the current display effect of one or more windows presented on the system desktop.
  • the window switching service will send the acquired current display effect of one or more windows to the window manager, and the window manager will determine whether to allow the window to switch the current display effect according to the current display effect of one or more windows.
  • the operating system of the present invention may be implemented as Linux, Unix, FreeBSD, and the system desktop may be implemented as KDE (Kool Desktop Environment, K desktop environment), but is not limited thereto.
  • the window switching service may be implemented as WMSwitcher, and the window manager may be implemented as KWin, but the present invention is not limited thereto.
  • the determination may be based on device information of the computing device.
  • the device information includes, for example, hardware information and software information of the computing device 100 .
  • the window manager first obtains the device information of the computing device 100, and then, based on the device information, determines whether the computing device 100 supports one or more currently presented windows to switch the current display effect, that is, determines the device information of the computing device 100 ( Hardware information, software information) can support the current window to switch the current display effect, so as to determine whether to allow the window to switch the current display effect.
  • the computing device 200 of the present invention may be implemented as computing devices with various configurations.
  • the configuration level of the computing device can be determined according to the hardware information of the computing device.
  • the software information includes, for example, the processes of various application programs currently running and the consumption and occupation of processors and memory by the current process. Therefore, the current load and computing capability of the computing device can be determined according to the software information.
  • the window manager determines that the configuration of the computing device is low according to the hardware information, and the configuration cannot support the window switching display effect, it will not allow the window to switch the current display effect, and will not display the corresponding switching effect on the window management interface. controls.
  • the window manager determines that the load of the computing device is high according to the software information, in order to avoid the switching effect affecting other processes, it will not allow the window to switch the current display effect, and will not display the corresponding switching effect control on the window management interface.
  • the computing device determines whether the computing device can support the window switching display effect based on the actual hardware configuration of the computing device and the current load and computing capability.
  • the actual configuration of the computing device is high, the load is low, When the computing power is strong and the window switching display effect can be supported, the function of switching the window display effect will be provided for the user, allowing the window switching display effect.
  • the configuration, load and running capability of the computing device are insufficient to support the switching window display effect, the effect on other processes caused by the window switching display effect is avoided, and the stable operation of each process in the computing device is ensured.
  • step S230 if the window manager determines that the window is allowed to switch the current display effect, a corresponding switch effect control is displayed on the window management interface. In this way, it also means that the user can switch the window display effect based on the switching effect control.
  • step S240 the window manager receives the user's switching operation of the window display effect based on the switching effect control, and determines a new display effect based on the switching operation, so as to control the window to display with the new display effect.
  • the process for the window manager to receive the user's switching operation of the window display effect based on the switching effect control is as follows:
  • the switching effect control is opened, and a corresponding effect setting module is displayed on the window management interface. In this way, the user can set new display effect information for the window in the effect setting module.
  • the new display effect information set by the user on the window in the effect setting module is acquired, and the new display effect is determined based on the new display effect information, so that the window can be controlled to display based on the new display effect.
  • the window display effect that the method 200 of the present invention is adapted to control may include one or more types of display effects. That is to say, when controlling the display effect of the window, the present invention can control and switch respectively for each type of display effect, so that the window can be presented on the system desktop based on a variety of display effects.
  • the display effect of the window provided by the present invention includes the transparency effect and the minimization effect of the window, but is not limited thereto.
  • the transparency effect may correspond to a transparency value interval
  • the minimization effect may be implemented as various animation effects.
  • the current display effect of the window and the switched new display effect may include the transparency effect and/or the minimization effect of the window.
  • the type of the current display effect it is not limited to the type of the current display effect, and the type of the new display effect to be switched may include the current display effect or the currently undisplayed effect. For example, even if the current presentation effect only includes the transparency effect, the new presentation effect based on the user's switching operation, which is required to switch, may include the transparency effect and/or the minimization effect.
  • step S240 after the new display effect is determined based on the user's switching operation, the window manager further determines, based on the device information, whether the computing device supports the new display effect, and if it supports the new display effect, then The control window is displayed with a new display effect. On the contrary, if the new display effect is not supported, the current display effect of the window will not be switched.
  • the new presentation effects include window transparency effects and minimization effects.
  • the transparency effect of the window can be implemented based on OpenGL blending, and the minimized effect of the window can be implemented based on animation.
  • OpenGL mixing for example, whether the hardware information, current load and computing capability of the computing device support OpenGL mixing
  • Effect if OpenGL mixing is supported, it is determined that the transparency effect is supported, so that the window can be controlled to display with this transparency effect; if OpenGL mixing is not supported, the window will not be switched to this transparency effect.
  • the window By judging whether the computing device supports animation (for example, judging whether the hardware information, current load and computing capability of the computing device support animation), it is determined whether the minimization effect is supported, and if animation is supported, the window can be controlled to display with the minimization effect; If animation is not supported, the window will not be switched to this minimized effect.
  • animation for example, judging whether the hardware information, current load and computing capability of the computing device support animation
  • the computing device after determining the new display effect required by the user to switch, it is also determined whether the computing device can support switching the window to the new display based on the hardware configuration of the computing device and the current load and computing capability. effect, when the device information of the computing device can support the new display effect, the window will be allowed to switch to the new display effect. Therefore, when the effect switching of the window is performed, not only the stable operation of each process in the computing device can be ensured, but also the efficiency and rendering effect of the window switching display can be improved.
  • the window-based display effect may include one or more types of display effects
  • the effect setting module may include one or more effect setting items, and each effect setting item may correspond to a display effect.
  • displaying the effect setting module on the window management interface can be implemented as displaying one or more effect setting items on the window management interface.
  • each effect setting item a variety of display effect information can be set for a corresponding type of display effect.
  • transparency effect information can be set based on a numerical range, and minimization information can be selected based on multiple animation options.
  • minimization information can be selected based on multiple animation options.
  • the window manager of the operating system 120 may send the configuration information of one or more effect setting items to the window management interface, so that the window management One or more effect setting items are displayed on the interface.
  • the user can set corresponding display effect information based on each effect setting item. Based on this, what actually acquires the new display effect information set by the user on the window is: after displaying one or more effect setting items on the window management interface, receiving the new display effect set by the user in one or more effect setting items information.
  • the effect setting items include a transparency effect setting item corresponding to a transparency effect, and a minimization effect setting item corresponding to a minimization effect.
  • the transparency effect information of the window can be set based on the transparency effect setting item, so that the window can display the corresponding transparency effect.
  • Based on the minimization effect setting item you can set the minimization effect information of the window, so that the window can display the corresponding minimization effect.
  • the present invention is not limited to the types of display effects and corresponding effect setting items listed above, and the specific display effect types can be set by those skilled in the art according to actual conditions.
  • the window manager of the operating system receives a user's switching operation on the window display effect based on the switching effect control, and determining a new display effect based on the user's switching operation may include: receiving the transparency set by the user in the transparency effect setting item Effect information: Determine the transparency value based on the transparency effect information to determine the transparency effect of the window; receive the minimization effect information set by the user in the minimization effect setting item, and determine the minimization effect of the window based on the minimization effect information.
  • the transparency effect setting item includes a slidable transparency adjustment control, and the user can set and adjust the transparency effect information by sliding the transparency adjustment control, so that the window management interface sends corresponding transparency effect information to the window manager.
  • the various techniques described herein can be implemented in conjunction with hardware or software, or a combination thereof.
  • the method and apparatus of the present invention may take the form of an embedded tangible medium, such as a removable hard disk, a USB stick, a floppy disk, a CD-ROM, or any other machine-readable storage medium.
  • program code ie, instructions
  • the machine becomes an apparatus for practicing the invention.
  • the computing device typically includes a processor, a storage medium readable by the processor (including volatile and nonvolatile memory and/or storage elements), at least one input device, and at least one output device.
  • the memory is configured to store program codes; the processor is configured to execute the multilingual garbage text identification method of the present invention according to the instructions in the program codes stored in the memory.
  • readable media include readable storage media and communication media.
  • Readable storage media store information such as computer readable instructions, data structures, program modules or other data.
  • Communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. Combinations of any of the above are also included within the scope of readable media.
  • modules or units or components of the apparatus in the examples disclosed herein may be arranged in the apparatus as described in this embodiment, or alternatively may be positioned differently from the apparatus in this example in one or more devices.
  • the modules in the preceding examples may be combined into one module or further divided into sub-modules.
  • modules in the device in the embodiment can be adaptively changed and arranged in one or more devices different from the embodiment.
  • the modules or units or components in the embodiments may be combined into one module or unit or component, and further they may be divided into multiple sub-modules or sub-units or sub-assemblies. All features disclosed in this specification (including accompanying claims, abstract and drawings) and any method so disclosed may be employed in any combination, unless at least some of such features and/or procedures or elements are mutually exclusive. All processes or units of equipment are combined.
  • Each feature disclosed in this specification may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.

Landscapes

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

Abstract

一种窗口展示效果的控制方法,在计算设备的操作系统执行,所述操作系统上运行有系统桌面,所述系统桌面上适于展示一个或多个窗口,所述方法包括:获取一个或多个窗口的当前展示效果(S210);确定是否允许所述窗口切换当前展示效果(S220);如果允许,则在窗口管理界面上显示相应的切换效果控件(S230);接收用户基于所述切换效果控件对窗口展示效果的切换操作,基于所述切换操作确定新的展示效果,以便控制窗口以新的展示效果进行展示(S240)。该窗口展示效果的控制方法,在确保计算设备配置支持的前提下,实现对窗口切换展示效果,有利于提高窗口切换展示的效率和呈现效果。

Description

一种窗口展示效果的控制方法及计算设备 技术领域
本发明涉及计算机及互联网技术领域,特别涉及一种窗口展示效果的控制方法及计算设备。
背景技术
KWin是KDE Plasma Desktop的窗口管理器,构成KDE(Kool Desktop Environment,K桌面环境)的一部分,可用于管理和控制桌面上的窗口,还可以处理窗口的特效切换。KWin支持组合模式和OpenGL,可以使用3D效果来处理窗口,使得窗口的展示效果更平滑和更自然。在基于KWin对窗口特效进行切换时,需要计算设备的硬件支持,并且,在切换窗口特效时会对计算设备造成一定的负载,从而可能会影响计算设备中其它程序的运行。
现有技术中,在基于KWin对窗口特效进行切换时,并不会考虑当前的计算设备的配置和运行状态能够支持切换窗口特效,也不会考虑所要切换的效果在当前计算设备上能否实现。这样,在任何使用场景下均为用户提供切换窗口特效的功能,低配置计算设备的用户通常会面对一套无法使用的特效切换功能。并且,在计算设备处于高负载的情况下,如果为用户提供特效切换功能,在进行窗口特效切换时,可能会造成计算设备超负载运行,容易导致各个进程的卡顿、意外退出、甚至是死机等状况。
为此,需要一种窗口展示效果的控制方法,来解决上述技术方案中存在的问题。
发明内容
为此,本发明提供一种窗口展示效果的控制方法,以力图解决或者至少缓解上面存在的问题。
根据本发明的一个方面,提供了一种窗口展示效果的控制方法,在计算 设备的操作系统执行,所述操作系统上运行有系统桌面,所述系统桌面上适于展示一个或多个窗口,所述方法包括:获取一个或多个窗口的当前展示效果;确定是否允许所述窗口切换当前展示效果;如果允许,则在窗口管理界面上显示相应的切换效果控件;以及接收用户基于所述切换效果控件对窗口展示效果的切换操作,基于所述切换操作确定新的展示效果,以便控制窗口以新的展示效果进行展示。
可选地,在根据本发明的窗口展示效果的控制方法中,确定是否允许窗口切换当前展示效果的步骤包括:获取所述计算设备的设备信息;基于所述设备信息判断计算设备是否支持所述窗口切换当前展示效果。
可选地,在根据本发明的窗口展示效果的控制方法中,在基于所述切换操作确定新的展示效果之后,还包括步骤:基于所述设备信息判断计算设备是否支持所述新的展示效果,如果支持新的展示效果,则控制窗口以新的展示效果进行展示。
可选地,在根据本发明的窗口展示效果的控制方法中,所述新的展示效果包括窗口的透明度效果、最小化效果,判断计算设备是否支持所述新的展示效果的步骤包括:判断计算设备是否支持OpenGL混合,以确定是否支持透明度效果;判断计算设备是否支持动画,以确定是否支持最小化效果。
可选地,在根据本发明的窗口展示效果的控制方法中,所述设备信息包括计算设备的硬件信息和软件信息。
可选地,在根据本发明的窗口展示效果的控制方法中,接收用户基于所述切换效果控件对窗口展示效果的切换操作的步骤包括:响应于用户对所述切换效果控件的开启操作,在窗口管理界面上显示效果设置模块;获取用户在效果设置模块对窗口设置的新的展示效果信息,基于所述新的展示效果信息确定新的展示效果。
可选地,在根据本发明的窗口展示效果的控制方法中,在窗口管理界面上显示效果设置模块包括:在窗口管理界面上显示一个或多个效果设置项;获取用户对窗口设置的新的展示效果信息包括:接收用户在一个或多个效果设置项设置的新的展示效果信息。
可选地,在根据本发明的窗口展示效果的控制方法中,所述展示效果包 括窗口的透明度效果和最小化效果;所述效果设置项包括与透明度效果相对应的透明度效果设置项、与最小化效果相对应的最小化效果设置项。
可选地,在根据本发明的窗口展示效果的控制方法中,基于所述切换操作确定新的展示效果的步骤包括:接收用户在所述透明度效果设置项设置的透明度效果信息,基于透明度效果信息确定透明度数值,以确定窗口的透明度效果;接收用户在所述最小化效果设置项设置的最小化效果信息,基于最小化效果信息确定窗口的最小化效果。
可选地,在根据本发明的窗口展示效果的控制方法中,在获取窗口的当前展示效果之前,包括步骤:接收用户在窗口管理界面触发个性化按钮的操作。
可选地,在根据本发明的窗口展示效果的控制方法中,所述计算设备的操作系统中包括:窗口切换服务,适于获取一个或多个窗口的当前展示效果;以及窗口管理器,适于确定是否允许所述窗口切换当前展示效果;并适于在允许切换当前展示效果时,在窗口管理界面上显示相应的切换效果控件,接收用户基于所述切换效果控件对窗口展示效果的切换操作,基于所述切换操作确定新的展示效果,以便控制窗口以新的展示效果进行展示。
根据本发明的一个方面,提供了一种计算设备,包括:至少一个处理器;以及存储器,存储有程序指令,其中,所述程序指令被配置为适于由所述至少一个处理器执行,所述程序指令包括用于执行如上所述的窗口展示效果的控制方法的指令。
根据本发明的一个方面,提供了一种存储有程序指令的可读存储介质,当所述程序指令被计算设备读取并执行时,使得所述计算设备执行如上所述方法。
根据本发明的技术方案,提供了一种窗口展示效果的控制方法,在接收用户对窗口展示效果的切换请求之前,先确定当前计算设备能否支持窗口切换展示效果,当计算设备的实际硬件配置以及当前的负载和运算能力能够支持窗口切换展示效果时,才会为用户提供切换窗口展示效果的功能,允许窗口切换当前展示效果。这样,避免了在计算设备的配置、负载和运行能力不足以支持切换窗口展示效果时,对窗口切换展示效果而造成对其他进程的影 响,确保计算设备中各个进程的稳定运行。
进一步地,在确定用户要求切换的新的展示效果后,还基于计算设备的硬件配置以及当前的负载和运算能力,来确定计算设备是否能够支持将窗口切换到新的展示效果,当计算设备的设备信息能够支持新的展示效果时,才会允许窗口切换到新的展示效果。从而,在对窗口进行效果切换时,不仅能确保计算设备中各个进程能够稳定运行,而且有利于提高窗口切换展示的效率和呈现效果。
此外,根据本发明的技术方案,可以控制窗口的一种或者多种展示效果,并且,可以针对每个种类的展示效果分别进行控制和切换,使窗口可以基于多种展示效果呈现在系统桌面上。通过为每种展示效果设置不同的展示效果信息,可以使窗口在每种展示效果中呈现出不同的状态。这样,使窗口的展示效果更加丰富和多样化,有利于满足不同用户对窗口展示的需求,提高用户体验。
附图说明
为了实现上述以及相关目的,本文结合下面的描述和附图来描述某些说明性方面,这些方面指示了可以实践本文所公开的原理的各种方式,并且所有方面及其等效方面旨在落入所要求保护的主题的范围内。通过结合附图阅读下面的详细描述,本公开的上述以及其它目的、特征和优势将变得更加明显。遍及本公开,相同的附图标记通常指代相同的部件或元素。
图1示出了根据本发明一个实施例的计算设备100的示意图;以及
图2示出了根据本发明一个实施例的窗口展示效果的控制方法200的流程图。
具体实施方式
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。
图1示出了根据本发明一个实施例的计算设备100的示意图。
如图1所示,在基本的配置102中,计算设备100典型地包括系统存储器106和一个或者多个处理器104。存储器总线108可以用于在处理器104和系统存储器106之间的通信。
取决于期望的配置,处理器104可以是任何类型的处理,包括但不限于:微处理器(UP)、微控制器(UC)、数字信息处理器(DSP)或者它们的任何组合。处理器104可以包括诸如一级高速缓存110和二级高速缓存112之类的一个或者多个级别的高速缓存、处理器核心114和寄存器116。示例的处理器核心114可以包括运算逻辑单元(ALU)、浮点数单元(FPU)、数字信号处理核心(DSP核心)或者它们的任何组合。示例的存储器控制器118可以与处理器104一起使用,或者在一些实现中,存储器控制器118可以是处理器104的一个内部部分。
取决于期望的配置,系统存储器106可以是任意类型的存储器,包括但不限于:易失性存储器(诸如RAM)、非易失性存储器(诸如ROM、闪存等)或者它们的任何组合。系统存储器106可以包括操作系统120、一个或者多个应用122以及程序数据124。在一些实施方式中,应用122可以布置为在操作系统上由一个或多个处理器104利用程序数据124执行指令。
计算设备100还可以包括储存接口总线134。储存接口总线134实现了从储存设备132(例如,可移除储存器136和不可移除储存器138)经由总线/接口控制器130到基本配置102的通信。操作系统120、应用122以及数据124的至少一部分可以存储在可移除储存器136和/或不可移除储存器138上,并且在计算设备100上电或者要执行应用122时,经由储存接口总线134而加载到系统存储器106中,并由一个或者多个处理器104来执行。
计算设备100还可以包括有助于从各种接口设备(例如,输出设备142、外设接口144和通信设备146)到基本配置102经由总线/接口控制器130的通信的接口总线140。示例的输出设备142包括图形处理单元148和音频处理单元150。它们可以被配置为有助于经由一个或者多个A/V端口152与诸如显示器或者扬声器之类的各种外部设备进行通信。示例外设接口144可以包括串行接口控制器154和并行接口控制器156,它们可以被配置为有助于经由一个或者多个I/O端口158和诸如输入设备(例如,键盘、鼠标、笔、语音输入设备、触摸输入设备)或者其他外设(例如打印机、扫描仪等)之类的外 部设备进行通信。示例的通信设备146可以包括网络控制器160,其可以被布置为便于经由一个或者多个通信端口164与一个或者多个其他计算设备162通过网络通信链路的通信。
网络通信链路可以是通信介质的一个示例。通信介质通常可以体现为在诸如载波或者其他传输机制之类的调制数据信号中的计算机可读指令、数据结构、程序模块,并且可以包括任何信息递送介质。“调制数据信号”可以是这样的信号,它的数据集中的一个或者多个或者它的改变可以在信号中以编码信息的方式进行。作为非限制性的示例,通信介质可以包括诸如有线网络或者专线网络之类的有线介质,以及诸如声音、射频(RF)、微波、红外(IR)或者其它无线介质在内的各种无线介质。这里使用的术语计算机可读介质可以包括存储介质和通信介质二者。
计算设备100可以实现为包括桌面计算机和笔记本计算机配置的个人计算机。当然,计算设备100也可以实现为小尺寸便携(或者移动)电子设备的一部分,这些电子设备可以是诸如蜂窝电话、数码照相机、个人数字助理(PDA)、个人媒体播放器设备、无线网络浏览设备、个人头戴设备、应用专用设备、或者可以包括上面任何功能的混合设备。甚至可以被实现为服务器,如文件服务器、数据库服务器、应用程序服务器和WEB服务器等。本发明的实施例对此均不做限制。
在根据本发明的实施例中,计算设备100的操作系统120被配置为执行根据本发明的窗口展示效果的控制方法200。其中,计算设备100的操作系统120上包含执行根据本发明的窗口展示效果的控制方法200的多条程序指令。应当指出,本发明的窗口展示效果的控制方法200在操作系统120层面实现,适用于对任何应用程序的窗口展示效果进行控制。
图2示出了根据本发明一个实施例的窗口展示效果的控制方法200的流程图。需要说明的是,计算设备100中驻留有多个应用程序,一个或多个应用程序可以运行在操作系统120之上,并且,计算设备100的操作系统上运行有系统桌面,应用程序在运行时可以在系统桌面上呈现相应的窗口,这样,系统桌面上可以呈现一个或多个应用程序的窗口。
如图2所示,方法200始于步骤S210。
在步骤S210中,获取系统桌面呈现的一个或多个窗口的当前展示效果。
随后,在步骤S220中,确定是否允许窗口切换当前展示效果。
根据一个实施例,操作系统获取窗口的当前展示效果是由用户在客户端的操作触发的。具体而言,操作系统中包括窗口切换服务和窗口管理器,当启动窗口切换服务时,会相应地在系统桌面上呈现窗口管理界面,窗口管理界面中包括与窗口效果相关的个性化按钮。当用户触发窗口管理界面上的个性化按钮时,响应于用户的操作,窗口切换服务会获取在系统桌面上呈现的一个或多个窗口的当前展示效果。换言之,在获取窗口的当前展示效果之前,操作系统会接收用户在窗口管理界面触发个性化按钮的操作。在接收到用户触发个性化按钮的操作时,由窗口切换服务获取在系统桌面呈现的一个或多个窗口的当前展示效果。
进而,窗口切换服务会将获取的一个或多个窗口的当前展示效果发送给窗口管理器,由窗口管理器根据一个或多个窗口的当前展示效果、来确定是否允许窗口切换当前展示效果。
根据一种实施方式,本发明的操作系统可以实现为Linux、Unix、FreeBSD,系统桌面可以实现为KDE(Kool Desktop Environment,K桌面环境),但不限于此。在一种实施方式中,窗口切换服务可以实现为WMSwitcher,窗口管理器可以实现为KWin,但本发明不限于此。
根据一个实施例,在确定是否允许窗口切换当前展示效果时,可以基于计算设备的设备信息来判断。设备信息例如包括计算设备100的硬件信息和软件信息。具体地,窗口管理器首先获取计算设备100的设备信息,进而,基于设备信息来判断计算设备100是否支持当前呈现的一个或多个窗口切换当前展示效果,也就是判断计算设备100的设备信息(硬件信息、软件信息)能否支持当前窗口切换当前展示效果,从而确定是否允许窗口切换当前展示效果。
需要说明的是,本发明的计算设备200可以实现为多种不同配置的计算设备。根据计算设备的硬件信息可以确定计算设备配置的高低。软件信息例如包括当前运行的各种应用程序的进程以及当前进程对处理器、内存的消耗和占用情况,故,根据软件信息可以确定计算设备当前的负载和运算能力。
当窗口管理器根据硬件信息确定计算设备的配置较低,并且该配置不能够支持窗口切换展示效果时,便不会允许窗口切换当前展示效果,也不会在窗口管理界面上显示相应的切换效果控件。当窗口管理器根据软件信息确定计算设备的负载较高时,为了避免切换特效影响其他进程,便不会允许窗口切换当前展示效果,也不会在窗口管理界面上显示相应的切换效果控件。
这样,根据本发明的技术方案,是基于计算设备的实际硬件配置以及当前的负载和运算能力,来确定计算设备是否能够支持窗口切换展示效果,当计算设备的实际配置较高、负载较低、运算能力较强时,能够支持窗口切换展示效果时,才会为用户提供切换窗口展示效果的功能,允许窗口切换展示效果。这样,避免了在计算设备的配置、负载和运行能力不足以支持切换窗口展示效果时,对窗口切换展示效果而造成对其他进程的影响,确保计算设备中各个进程的稳定运行。
随后,在步骤S230中,如果窗口管理器确定允许窗口切换当前展示效果,则在窗口管理界面上显示相应的切换效果控件。这样,也就表示用户可以基于切换效果控件来对窗口展示效果进行切换操作。
最后,在步骤S240中,窗口管理器接收用户基于切换效果控件对窗口展示效果的切换操作,基于切换操作确定新的展示效果,以便控制窗口以新的展示效果进行展示。
根据一个实施例,窗口管理器接收用户基于切换效果控件对窗口展示效果的切换操作的过程具体如下:
首先,响应于用户对切换效果控件的开启操作,开启切换效果控件,并在窗口管理界面上显示相应的效果设置模块。这样,用户可以在效果设置模块对窗口设置新的展示效果信息。
进而,获取用户在效果设置模块对窗口设置的新的展示效果信息,基于新的展示效果信息来确定新的展示效果,从而可以控制窗口基于新的展示效果进行展示。
在根据本发明的实施例中,本发明的方法200适于控制的窗口展示效果可以包括一种或者多种类型的展示效果。也就是说,本发明在控制窗口的展示效果时,可以针对每个种类的展示效果分别进行控制和切换,使窗口可以 基于多种展示效果呈现在系统桌面上。
根据一个实施例,本发明提供的窗口的展示效果包括窗口的透明度效果、最小化效果,但不限于此。这里,透明度效果可以对应一个透明度数值区间,最小化效果可以实现为多种动画效果。应当指出,窗口当前的展示效果、所切换的新的展示效果均可以包括窗口的透明度效果和/或最小化效果。还应当指出,在控制切换窗口的展示效果时,并不局限于当前的展示效果的种类,所切换的新的展示效果的种类可以包括当前的展示效果,也可以包括当前未展示的效果。例如,即便当前展示效果仅包括透明度效果,在基于用户的切换操作、所要求切换的新的展示效果可以包括透明度效果和/或最小化效果。
根据一个实施例,在步骤S240中,在基于用户的切换操作确定新的展示效果之后,窗口管理器还会基于设备信息来判断计算设备是否支持新的展示效果,如果支持新的展示效果,则控制窗口以新的展示效果进行展示。反之,如果不支持新的展示效果,则不对窗口的当前展示效果进行切换。
在一种实施方式中,新的展示效果包括窗口的透明度效果和最小化效果。窗口的透明度效果可以基于OpenGL混合来实现,窗口的最小化效果可以基于动画来实现。这样,在基于设备信息判断计算设备是否支持新的展示效果时,通过判断计算设备是否支持OpenGL混合(例如判断计算设备的硬件信息、当前负载和运算能力是否支持OpenGL混合),来确定是否支持透明度效果,如果支持OpenGL混合,则确定支持透明度效果,从而可以控制窗口以该透明度效果进行展示;如果不支持OpenGL混合,则不会将窗口切换到该透明度效果。通过判断计算设备是否支持动画(例如判断计算设备的硬件信息、当前负载和运算能力是否支持动画),来确定是否支持最小化效果,如果支持动画,则可以控制窗口以该最小化效果进行展示;如果不支持动画,则不会将窗口切换到该最小化效果。
可见,根据本发明的技术方案,在确定用户要求切换的新的展示效果后,还基于计算设备的硬件配置以及当前的负载和运算能力,来确定计算设备是否能够支持将窗口切换到新的展示效果,当计算设备的设备信息能够支持新的展示效果时,才会允许窗口切换到新的展示效果。从而,在对窗口进行效果切换时,不仅能确保计算设备中各个进程能够稳定运行,而且有利于提高窗口切换展示的效率和呈现效果。
根据一个实施例,基于窗口展示效果可以包括一种或者多种类型的展示效果,效果设置模块可以包括一个或者多个效果设置项,每个效果设置项可以对应一种展示效果。这样,在窗口管理界面上显示效果设置模块可以实现为在窗口管理界面上显示一个或多个效果设置项。
需要说明的是,基于每个效果设置项可以对相应类型的展示效果设置多种展示效果信息,例如,可以基于一个数值区间来设置透明度效果信息,基于多种动画选项来选择最小化信息。通过为每种展示效果设置不同的展示效果信息,可以使窗口在每种展示效果中呈现出不同的状态。这样,使窗口的展示效果更加丰富和多样化,有利于满足不同用户对窗口展示的需求,提高用户体验。
具体而言,在响应于用户对切换效果控件的开启操作开启切换效果控件时,操作系统120的窗口管理器可以将一个或多个效果设置项的配置信息发送至窗口管理界面,以便在窗口管理界面上显示一个或多个效果设置项。在窗口管理界面上显示一个或多个效果设置项后,用户便可以基于每个效果设置项来设置相应的展示效果信息。基于此,获取用户对窗口设置的新的展示效果信息的实际上是:在窗口管理界面上显示一个或多个效果设置项后,接收用户在一个或多个效果设置项设置的新的展示效果信息。
根据一个实施例,效果设置项包括与透明度效果相对应的透明度效果设置项、与最小化效果相对应的最小化效果设置项。基于透明度效果设置项可以设置窗口的透明度效果信息,以使窗口展示相应的透明度效果。基于最小化效果设置项可以设置窗口的最小化效果信息,以使窗口展示相应的最小化效果。应当指出,本发明不限于上述列举的展示效果、相应的效果设置项的种类,具体展示效果类型可以由本领域技术人员根据实际情况自行设置。
在一种实施方式中,操作系统的窗口管理器接收用户基于切换效果控件对窗口展示效果的切换操作、基于用户的切换操作确定新的展示效果可以包括:接收用户在透明度效果设置项设置的透明度效果信息,基于透明度效果信息确定透明度数值,以确定窗口的透明度效果;接收用户在最小化效果设置项设置的最小化效果信息,基于最小化效果信息确定窗口的最小化效果。
在一种实施方式中,透明度效果设置项包括可滑动的透明度调节控件, 用户可以通过滑动透明度调节控件来设置、调节透明度效果信息,以便窗口管理界面向窗口管理器发送相应的透明度效果信息。
这里描述的各种技术可结合硬件或软件,或者它们的组合一起实现。从而,本发明的方法和设备,或者本发明的方法和设备的某些方面或部分可采取嵌入有形媒介,例如可移动硬盘、U盘、软盘、CD-ROM或者其它任意机器可读的存储介质中的程序代码(即指令)的形式,其中当程序被载入诸如计算机之类的机器,并被所述机器执行时,所述机器变成实践本发明的设备。
在程序代码在可编程计算机上执行的情况下,计算设备一般包括处理器、处理器可读的存储介质(包括易失性和非易失性存储器和/或存储元件),至少一个输入装置,和至少一个输出装置。其中,存储器被配置用于存储程序代码;处理器被配置用于根据该存储器中存储的所述程序代码中的指令,执行本发明的多语言垃圾文本的识别方法。
以示例而非限制的方式,可读介质包括可读存储介质和通信介质。可读存储介质存储诸如计算机可读指令、数据结构、程序模块或其它数据等信息。通信介质一般以诸如载波或其它传输机制等已调制数据信号来体现计算机可读指令、数据结构、程序模块或其它数据,并且包括任何信息传递介质。以上的任一种的组合也包括在可读介质的范围之内。
在此处所提供的说明书中,算法和显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与本发明的示例一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本发明也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下被实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。
类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开 的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。
本领域那些技术人员应当理解在本文所公开的示例中的设备的模块或单元或组件可以布置在如该实施例中所描述的设备中,或者可替换地可以定位在与该示例中的设备不同的一个或多个设备中。前述示例中的模块可以组合为一个模块或者此外可以分成多个子模块。
本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。
此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。
此外,所述实施例中的一些在此被描述成可以由计算机系统的处理器或者由执行所述功能的其它装置实施的方法或方法元素的组合。因此,具有用于实施所述方法或方法元素的必要指令的处理器形成用于实施该方法或方法元素的装置。此外,装置实施例的在此所述的元素是如下装置的例子:该装置用于实施由为了实施该发明的目的的元素所执行的功能。
如在此所使用的那样,除非另行规定,使用序数词“第一”、“第二”、 “第三”等等来描述普通对象仅仅表示涉及类似对象的不同实例,并且并不意图暗示这样被描述的对象必须具有时间上、空间上、排序方面或者以任意其它方式的给定顺序。
尽管根据有限数量的实施例描述了本发明,但是受益于上面的描述,本技术领域内的技术人员明白,在由此描述的本发明的范围内,可以设想其它实施例。此外,应当注意,本说明书中使用的语言主要是为了可读性和教导的目的而选择的,而不是为了解释或者限定本发明的主题而选择的。因此,在不偏离所附权利要求书的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。对于本发明的范围,对本发明所做的公开是说明性的,而非限制性的,本发明的范围由所附权利要求书限定。

Claims (13)

  1. 一种窗口展示效果的控制方法,在计算设备的操作系统执行,所述操作系统上运行有系统桌面,所述系统桌面上适于展示一个或多个窗口,所述方法包括:
    获取一个或多个窗口的当前展示效果;
    确定是否允许所述窗口切换当前展示效果;
    如果允许,则在窗口管理界面上显示相应的切换效果控件;以及
    接收用户基于所述切换效果控件对窗口展示效果的切换操作,基于所述切换操作确定新的展示效果,以便控制窗口以新的展示效果进行展示。
  2. 如权利要求1所述的方法,其中,确定是否允许窗口切换当前展示效果的步骤包括:
    获取所述计算设备的设备信息;
    基于所述设备信息判断计算设备是否支持所述窗口切换当前展示效果。
  3. 如权利要求2所述的方法,其中,在基于所述切换操作确定新的展示效果之后,还包括步骤:
    基于所述设备信息判断计算设备是否支持所述新的展示效果,如果支持新的展示效果,则控制窗口以新的展示效果进行展示。
  4. 如权利要求3所述的方法,其中,所述新的展示效果包括窗口的透明度效果、最小化效果,判断计算设备是否支持所述新的展示效果的步骤包括:
    判断计算设备是否支持OpenGL混合,以确定是否支持透明度效果;
    判断计算设备是否支持动画,以确定是否支持最小化效果。
  5. 如权利要求2或3所述的方法,其中,所述设备信息包括计算设备的硬件信息和软件信息,基于所述设备信息判断计算设备是否支持所述窗口切换当前展示效果的步骤包括:
    根据所述硬件信息确定计算设备的配置,根据所述软件信息确定计算设备当前的负载和运算能力;
    根据计算设备的配置以及当前的负载和运算能力,来确定计算设备是否 支持所述窗口切换当前展示效果。
  6. 如权利要求1-3任一项所述的方法,其中,接收用户基于所述切换效果控件对窗口展示效果的切换操作的步骤包括:
    响应于用户对所述切换效果控件的开启操作,在窗口管理界面上显示效果设置模块;
    获取用户在效果设置模块对窗口设置的新的展示效果信息,基于所述新的展示效果信息确定新的展示效果。
  7. 如权利要求6所述的方法,其中,
    在窗口管理界面上显示效果设置模块包括:在窗口管理界面上显示一个或多个效果设置项;
    获取用户对窗口设置的新的展示效果信息包括:接收用户在一个或多个效果设置项设置的新的展示效果信息。
  8. 如权利要求7所述的方法,其中,
    所述展示效果包括窗口的透明度效果和最小化效果;
    所述效果设置项包括与透明度效果相对应的透明度效果设置项、与最小化效果相对应的最小化效果设置项。
  9. 如权利要求8所述的方法,其中,基于所述切换操作确定新的展示效果的步骤包括:
    接收用户在所述透明度效果设置项设置的透明度效果信息,基于透明度效果信息确定透明度数值,以确定窗口的透明度效果;
    接收用户在所述最小化效果设置项设置的最小化效果信息,基于最小化效果信息确定窗口的最小化效果。
  10. 如权利要求1-3任一项所述的方法,其中,在获取窗口的当前展示效果之前,包括步骤:
    接收用户在窗口管理界面触发个性化按钮的操作。
  11. 如权利要求1-3任一项所述的方法,其中,所述计算设备的操作系统中包括:
    窗口切换服务,适于获取一个或多个窗口的当前展示效果;以及
    窗口管理器,适于确定是否允许所述窗口切换当前展示效果;并适于在允许切换当前展示效果时,在窗口管理界面上显示相应的切换效果控件,接收用户基于所述切换效果控件对窗口展示效果的切换操作,基于所述切换操作确定新的展示效果,以便控制窗口以新的展示效果进行展示。
  12. 一种计算设备,包括:
    至少一个处理器;以及
    存储器,存储有程序指令,其中,所述程序指令被配置为适于由所述至少一个处理器执行,所述程序指令包括用于执行如权利要求1-11中任一项所述的方法的指令。
  13. 一种存储有程序指令的可读存储介质,当所述程序指令被计算设备读取并执行时,使得所述计算设备执行如权利要求1-11中任一项所述方法。
PCT/CN2021/117704 2020-10-27 2021-09-10 一种窗口展示效果的控制方法及计算设备 WO2022089040A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011160368.6A CN112000417B (zh) 2020-10-27 2020-10-27 一种窗口展示效果的控制方法及计算设备
CN202011160368.6 2020-10-27

Publications (1)

Publication Number Publication Date
WO2022089040A1 true WO2022089040A1 (zh) 2022-05-05

Family

ID=73474467

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/117704 WO2022089040A1 (zh) 2020-10-27 2021-09-10 一种窗口展示效果的控制方法及计算设备

Country Status (2)

Country Link
CN (1) CN112000417B (zh)
WO (1) WO2022089040A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112000417B (zh) * 2020-10-27 2021-05-28 统信软件技术有限公司 一种窗口展示效果的控制方法及计算设备
CN112732385B (zh) * 2021-01-04 2023-12-15 山西统信软件技术有限公司 一种布局控件的方法,计算设备及存储介质
CN113127123B (zh) * 2021-04-19 2024-05-14 统信软件技术有限公司 一种窗口效果的生成方法及计算设备
CN112988103B (zh) * 2021-05-13 2021-08-20 统信软件技术有限公司 一种数据显示方法及计算设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101002252A (zh) * 2003-10-23 2007-07-18 微软公司 合成桌面窗口管理器
CN109710343A (zh) * 2017-10-25 2019-05-03 北京众纳鑫海网络技术有限公司 计算机桌面的窗口切换方法、装置、设备以及存储介质
CN110286819A (zh) * 2019-06-25 2019-09-27 武汉深之度科技有限公司 一种窗口管理方法及计算设备
CN112000417A (zh) * 2020-10-27 2020-11-27 统信软件技术有限公司 一种窗口展示效果的控制方法及计算设备

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105528240B (zh) * 2014-09-28 2018-12-28 福建星网视易信息系统有限公司 桌面环境实现装置及方法
CN108390850B (zh) * 2018-01-03 2020-10-02 阿里巴巴集团控股有限公司 数据处理方法、装置、电子设备和服务器
CN110096330B (zh) * 2019-05-09 2022-07-15 北京伏羲车联信息科技有限公司 界面切换方法、装置及电子设备
CN110780962B (zh) * 2019-10-15 2022-02-01 四川长虹电器股份有限公司 X窗口管理器中应用窗口标题栏和窗口控件显示的方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101002252A (zh) * 2003-10-23 2007-07-18 微软公司 合成桌面窗口管理器
CN109710343A (zh) * 2017-10-25 2019-05-03 北京众纳鑫海网络技术有限公司 计算机桌面的窗口切换方法、装置、设备以及存储介质
CN110286819A (zh) * 2019-06-25 2019-09-27 武汉深之度科技有限公司 一种窗口管理方法及计算设备
CN112000417A (zh) * 2020-10-27 2020-11-27 统信软件技术有限公司 一种窗口展示效果的控制方法及计算设备

Also Published As

Publication number Publication date
CN112000417A (zh) 2020-11-27
CN112000417B (zh) 2021-05-28

Similar Documents

Publication Publication Date Title
WO2022089040A1 (zh) 一种窗口展示效果的控制方法及计算设备
JP5930236B2 (ja) ウェブアプリケーションアーキテクチャ
CN103189853B (zh) 用于提供高效情境分类的方法和装置
WO2022048513A1 (zh) 搜索展示方法、装置及电子设备
WO2022068814A1 (zh) 菜单显示方法、装置、电子设备及存储介质
CN110286819B (zh) 一种窗口管理方法及计算设备
CN111930283B (zh) 一种消息显示方法及计算设备
WO2022166820A1 (zh) 应用界面处理方法、装置、电子设备及可读存储介质
WO2022213944A1 (zh) 信息引用方法、装置和电子设备
US20170164290A1 (en) Reduced power consumption for browsing websites
WO2022161466A1 (zh) 应用程序的运行方法、装置、电子设备和存储介质
CN111966260B (zh) 一种窗口显示方法及计算设备
WO2023030114A1 (zh) 界面显示方法和装置
WO2022143660A1 (zh) 图标显示方法、装置及电子设备
CN112711476A (zh) 一种计算机运行状态管理方法、计算设备及存储介质
US11704149B1 (en) Methods and systems for seamless virtual machine changing for software applications
US20120180063A1 (en) Method and Apparatus for Providing Management of Parallel Library Implementation
US10277688B2 (en) Automatic installation activation selection for hosted services
WO2023071996A1 (zh) 对象显示方法、装置、电子设备及存储介质
WO2018112772A1 (zh) 实现对另一操作系统操作的方法、装置及电子设备
TW201543363A (zh) 切換作業系統的方法及電子裝置
WO2022161243A1 (zh) 信息显示方法、装置及电子设备
WO2022194207A1 (zh) 输入方法、装置、电子设备及可读存储介质
WO2022222785A1 (zh) 图片显示方法及装置
CN114153538A (zh) 一种窗口切换方法、计算设备和存储介质

Legal Events

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

Ref document number: 21884770

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

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 17.10.2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21884770

Country of ref document: EP

Kind code of ref document: A1