Nothing Special   »   [go: up one dir, main page]

CN112835665A - Dynamic preview method, system, device and storage medium for taskbar application - Google Patents

Dynamic preview method, system, device and storage medium for taskbar application Download PDF

Info

Publication number
CN112835665A
CN112835665A CN202110149530.2A CN202110149530A CN112835665A CN 112835665 A CN112835665 A CN 112835665A CN 202110149530 A CN202110149530 A CN 202110149530A CN 112835665 A CN112835665 A CN 112835665A
Authority
CN
China
Prior art keywords
preview
preview window
application
taskbar
window
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110149530.2A
Other languages
Chinese (zh)
Inventor
何应康
张雯
何卓臻
莫庆良
崔黎明
余世清
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Zhongxing Newstart Technology Co ltd
Original Assignee
Guangdong Zhongxing Newstart Technology Co ltd
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 Guangdong Zhongxing Newstart Technology Co ltd filed Critical Guangdong Zhongxing Newstart Technology Co ltd
Priority to CN202110149530.2A priority Critical patent/CN112835665A/en
Publication of CN112835665A publication Critical patent/CN112835665A/en
Pending legal-status Critical Current

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
    • G06F3/0483Interaction with page-structured environments, e.g. book metaphor
    • 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/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons

Landscapes

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

Abstract

The invention discloses a dynamic preview method, a system, a device and a storage medium of a taskbar application, wherein the method comprises the following steps: acquiring a preview instruction of a taskbar application, and acquiring preview window information according to the preview instruction; determining and displaying the preview window according to the preview window information; and updating the display content of the preview window according to a preset time interval. After the preview window information is acquired, the preview window is displayed according to the preview window information, and the display content of the preview window is updated according to a certain time interval, so that the application window of the taskbar is previewed dynamically in real time, and the discrimination of different application windows is improved. The embodiment of the invention can be widely applied to the technical field of computers.

Description

Dynamic preview method, system, device and storage medium for taskbar application
Technical Field
The invention relates to the technical field of computers, in particular to a dynamic preview method, a system, a device and a storage medium for taskbar application.
Background
A desktop component is arranged in a general Linux graphic system, and the aim is to facilitate a user to operate a plurality of application programs. Desktops typically use a taskbar or panel located at the edge of the screen to display information or to facilitate operations. Such as a taskbar, may display an icon or combination of text that opens an application to facilitate user switching in a multi-window application while providing both grouping and non-grouping functionality. When the grouping display is carried out, a menu list is generally used for displaying a plurality of applications in the same group, and the menu list consists of icons and characters; or a more intuitive grouping representation method such as thumbnail using windows. However, currently, common methods for displaying a taskbar list are static, such as menu display of icons and characters or menu display of thumbnails, which cannot dynamically preview the taskbar display in real time, and thus, a plurality of application windows are difficult to distinguish.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method, a system, an apparatus, and a storage medium for dynamically previewing a taskbar application in real time, which can improve the resolution of different application windows.
In a first aspect, an embodiment of the present invention provides a dynamic preview method for a taskbar application, including the following steps:
acquiring a preview instruction of a taskbar application, and acquiring preview window information according to the preview instruction;
determining and displaying the preview window according to the preview window information;
and updating the display content of the preview window according to a preset time interval.
Optionally, the obtaining preview window information includes:
and acquiring the ID list and the position of the preview window.
Optionally, the determining and displaying the preview window according to the preview window information includes:
acquiring and storing the content information of the preview window according to the ID list;
determining the layout of the preview window according to the content information;
and displaying the preview window after layout at the position.
Optionally, the preview method further includes:
establishing communication between the preview window and an application of the preview window through an interface;
acquiring a button setting instruction, and setting the type and the number of buttons according to the button setting instruction; wherein the button is used for controlling the application of the preview window through the preview window.
Optionally, the preview method further includes:
monitoring an operation instruction of an interface of the button;
and sending the operation instruction to the application of the preview window so that the application of the preview window executes corresponding operation according to the operation instruction.
In a second aspect, an embodiment of the present invention provides a dynamic preview system for a taskbar application, including:
the acquisition module is used for acquiring a preview instruction of the taskbar application and acquiring preview window information according to the preview instruction;
the display module is used for determining and displaying the preview window according to the preview window information;
and the updating module is used for updating the display content of the preview window according to a preset time interval.
Optionally, the system further comprises:
the interface establishing module is used for establishing communication between the preview window and the application of the preview window through an interface;
the button setting module is used for acquiring a button setting instruction and setting the type and the number of buttons according to the button setting instruction; wherein the button is used for controlling the application of the preview window through the preview window.
Optionally, the system further comprises:
the monitoring module is used for monitoring an operation instruction of the interface of the button;
and the sending module is used for sending the operation instruction to the application of the preview window so as to enable the application of the preview window to execute corresponding operation according to the operation instruction.
In a third aspect, an embodiment of the present invention provides a dynamic preview apparatus for a taskbar application, including:
at least one processor;
at least one memory for storing at least one program;
when the at least one program is executed by the at least one processor, the at least one processor is caused to implement the dynamic preview method for a taskbar application as described above.
In a fourth aspect, an embodiment of the present invention provides a storage medium, in which a processor-executable program is stored, the processor-executable program being configured to perform the above-mentioned dynamic preview method for a taskbar application when being executed by a processor.
The implementation of the embodiment of the invention has the following beneficial effects: the embodiment of the invention obtains the preview window information through the preview instruction, determines and displays the preview window according to the preview window information, and updates the display content of the preview window according to the preset time interval; after the preview window information is acquired, the preview window is displayed according to the preview window information, and the display content of the preview window is updated according to a certain time interval, so that the application window of the taskbar is previewed dynamically in real time, and the discrimination of different application windows is improved.
Drawings
FIG. 1 is a flowchart illustrating steps of a method for dynamically previewing a taskbar application according to an embodiment of the present invention;
FIG. 2 is a block diagram of a dynamic preview system for a taskbar application according to an embodiment of the present invention;
fig. 3 is a block diagram illustrating a dynamic preview apparatus for a taskbar application according to an embodiment of the present invention.
Detailed Description
The invention is described in further detail below with reference to the figures and the specific embodiments. The step numbers in the following embodiments are provided only for convenience of illustration, the order between the steps is not limited at all, and the execution order of each step in the embodiments can be adapted according to the understanding of those skilled in the art.
As shown in FIG. 1, an embodiment of the present invention provides a dynamic preview method for a taskbar application, which comprises the following steps.
S100, a preview instruction of the taskbar application is obtained, and preview window information is obtained according to the preview instruction.
S200, determining and displaying the preview window according to the preview window information;
and S300, updating the display content of the preview window according to a preset time interval.
Specifically, Kwin is a KDE (K Desktop Environment) Desktop component default window manager on Linux that controls the appearance, location, and method of providing a user to manipulate a window program. Kwin interfaces with the taskbar application through Kf 5-kwindowsystem. Taskbar applications include a variety of scenarios such as browsers, folders, or players. When a user clicks the taskbar application grouping icon, preview window information is sent to the Kwin through Kf5-kwindow system, and the specific window information comprises an ID list and a position. Kwin starts the previwindow plug-in to store the data information of the window, the data information of the window comprises contents such as the name of the window, and the previwindow determines the content of the preview window according to the window information and displays the preview window. Kwin updates the display content of the preview window according to a preset time interval by calling PaintWindow.
It should be noted that Kf5-kwindow system is an interface packaged according to the ICCCM standard for a Kwin interface, and Kf5-kwindow system is an interface provided by the Kwin window system to third-party applications.
It should be noted that PreviewWindow is started when receiving data sent by the taskbar to Kwin, and is quitted from displaying when the mouse is not on the taskbar icon or the preview window. PaintWindow is a function of the drawing window in the Kwin framework.
Optionally, the obtaining preview window information includes:
s101, acquiring an ID list and a position of a preview window.
The window list refers to a window list to be displayed in the preview window, and the position refers to a position at which the preview window needs to be displayed, and is generally beside the task bar group.
Optionally, the determining and displaying the preview window according to the preview window information includes:
s201, acquiring and storing the content information of the preview window according to the ID list;
s202, determining the layout of the preview window according to the content information;
and S203, displaying the preview window after layout at the position.
Optionally, the preview method further includes:
s400, establishing communication between the preview window and the application of the preview window through an interface;
s500, acquiring a button setting instruction, and setting the type and the number of buttons according to the button setting instruction; wherein the button is used for controlling the application of the preview window through the preview window.
In particular, previewwwindow provides a Dbus interface to establish communication with applications of the preview window. The type and the number of the buttons are set according to a button setting instruction input by a user, for example, a preview window is applied to set playing and pausing buttons for the preview window of the player, and the real-time control of the player is realized through the control of the preview window on the playing and pausing buttons. In such an embodiment, the convenience of system window operations may be increased.
It should be noted that, if the button is set according to the button setting instruction, when determining the layout of the preview window by PreviewWindow, the relevant information of the button, such as the position and size of the button, needs to be considered.
Optionally, the preview method further includes:
s600, monitoring an operation instruction of an interface of the button;
s700, sending the operation instruction to the application of the preview window so that the application of the preview window executes corresponding operation according to the operation instruction.
Specifically, when a user clicks a button on the preview window, the PreviewWindow acquires a corresponding operation instruction through the monitoring interface, and sends the operation instruction to the application of the preview window, so that the application of the preview window executes a corresponding operation according to the operation instruction. If the application of the preview window is a player, clicking a task bar group display preview window by a user, and then clicking a pause button of the preview window; after the PreviewWindow acquires an instruction of clicking a pause button by a user through a Dbus monitoring interface, sending the pause instruction to a player; and if the current player is playing the video, the player stops playing after receiving the pause instruction.
In the embodiment, the button instruction of the preview window is monitored through the interface, and the button instruction is sent to the application of the preview window, so that the application of the preview window executes corresponding operation according to the button instruction, and the convenience and intuitiveness of the operation of the system window are improved.
The implementation of the embodiment of the invention has the following beneficial effects: the embodiment of the invention obtains the preview window information through the preview instruction, determines and displays the preview window according to the preview window information, and updates the display content of the preview window according to the preset time interval; after the preview window information is acquired, the preview window is displayed according to the preview window information, and the display content of the preview window is updated according to a certain time interval, so that the application window of the taskbar is previewed dynamically in real time, and the discrimination of different application windows is improved.
As shown in fig. 2, an embodiment of the present invention provides a dynamic preview system for a taskbar application, including:
the acquisition module is used for acquiring a preview instruction of the taskbar application and acquiring preview window information according to the preview instruction;
the display module is used for determining and displaying the preview window according to the preview window information;
and the updating module is used for updating the display content of the preview window according to a preset time interval.
It can be seen that the contents in the foregoing method embodiments are all applicable to this system embodiment, the functions specifically implemented by this system embodiment are the same as those in the foregoing method embodiment, and the advantageous effects achieved by this system embodiment are also the same as those achieved by the foregoing method embodiment.
Optionally, the system further comprises:
the interface establishing module is used for establishing communication between the preview window and the application of the preview window through an interface;
the button setting module is used for acquiring a button setting instruction and setting the type and the number of buttons according to the button setting instruction; wherein the button is used for controlling the application of the preview window through the preview window.
In such an embodiment, the convenience of system window operations may be increased.
Optionally, the system further comprises:
the monitoring module is used for monitoring an operation instruction of the interface of the button;
and the sending module is used for sending the operation instruction to the application of the preview window so as to enable the application of the preview window to execute corresponding operation according to the operation instruction.
In the embodiment, the button instruction of the preview window is monitored through the interface, and the button instruction is sent to the application of the preview window, so that the application of the preview window executes corresponding operation according to the button instruction, and the convenience and intuitiveness of the operation of the system window are improved.
As shown in fig. 3, an embodiment of the present invention provides a dynamic preview apparatus for a taskbar application, including:
at least one processor;
at least one memory for storing at least one program;
when the at least one program is executed by the at least one processor, the at least one processor is caused to implement the dynamic preview method for a taskbar application as described above.
It can be seen that the contents in the foregoing method embodiments are all applicable to this apparatus embodiment, the functions specifically implemented by this apparatus embodiment are the same as those in the foregoing method embodiment, and the advantageous effects achieved by this apparatus embodiment are also the same as those achieved by the foregoing method embodiment.
In addition, the embodiment of the application also discloses a computer program product or a computer program, and the computer program product or the computer program is stored in a computer readable storage medium. The processor of the computer device may read the computer program from the computer-readable storage medium, and the processor executes the computer program, so that the computer device executes the above-described dynamic preview method of the taskbar application. Likewise, the contents of the above method embodiments are all applicable to the present storage medium embodiment, the functions specifically implemented by the present storage medium embodiment are the same as those of the above method embodiments, and the advantageous effects achieved by the present storage medium embodiment are also the same as those achieved by the above method embodiments.
While the preferred embodiments of the present invention have been illustrated and described, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A dynamic preview method for a taskbar application, comprising:
acquiring a preview instruction of a taskbar application, and acquiring preview window information according to the preview instruction;
determining and displaying the preview window according to the preview window information;
and updating the display content of the preview window according to a preset time interval.
2. The dynamic preview method of a taskbar application according to claim 1 wherein said obtaining preview window information comprises:
and acquiring the ID list and the position of the preview window.
3. The dynamic preview method of a taskbar application according to claim 2 wherein said determining and displaying said preview window based on said preview window information comprises:
acquiring and storing the content information of the preview window according to the ID list;
determining the layout of the preview window according to the content information;
and displaying the preview window after layout at the position.
4. A method for dynamic preview of a taskbar application according to any of claims 1 to 3 wherein said preview method further comprises:
establishing communication between the preview window and an application of the preview window through an interface;
acquiring a button setting instruction, and setting the type and the number of buttons according to the button setting instruction; wherein the button is used for controlling the application of the preview window through the preview window.
5. The dynamic preview method of a taskbar application of claim 4 wherein said preview method further comprises:
monitoring an operation instruction of an interface of the button;
and sending the operation instruction to the application of the preview window so that the application of the preview window executes corresponding operation according to the operation instruction.
6. A dynamic preview system for a taskbar application comprising:
the acquisition module is used for acquiring a preview instruction of the taskbar application and acquiring preview window information according to the preview instruction;
the display module is used for determining and displaying the preview window according to the preview window information;
and the updating module is used for updating the display content of the preview window according to a preset time interval.
7. The dynamic preview system for a taskbar application of claim 6 wherein said system further comprises:
the interface establishing module is used for establishing communication between the preview window and the application of the preview window through an interface;
the button setting module is used for acquiring a button setting instruction and setting the type and the number of buttons according to the button setting instruction; wherein the button is used for controlling the application of the preview window through the preview window.
8. The dynamic preview system for a taskbar application of claim 7 wherein said system further comprises:
the monitoring module is used for monitoring an operation instruction of the interface of the button;
and the sending module is used for sending the operation instruction to the application of the preview window so as to enable the application of the preview window to execute corresponding operation according to the operation instruction.
9. An apparatus for dynamically previewing a taskbar application, comprising:
at least one processor;
at least one memory for storing at least one program;
when executed by the at least one processor, cause the at least one processor to implement a dynamic preview method for a taskbar application according to any of claims 1-5.
10. A storage medium having stored therein a processor-executable program, the processor-executable program when executed by a processor being for performing a dynamic preview method of a taskbar application according to any of claims 1 to 5.
CN202110149530.2A 2021-02-03 2021-02-03 Dynamic preview method, system, device and storage medium for taskbar application Pending CN112835665A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110149530.2A CN112835665A (en) 2021-02-03 2021-02-03 Dynamic preview method, system, device and storage medium for taskbar application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110149530.2A CN112835665A (en) 2021-02-03 2021-02-03 Dynamic preview method, system, device and storage medium for taskbar application

Publications (1)

Publication Number Publication Date
CN112835665A true CN112835665A (en) 2021-05-25

Family

ID=75931929

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110149530.2A Pending CN112835665A (en) 2021-02-03 2021-02-03 Dynamic preview method, system, device and storage medium for taskbar application

Country Status (1)

Country Link
CN (1) CN112835665A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113325985A (en) * 2021-08-03 2021-08-31 荣耀终端有限公司 Desktop management method of terminal equipment and terminal equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1786906A (en) * 2004-12-08 2006-06-14 微软公司 Method and system of taskbar button interfaces
CN101944027A (en) * 2010-09-26 2011-01-12 北京神州泰岳软件股份有限公司 User interface generation method
CN102236510A (en) * 2010-04-30 2011-11-09 腾讯科技(深圳)有限公司 Method and equipment for controlling instant messaging software by utilizing super bar
US20130061164A1 (en) * 2010-04-30 2013-03-07 Tencent Technology (Shenzhen) Company Limited Method and device for using super taskbar to control instant messaging application
US20140201679A1 (en) * 2010-10-05 2014-07-17 Citrix Systems, Inc. Providing user interfaces and window previews for hosted applications
CN104598109A (en) * 2015-01-08 2015-05-06 天津三星通信技术研究有限公司 Method and equipment for previewing application in portable terminal
US20170199749A1 (en) * 2016-01-07 2017-07-13 Apple Inc. Dynamic graphical user interface previews
US20170357495A1 (en) * 2016-06-10 2017-12-14 Apple Inc. Providing updated application data for previewing applications on a display
EP3731074A1 (en) * 2019-04-23 2020-10-28 Beijing Xiaomi Mobile Software Co., Ltd. Method and device for controlling a window, and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1786906A (en) * 2004-12-08 2006-06-14 微软公司 Method and system of taskbar button interfaces
CN102236510A (en) * 2010-04-30 2011-11-09 腾讯科技(深圳)有限公司 Method and equipment for controlling instant messaging software by utilizing super bar
US20130061164A1 (en) * 2010-04-30 2013-03-07 Tencent Technology (Shenzhen) Company Limited Method and device for using super taskbar to control instant messaging application
CN101944027A (en) * 2010-09-26 2011-01-12 北京神州泰岳软件股份有限公司 User interface generation method
US20140201679A1 (en) * 2010-10-05 2014-07-17 Citrix Systems, Inc. Providing user interfaces and window previews for hosted applications
CN104598109A (en) * 2015-01-08 2015-05-06 天津三星通信技术研究有限公司 Method and equipment for previewing application in portable terminal
US20170199749A1 (en) * 2016-01-07 2017-07-13 Apple Inc. Dynamic graphical user interface previews
US20170357495A1 (en) * 2016-06-10 2017-12-14 Apple Inc. Providing updated application data for previewing applications on a display
EP3731074A1 (en) * 2019-04-23 2020-10-28 Beijing Xiaomi Mobile Software Co., Ltd. Method and device for controlling a window, and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113325985A (en) * 2021-08-03 2021-08-31 荣耀终端有限公司 Desktop management method of terminal equipment and terminal equipment
CN113325985B (en) * 2021-08-03 2021-11-23 荣耀终端有限公司 Desktop management method of terminal equipment and terminal equipment

Similar Documents

Publication Publication Date Title
CN109074276B (en) Tab in system task switcher
JP3475235B2 (en) Display device control method
US7793226B2 (en) Method and system for grouping and stacking tab user interface objects with icon status indicators
US9507791B2 (en) Storage system user interface with floating file collection
US6954905B2 (en) Displaying transparency characteristic aids
US20070226650A1 (en) Apparatus and method for highlighting related user interface controls
US8756528B2 (en) System and method of customizing video display layouts having dynamic icons
US20120110483A1 (en) Multi-desktop management
TWI534694B (en) Computer implemented method and computing device for managing an immersive environment
US20180268515A1 (en) Information processing method and client
EP2383638A2 (en) Information processing apparatus
CN113721808B (en) Control method and device
US11169652B2 (en) GUI configuration
CN111142984A (en) Visualized data display method, system, equipment and computer readable storage medium
CN112130734B (en) Document management method and device based on floating layer technology
CN112835665A (en) Dynamic preview method, system, device and storage medium for taskbar application
US11934638B2 (en) Command display control method, computer-readable medium and apparatus
JPH01232412A (en) Help system
EP0480859A2 (en) Computer user interface with visual indication of validity of a target object during a direct manipulation operation
US20200150859A1 (en) Method of operating widget on an electronic device
US20110138321A1 (en) Zone-based functions in a user interface
JP2011008633A (en) Information processor and electronic file operation program
KR20150123922A (en) Engineering tool
CN111782118B (en) Picture translation method and device on all-in-one machine, storage medium and all-in-one machine equipment
JP7466123B2 (en) Computer program, server device, terminal device, program generation method, and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20210525