[go: up one dir, main page]

WO2011134299A1 - Method and device for utilizing superbar to control instant messaging software - Google Patents

Method and device for utilizing superbar to control instant messaging software Download PDF

Info

Publication number
WO2011134299A1
WO2011134299A1 PCT/CN2011/071049 CN2011071049W WO2011134299A1 WO 2011134299 A1 WO2011134299 A1 WO 2011134299A1 CN 2011071049 W CN2011071049 W CN 2011071049W WO 2011134299 A1 WO2011134299 A1 WO 2011134299A1
Authority
WO
WIPO (PCT)
Prior art keywords
window
main panel
taskbar
thumbnail
user
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.)
Ceased
Application number
PCT/CN2011/071049
Other languages
French (fr)
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Publication of WO2011134299A1 publication Critical patent/WO2011134299A1/en
Priority to US13/664,303 priority Critical patent/US20130061164A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/107Computer-aided management of electronic mailing [e-mailing]

Definitions

  • the present invention relates to the field of communications, and in particular, to a method and apparatus for controlling instant messaging software using a super taskbar. Background of the invention
  • Windows 7 is Microsoft's next-generation operating system, and its new features are getting more and more attention, especially the Windows 7 taskbar.
  • Windows 7 taskbar support program custom window thumbnail ( Thumbnail ), thumbnail toolbar ( Thumbnail Toolbar ), window live preview (Live Preview ), taskbar button icon, taskbar button overlay icon (Overlay Icon ), jump
  • the Jump List makes it possible to control the running of the program through the taskbar.
  • the window thumbnail refers to the thumbnail of the window popped up after hovering over the taskbar button;
  • the thumbnail toolbar refers to the toolbar that the program customizes on the window thumbnail;
  • the real-time preview of the window refers to the mouse overhang The real-time preview of the window popped up after the window thumbnail is stopped, and is larger than the corresponding window. Due to the power of the Windows 7 taskbar, the taskbar with this feature is called the Super Bar in the prior art.
  • the IM (Instant Messaging) network tool has become an indispensable software tool for network users.
  • the IM tool can realize instant communication on the Internet through peer-to-peer technology.
  • the technology also supports multiple terminals to participate. The same session.
  • Embodiments of the present invention provide a method for controlling instant messaging software using a super taskbar, enabling efficient control of instant messaging software through a super taskbar.
  • the method for controlling the instant messaging software by using the super task bar includes: creating a virtual window corresponding to the main interface of the instant messaging software; listening to the window message during the window of the virtual window; and according to the monitored window message Perform the super taskbar operation.
  • a window creating unit configured to create a virtual window corresponding to the instant messaging software main panel
  • a listening unit configured to listen to the window message during a window of the virtual window created by the window creating unit
  • An operation execution unit configured to perform a super taskbar operation according to the window message monitored by the listening unit.
  • the embodiment of the present invention listens to a window message in a window process of the virtual window by creating a virtual window corresponding to the main interface of the instant messaging software, and performs a super task bar operation according to the monitored window message.
  • the instant messaging software supports the super taskbar, which realizes the operation state of the instant communication software controlled by the super task bar, which greatly improves the user experience of the instant communication software.
  • FIG. 1 is a schematic diagram of a method for controlling instant messaging software by using a super task bar according to Embodiment 1 of the present invention
  • FIG. 2 is a schematic diagram of a technical hierarchy of the IM software provided by the second embodiment of the present invention
  • FIG. 3 is a diagram showing the performance of the main panel in the taskbar through a virtual window according to the second embodiment of the present invention
  • FIG. 4 is a schematic diagram of a window thumbnail in the case where the taskbar button is merged in the second embodiment of the present invention
  • FIG. 5 is a view showing a window thumbnail in the case where the taskbar button is not merged in the second embodiment of the present invention
  • FIG. 6 is a schematic diagram of a process of creating a thumbnail of a main panel in a case where a task bar is not merged in Embodiment 2 of the present invention
  • FIG. 7 is a schematic diagram of a thumbnail toolbar in the second embodiment of the present invention.
  • FIG. 8 is a schematic diagram of a taskbar button icon in Embodiment 2 of the present invention.
  • FIG. 9 is a schematic diagram of a task bar button superimposed state icon in the second embodiment of the present invention.
  • FIG. 10 is a schematic diagram of a jump list icon in the second embodiment of the present invention.
  • FIG. 13 is a schematic diagram of an execution process of a shortcut in the second embodiment of the present invention.
  • FIG. 14 is a schematic structural diagram of an apparatus for controlling instant messaging software by using a super task bar according to Embodiment 3 of the present invention.
  • FIG. 15 is a schematic structural diagram of an operation execution unit in a device for controlling instant messaging software by using a super task bar according to Embodiment 3 of the present invention. Mode for carrying out the invention
  • Embodiment 1 of the present invention provides a method for controlling instant messaging software by using a super taskbar. As shown in FIG. 1, the method includes:
  • Step 101 Create a virtual window corresponding to the main interface of the instant messaging software
  • Step 102 Listening to the window message during the window process of the virtual window; and step 103, performing a super task bar operation according to the monitored window message.
  • the window procedure specifically refers to a window callback function.
  • the window is large
  • the system will tell the application through the window callback function, which is the window procedure, so that the application can know the changes of the window.
  • the super taskbar operation described in the above step 103 includes one or more of the following operations: creating a window thumbnail, creating a thumbnail toolbar, creating a window real-time preview, creating a taskbar button icon, and creating a taskbar button overlay icon.
  • the thumbnail of the creation window includes: when the taskbar button is merged, the drawing of the current instant messaging software main panel (hereinafter referred to as the main panel) is zoomed onto the canvas to obtain a thumbnail; the taskbar button is not In the case of merging, the user image is placed on the invisible window with the static picture control, the user nickname and the account are placed with the static text control, and the drawing of the user avatar, the user nickname and the account number and the current main panel are drawn onto the same canvas, and Thumbnail
  • the creating a thumbnail toolbar includes: creating a thumbnail toolbar when the taskbar button creation message is monitored, for example, creating a thumbnail toolbar in the Windows 7 operating system using the ITaskbarList3 interface of Windows 7;
  • the real-time preview of the creation window includes: previewing the drawing output of the current main panel;
  • the creating a taskbar button icon includes: when the taskbar button is not merged, the taskbar button icon corresponding to the main panel is set to a user-defined avatar;
  • the creating a taskbar button overlay status icon includes: when only one user is currently logged in, superimposing the user's online status on the taskbar button icon corresponding to the user, such as online, stealth, busy, or away, etc., generating a taskbar button Overlay status icon; When multiple users are currently logged in and the taskbar buttons are not merged, the online status of the corresponding user is superimposed on the taskbar button icon corresponding to each user, and the taskbar button overlay status icon is generated; And when the taskbar button is merged, the individual users are not superimposed on the taskbar button icon. Online status.
  • the above step 103 performs the super task bar operation according to the monitored window message, and further includes: refreshing Window thumbnail.
  • the real-time preview of the creation window includes: setting the size of the virtual window to be the same as the main panel; and performing any of the following processing on the preview offset position: when the main panel is not hidden Setting the offset position to the difference between the virtual window and the main panel; when the main panel is hidden and currently floating at the edge of the screen, the offset position is set between the virtual window and the main panel Difference; when the main panel is hidden and currently not suspended at the edge of the screen, the offset position is set as the difference between the virtual window and the main panel plus the size of the main panel;
  • the creating a taskbar button icon includes: converting the avatar file into HICON format in memory.
  • the performing the super task bar operation according to the monitored window message further includes: generating a jump list, and performing a corresponding jump operation according to the shortcut set by each item in the jump list.
  • the processes corresponding to the multiple accounts display the current state of all current accounts in the jump list through the shared memory.
  • the super task bar mentioned in the embodiment of the present invention is specifically but not limited to the Windows 7 task bar, and may also refer to other task bars having the functions provided by the Windows 7 task bar, for example, those skilled in the art are easy. Think of the taskbar in the upgraded version of Windows 7.
  • Embodiment 2 of the present invention provides a method for controlling instant messaging software by using a super task bar.
  • the IM software is subjected to rich common control in the thumbnail of the super task bar, the thumbnail toolbar, the taskbar button, the taskbar button overlay icon, and the jump list;
  • the various operations and display portals of the super taskbar will change with the current number of machine login accounts, account status, operating system taskbar related settings, and the like.
  • Embodiment 2 of the present invention is first introduced in conjunction with the technical hierarchy of the IM software shown in FIG. 2.
  • the "IM Super Taskbar Manager” configured in the software creates a virtual window through the "Taskbar Thumbnail and Button Control Module", and controls the window thumbnail of the taskbar and the thumbnail toolbar through the virtual window. Operations such as window real-time previews, taskbar button icons, taskbar button overlay icons, and display entries.
  • the "IM Super Taskbar Manager” generates different jump lists according to different occasions through the "jump list module”.
  • the "IM Super Taskbar Manager” responds to user shortcuts in the taskbar area and jumplists to control the IM software.
  • the "IM Super Taskbar Manager", “Taskbar Thumbnail and Button Control Module” and “Jump List Module” are software codes corresponding to specific functions.
  • the "IM Super Taskbar Manager" of the instant messaging software creates a virtual window, and then listens to the window message through the virtual window (for example, the mouse is hovered on the taskbar icon), and executes the creation task according to the monitored message. Bar window thumbnails, Create thumbnail toolbars, Create window live previews, Create taskbar button icons, and Create taskbar button overlays.
  • controlling the performance of the main panel in the taskbar through the virtual window includes: Step 301: Create a virtual window.
  • the virtual window is created by the taskbar thumbnail and the button control module, and the created virtual window is set to be always visible, and placed to any distance (for example, the position is set to 10 times the screen size), and the lifetime is consistent with the main panel. .
  • Step 302 in the window process of the virtual window is responsible for monitoring the creation of the taskbar, the thumbnail Generate, preview the graph generation, system settings changes, etc., and process accordingly.
  • the system setting changes include the way the taskbar button is merged, the number of recently opened programs to be displayed in the "Start" menu, and so on.
  • the main panel corresponds to different windows at different times. It may be the main panel of the contact, or it may be the locking panel.
  • the virtual window can be used to manage the performance of the taskbar of multiple panels (windows).
  • the virtual window can be used to centrally process the window message of the operating system without changing the logic of the original main panel
  • the window thumbnail operation of controlling the taskbar through the virtual window is first introduced.
  • the window thumbnail is the main panel thumbnail, and the drawing of the current main panel needs to be output, and the zoom is drawn onto the canvas. Thumbnail, as shown in Figure 4; when the taskbar is not merged (for example, when a single user logs in to the instant messaging software), the window thumbnail is a combination of "user avatar + nickname + account number" and the main panel thumbnail, as shown in Figure 5. Shown.
  • Step 601 Create an invisible window, place a user avatar with a static picture control on the window, place a nickname and an account with a static text control, and output the current drawing of the window as Hl.
  • Step 602 Output the current drawing of the main panel as H2.
  • the HI and H2 are scaled and drawn onto the same canvas to obtain a new thumbnail.
  • the predetermined one or more changes include a lock state change, a panel size change, a panel hidden state change, and a panel position change. In order to keep the correctness of the main panel thumbnails and live previews, and refresh them less frequently, the system will force the system to refresh the thumbnails when the above changes occur in the main panel.
  • thumbnail toolbar When you create a thumbnail toolbar, you can customize the buttons on the thumbnail toolbar as needed. For example, as shown in Figure 7, the thumbnail toolbar supports the "Lock IM (or Unlock)" and "Exit” buttons.
  • a thumbnail toolbar when a corresponding thumbnail toolbar creation message is detected through a virtual window, a thumbnail toolbar is created (for example, a thumbnail toolbar is created by using the ITaskbarList3 interface in the Windows 7 operating system), and the IM is locked. (or unlock) and exit both buttons.
  • the ID of the button needs to be set to monitor the click message of the button, and when the lock state changes, the icon for locking the IM or unlocking is set correspondingly to the first button.
  • the real-time preview of the window is mainly created based on the program customization. For example, when the real-time preview of the execution window is created, the current drawing of the main panel can be directly output to obtain a preview image.
  • the window real-time preview is consistent with the system default. This preview is customized by the program, which can be extended according to the actual application. Since the default position and default size of the live view of the window are consistent with the actual window, the size of the virtual window must be set to match the main panel before the preview is displayed. In addition, you need to do some processing on the preview offset position. Specifically: When the main panel is not hidden, the offset position is set as the difference between the virtual window and the main panel; when the main panel is hidden, it is currently suspended.
  • the offset position is set as the difference between the virtual window and the main panel; when the main panel is hidden and is not currently floating at the edge of the screen, the offset position is set to The difference between the virtual window and the main panel, plus the size (height or width) of the main panel.
  • the creation of the taskbar button icon includes the taskbar button merge and non-merge, In the latter case, the taskbar button icon corresponding to the main panel is set to the user-defined avatar. Specifically, you only need to change the title icon of the virtual window to the user-defined avatar. The avatar file must be converted to HICON format in the memory, and the taskbar button title is set to the combination of the user nickname and the account number, as shown in FIG. .
  • the status icon is superimposed on the taskbar button, and the status includes the online status and the locked status. It should be noted that when the status icon is superimposed on the taskbar button, the status is merged according to the taskbar button merge status and the local machine. Numbers do different processing: Currently, when only one account is logged in, regardless of whether the taskbar button is merged or not merged, the taskbar button is superimposed with the status icon, as shown in Figure 9. When currently logging in multiple accounts, when the taskbar button is not When merging, the status icon is superimposed for the taskbar button; otherwise it is not superimposed. Among them, the merge status of the taskbar button is obtained by reading the registry. When the user dynamically changes the merge option, the merge status of the taskbar button can be obtained by responding to the window message.
  • the process of creating a jump list by the jump list module in the embodiment of the present invention is described below.
  • the process needs to be handled differently according to the number of simultaneous login accounts:
  • the jump list includes shortcuts such as user online status setting to lock IM, open main panel and exit, as shown in FIG.
  • each item of the jump list is set as a shortcut, and the format must be an application + some parameters.
  • an application program is specially designed to communicate with the IM tool, and the parameters of the shortcut are transmitted to the IM tool, so that the IM tool performs the corresponding jump operation according to the obtained parameters and the configured application.
  • the format of the shortcut is defined as: APP Uin CmdID Param GUID
  • Uin user account
  • CmdID Command ID, indicating the type of operation, including displaying an IM client, various states, locking IM, unlocking IM, opening the main panel, exiting, etc.
  • GUID The unique identifier that comes with the creation of this jumplist is updated each time the jumplist is recreated.
  • Step 1301 the APP parses out various parameters
  • Step 1302 enumerate the running IM software process to find a process consistent with Uin; Step 1303, pass parameters to the IM software process through the COM inter-process communication interface; Step 1304, the IM software process receives the parameter information transmitted by the APP ;
  • Step 1305 if the GUID is legal, the IM software performs the corresponding operation.
  • the system When logging in multiple accounts, the system needs to display the current status of all current accounts in the jump list.
  • the IM software processes between different accounts complete the information sharing between the processes through the shared memory, and the process corresponding to each account is responsible for maintaining its own real-time state in the shared memory.
  • the corresponding process When an account status is updated, the corresponding process is responsible for updating the jump list, and the status information is obtained from the shared memory.
  • the taskbar overlay icon and the jumplist have different behaviors, and this change must be immediate. Similar to the execution of the jump list shortcut, the taskbar overlay icon also uses the COM interface to implement interprocess communication. The difference is that this communication takes place between two existing IM software processes without the need to start another third-party process.
  • the super taskbar help function module is responsible for providing some common functions: obtaining the current state icon path, generating thumbnails, obtaining the current system about the taskbar settings, etc.; the super taskbar Api package module encapsulates the SDK Api of the operating system, Easy to use interface.
  • a virtual window corresponding to the main panel of the instant messaging software is created, and the window window of the virtual window is used to listen to the window message, and the super task bar operation is performed according to the monitored window message, thereby realizing the instant communication software to super
  • the support of the taskbar that is, the operation state of the instant communication software is controlled through the super task bar, which greatly improves the user experience of the instant communication software.
  • Embodiment 3 of the present invention provides a device for controlling instant messaging software by using a super taskbar. As shown in FIG. 14, the method includes:
  • a window creating unit 11 configured to create a virtual window corresponding to the main interface of the instant messaging software
  • the monitoring unit 12 is configured to listen to the window message during the window of the virtual window created by the window creating unit 11;
  • the operation execution unit 13 is configured to perform a super task bar operation according to the window message monitored by the monitoring unit 12 .
  • the super taskbar operation includes one or more of the following: creating a window thumbnail, creating a thumbnail toolbar, creating a window real-time preview, creating a taskbar button icon, or creating a taskbar button overlay icon.
  • the operation execution unit 13 includes:
  • the thumbnail creation sub-unit 131 is configured to: when the taskbar button is merged, draw the drawing of the current main panel onto the canvas to obtain a thumbnail; if the taskbar button is not merged, use the static image on the invisible window.
  • the control places the user avatar, places the user nickname and account number with the static text control, draws the user avatar, user nickname and account number with the current drawing of the main panel onto the same canvas to obtain a thumbnail; and/or
  • thumbnail toolbar creation sub-unit 132 for creating a thumbnail toolbar when the taskbar button is created to listen to the message
  • a window real-time preview creation sub-unit 133 for obtaining a preview of the current drawing output of the main panel
  • the taskbar button icon creates a sub-unit 134, configured to set a taskbar button icon corresponding to the main panel to a user-defined avatar when the taskbar buttons are not merged;
  • the taskbar button overlay status icon creation sub-unit 135 is configured to superimpose the status icon for the taskbar button when currently only one user is logged in; when currently logging in multiple users, if the taskbar button is not merged, the status bar button is superimposed with the status icon; Otherwise it is not superimposed.
  • the thumbnail creation sub-unit 131 is further configured to: refresh the window thumbnail when the main panel has one or more changes in a lock state change, a panel size change, a panel hidden state change, or a panel position change;
  • the window real-time preview image creation sub-unit 133 is further configured to: set the size of the virtual window to be the same as the main panel; perform one or more of the following processing on the preview image offset position: when the main panel is not hidden, The offset position is the difference between the virtual window and the main panel; when the main panel is hidden, and is currently hovering at the edge of the screen, the offset position is Set the difference between the virtual window and the main panel; when the main panel is hidden, and is not currently suspended at the edge of the screen, set the offset position to the difference between the virtual window and the main panel.
  • the size of the upper main panel is
  • the taskbar button icon creation subunit 134 is also used to: convert the avatar file into HICON format in memory.
  • the operation execution unit 13 further includes:
  • the jump list sub-unit 136 is configured to generate a jump list according to the monitored window message, and perform a corresponding jump operation according to a shortcut set by each item in the jump list.
  • the jump list sub-unit 136 is further configured to display the current status of all current accounts in the jump list by the process shared memory corresponding to the multiple accounts when multiple accounts are logged in.
  • a virtual window corresponding to the main panel of the instant messaging software is created, and the window window of the virtual window is used to listen to the window message, and the super task bar operation is performed according to the monitored window message, thereby realizing the instant communication software to super
  • the support of the taskbar that is, the operation state of the instant communication software is controlled through the super task bar, which greatly improves the user experience of the instant communication software.
  • the present invention can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is a better implementation. the way.
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium, including a plurality of instructions for making a A computer device (which may be a personal computer, server, or network device, etc.) performs the methods described in various embodiments of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Data Mining & Analysis (AREA)
  • Economics (AREA)
  • Computer Hardware Design (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A method for utilizing a SuperBar to control instant messaging software is provided. The method includes: creating a virtual window corresponding to the main panel of the instant messaging software (101); monitoring a window message during the window procedures of the virtual window (102) and executing SuperBar operations according to the monitored window message (103). The technical solution enables the instant messaging software to support the SuperBar, and raises the user experience during using the instant messaging software through controlling the running status of the instant messaging software by the SuperBar.

Description

一种利用超级任务栏控制即时通信软件的方法及设备  Method and device for controlling instant communication software by using super task bar

技术领域 Technical field

本发明涉及通信领域, 尤其涉及一种利用超级任务栏控制即时通信 软件的方法及设备。 发明背景  The present invention relates to the field of communications, and in particular, to a method and apparatus for controlling instant messaging software using a super taskbar. Background of the invention

Windows 7是微软公司推出的新一代操作系统, 其提供的新特性越 来越受到关注, 尤其是 Windows 7的任务栏。 Windows 7任务栏支持程 序自定义窗口缩略图( Thumbnail )、缩略图工具栏( Thumbnail Toolbar )、 窗口实时预览图 (Live Preview ), 任务栏按钮图标、 任务栏按钮叠加图 标( Overlay Icon )、 跳转列表( Jump List ), 从而使通过任务栏对程序运 行进行控制成为现实。 其中, 窗口缩略图是指将鼠标悬停在任务栏按钮 后所弹出的窗口的缩略图; 缩略图工具栏是指程序在窗口缩略图上自定 义的工具栏; 窗口实时预览图是指鼠标悬停在窗口缩略图后弹出的窗口 实时预览图, 与对应的窗口等大。 由于 Windows 7任务栏的强大功能, 现有技术中将具有这种功能的任务栏称为超级任务栏 ( Super bar )。  Windows 7 is Microsoft's next-generation operating system, and its new features are getting more and more attention, especially the Windows 7 taskbar. Windows 7 taskbar support program custom window thumbnail ( Thumbnail ), thumbnail toolbar ( Thumbnail Toolbar ), window live preview (Live Preview ), taskbar button icon, taskbar button overlay icon (Overlay Icon ), jump The Jump List makes it possible to control the running of the program through the taskbar. The window thumbnail refers to the thumbnail of the window popped up after hovering over the taskbar button; the thumbnail toolbar refers to the toolbar that the program customizes on the window thumbnail; the real-time preview of the window refers to the mouse overhang The real-time preview of the window popped up after the window thumbnail is stopped, and is larger than the corresponding window. Due to the power of the Windows 7 taskbar, the taskbar with this feature is called the Super Bar in the prior art.

IM ( Instant Messaging, 即时通信)网络工具发展到今天, 已经成为 网络用户必不可少的软件工具, IM 工具可以通过点对点的技术来实现 互联网上的即时沟通, 该项技术还支持多个终端共同参与同一会话。  The IM (Instant Messaging) network tool has become an indispensable software tool for network users. The IM tool can realize instant communication on the Internet through peer-to-peer technology. The technology also supports multiple terminals to participate. The same session.

对于 IM工具, 如果可以支持通过超级任务栏控制即时通信软件, 则能够极大提高用户体验, 但是, 现有技术中尚未提供通过超级任务栏 控制即时通信软件的技术方案。 发明内容 For the IM tool, if the instant messaging software can be controlled through the super task bar, the user experience can be greatly improved. However, the technical solution of controlling the instant communication software through the super task bar has not been provided in the prior art. Summary of the invention

本发明的实施例提供了一种利用超级任务栏控制即时通信软件的方 法, 实现通过超级任务栏实现对即时通信软件的高效控制。  Embodiments of the present invention provide a method for controlling instant messaging software using a super taskbar, enabling efficient control of instant messaging software through a super taskbar.

本发明实施例提供的利用超级任务栏控制即时通信软件的方法包 括: 创建与即时通信软件主面板对应的虚拟窗口; 在所述虚拟窗口的窗 口过程中监听窗口消息; 以及根据监听到的窗口消息执行超级任务栏操 作。  The method for controlling the instant messaging software by using the super task bar provided by the embodiment of the present invention includes: creating a virtual window corresponding to the main interface of the instant messaging software; listening to the window message during the window of the virtual window; and according to the monitored window message Perform the super taskbar operation.

本发明实施例提供的利用超级任务栏控制即时通信软件的设备包 括:  The device for controlling instant messaging software by using the super task bar provided by the embodiment of the present invention includes:

窗口创建单元, 用于创建与即时通信软件主面板对应的虚拟窗口; 监听单元, 用于在所述窗口创建单元创建的虚拟窗口的窗口过程中 监听窗口消息; 以及  a window creating unit, configured to create a virtual window corresponding to the instant messaging software main panel; a listening unit, configured to listen to the window message during a window of the virtual window created by the window creating unit;

操作执行单元, 用于根据所述监听单元监听到的窗口消息执行超级 任务栏操作。  An operation execution unit, configured to perform a super taskbar operation according to the window message monitored by the listening unit.

与现有技术相比, 本发明的实施例通过创建与即时通信软件主面板 对应的虚拟窗口, 在该虚拟窗口的窗口过程中监听窗口消息, 并根据监 听到的窗口消息执行超级任务栏操作, 实现了即时通信软件对超级任务 栏的支持, 即实现了通过超级任务栏控制即时通信软件的运行状态, 极 大地提高了用户对即时通信软件的使用体验。 附图简要说明  Compared with the prior art, the embodiment of the present invention listens to a window message in a window process of the virtual window by creating a virtual window corresponding to the main interface of the instant messaging software, and performs a super task bar operation according to the monitored window message. The instant messaging software supports the super taskbar, which realizes the operation state of the instant communication software controlled by the super task bar, which greatly improves the user experience of the instant communication software. BRIEF DESCRIPTION OF THE DRAWINGS

图 1是本发明实施例一提供的利用超级任务栏控制即时通信软件的 方法示意图;  1 is a schematic diagram of a method for controlling instant messaging software by using a super task bar according to Embodiment 1 of the present invention;

图 2是本发明实施例二提供的 IM软件的技术层次架构示意图; 图 3是本发明实施例二中通过虚拟窗口控制主面板在任务栏的表现 示意图; 2 is a schematic diagram of a technical hierarchy of the IM software provided by the second embodiment of the present invention; FIG. 3 is a diagram showing the performance of the main panel in the taskbar through a virtual window according to the second embodiment of the present invention; Schematic diagram

图 4是本发明实施例二中在任务栏按钮合并情况下窗口缩略图示意 图;  4 is a schematic diagram of a window thumbnail in the case where the taskbar button is merged in the second embodiment of the present invention;

图 5是本发明实施例二中在任务栏按钮不合并情况下窗口缩略图示 意图;  FIG. 5 is a view showing a window thumbnail in the case where the taskbar button is not merged in the second embodiment of the present invention; FIG.

图 6是本发明实施例二中在任务栏不合并情况下主面板缩略图创建 的过程示意图;  6 is a schematic diagram of a process of creating a thumbnail of a main panel in a case where a task bar is not merged in Embodiment 2 of the present invention;

图 7是本发明实施例二中缩略图工具栏示意图;  7 is a schematic diagram of a thumbnail toolbar in the second embodiment of the present invention;

图 8是本发明实施例二中任务栏按钮图标示意图;  8 is a schematic diagram of a taskbar button icon in Embodiment 2 of the present invention;

图 9是本发明实施例二中任务栏按钮叠加状态图标示意图; 图 10~12是本发明实施例二中跳转列表图标示意图;  9 is a schematic diagram of a task bar button superimposed state icon in the second embodiment of the present invention; FIG. 10 is a schematic diagram of a jump list icon in the second embodiment of the present invention;

图 13是本发明实施例二中快捷方式的执行过程示意图;  13 is a schematic diagram of an execution process of a shortcut in the second embodiment of the present invention;

图 14是本发明实施例三提供的利用超级任务栏控制即时通信软件 的设备的结构示意图;  14 is a schematic structural diagram of an apparatus for controlling instant messaging software by using a super task bar according to Embodiment 3 of the present invention;

图 15 是本发明实施例三提供的利用超级任务栏控制即时通信软件 的设备中操作执行单元的结构示意图。 实施本发明的方式  FIG. 15 is a schematic structural diagram of an operation execution unit in a device for controlling instant messaging software by using a super task bar according to Embodiment 3 of the present invention. Mode for carrying out the invention

下面将结合附图详细说明本发明的具体实施方式。  Specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

本发明实施例一提供了一种利用超级任务栏控制即时通信软件的方 法, 如图 1所示, 包括:  Embodiment 1 of the present invention provides a method for controlling instant messaging software by using a super taskbar. As shown in FIG. 1, the method includes:

步骤 101 , 创建与即时通信软件主面板对应的虚拟窗口;  Step 101: Create a virtual window corresponding to the main interface of the instant messaging software;

步骤 102, 在所述虚拟窗口的窗口过程中监听窗口消息; 以及 步骤 103 , 根据监听到的窗口消息执行超级任务栏操作。  Step 102: Listening to the window message during the window process of the virtual window; and step 103, performing a super task bar operation according to the monitored window message.

在本发明的实施例中, 窗口过程具体是指窗口回调函数。 当窗口大 小改变、 鼠标悬浮在窗口、 鼠标在窗口内按下等动作发生时, 系统会将 这些动作通过窗口回调函数, 也即窗口过程, 告诉应用程序, 这样应用 程序就可以获知窗口的这些变化。 In an embodiment of the invention, the window procedure specifically refers to a window callback function. When the window is large When small changes, mouse hovering in the window, mouse pressing in the window, etc. occur, the system will tell the application through the window callback function, which is the window procedure, so that the application can know the changes of the window.

上述步骤 103所述超级任务栏操作包括以下操作中的一种或多种: 创建窗口缩略图、 创建缩略图工具栏、 创建窗口实时预览图、 创建任务 栏按钮图标以及创建任务栏按钮叠加图标。  The super taskbar operation described in the above step 103 includes one or more of the following operations: creating a window thumbnail, creating a thumbnail toolbar, creating a window real-time preview, creating a taskbar button icon, and creating a taskbar button overlay icon.

其中, 所述创建窗口缩略图包括: 在任务栏按钮合并情况下, 将当 前即时通信软件主面板(以下筒称为主面板)的绘图缩放绘制到画布上, 得到缩略图; 在任务栏按钮不合并情况下, 在不可见窗口上用静态图片 控件放置用户头像、用静态文本控件放置用户昵称和帐号,将用户头像、 用户昵称和帐号与当前主面板的绘图缩放绘制到同一张画布上, 得到缩 略图;  The thumbnail of the creation window includes: when the taskbar button is merged, the drawing of the current instant messaging software main panel (hereinafter referred to as the main panel) is zoomed onto the canvas to obtain a thumbnail; the taskbar button is not In the case of merging, the user image is placed on the invisible window with the static picture control, the user nickname and the account are placed with the static text control, and the drawing of the user avatar, the user nickname and the account number and the current main panel are drawn onto the same canvas, and Thumbnail

所述创建缩略图工具栏包括: 当监听到任务栏按钮创建消息时, 创 建缩略图工具栏, 例如, 在 Windows 7操作系统中利用 Windows 7的 ITaskbarList3接口创建缩略图工具栏;  The creating a thumbnail toolbar includes: creating a thumbnail toolbar when the taskbar button creation message is monitored, for example, creating a thumbnail toolbar in the Windows 7 operating system using the ITaskbarList3 interface of Windows 7;

所述创建窗口实时预览图包括: 将当前主面板的绘图输出得到预览 图;  The real-time preview of the creation window includes: previewing the drawing output of the current main panel;

所述创建任务栏按钮图标包括: 当任务栏按钮不合并时, 主面板对 应的任务栏按钮图标设置为用户自定义头像;  The creating a taskbar button icon includes: when the taskbar button is not merged, the taskbar button icon corresponding to the main panel is set to a user-defined avatar;

所述创建任务栏按钮叠加状态图标包括: 当前仅登录一个用户时, 在该用户对应的任务栏按钮图标上叠加该用户的在线状态, 例如在线、 隐身、 忙碌或离开等等, 生成任务栏按钮叠加状态图标; 当前登录多个 用户且任务栏按钮不合并时, 分别在每个用户对应的任务栏按钮图标上 叠加其对应用户的在线状态, 生成任务栏按钮叠加状态图标; 当前登录 多个用户且任务栏按钮合并时, 则不在任务栏按钮图标上叠加各个用户 的在线状态。 The creating a taskbar button overlay status icon includes: when only one user is currently logged in, superimposing the user's online status on the taskbar button icon corresponding to the user, such as online, stealth, busy, or away, etc., generating a taskbar button Overlay status icon; When multiple users are currently logged in and the taskbar buttons are not merged, the online status of the corresponding user is superimposed on the taskbar button icon corresponding to each user, and the taskbar button overlay status icon is generated; And when the taskbar button is merged, the individual users are not superimposed on the taskbar button icon. Online status.

在主面板发生锁定状态变化、 面板大小变化、 面板隐藏状态变化、 或者面板位置变化中的一种或多种变化时, 上述步骤 103根据监听到的 窗口消息执行超级任务栏操作将进一步包括: 刷新窗口缩略图。  When the main panel has one or more changes in the lock state change, the panel size change, the panel hidden state change, or the panel position change, the above step 103 performs the super task bar operation according to the monitored window message, and further includes: refreshing Window thumbnail.

在这种情况下, 所述创建窗口实时预览图包括: 将所述虚拟窗口的 大小设置为与主面板相同; 同时, 对预览图偏移位置进行以下任意一种 处理: 当主面板不处于隐藏时, 将偏移位置设置为所述虚拟窗口和主面 板之间的差值; 当主面板贴边隐藏且当前处于悬浮在屏幕边缘时, 将偏 移位置设为所述虚拟窗口和主面板之间的差值; 当主面板贴边隐藏且当 前不悬浮在屏幕边缘时, 将偏移位置设为所述虚拟窗口和主面板之间的 差值再加上主面板的大小;  In this case, the real-time preview of the creation window includes: setting the size of the virtual window to be the same as the main panel; and performing any of the following processing on the preview offset position: when the main panel is not hidden Setting the offset position to the difference between the virtual window and the main panel; when the main panel is hidden and currently floating at the edge of the screen, the offset position is set between the virtual window and the main panel Difference; when the main panel is hidden and currently not suspended at the edge of the screen, the offset position is set as the difference between the virtual window and the main panel plus the size of the main panel;

所述创建任务栏按钮图标包括: 将头像文件在内存中转为 HICON 格式。  The creating a taskbar button icon includes: converting the avatar file into HICON format in memory.

上述根据监听到的窗口消息执行超级任务栏操作还包括: 生成跳转 列表, 并根据所述跳转列表中的每一项设置的快捷方式执行相应跳转操 作。  The performing the super task bar operation according to the monitored window message further includes: generating a jump list, and performing a corresponding jump operation according to the shortcut set by each item in the jump list.

在多个账户登录时, 所述多个账户对应的进程通过共享内存在所述 跳转列表中显示当前所有账户的即时状态。  When multiple accounts are logged in, the processes corresponding to the multiple accounts display the current state of all current accounts in the jump list through the shared memory.

需要说明的是, 本发明实施例中提到的超级任务栏具体为但不限于 Windows 7任务栏, 还可以指代其他具有 Windows 7任务栏所提供功能 的任务栏, 例如本领域普通技术人员容易想到的 Windows 7的升级版本 中的任务栏。  It should be noted that the super task bar mentioned in the embodiment of the present invention is specifically but not limited to the Windows 7 task bar, and may also refer to other task bars having the functions provided by the Windows 7 task bar, for example, those skilled in the art are easy. Think of the taskbar in the upgraded version of Windows 7.

本发明实施例二提供一种利用超级任务栏控制即时通信软件的方 法。 本实施例中, 在超级任务栏的缩略图、 缩略图工具栏、 任务栏按钮、 任务栏按钮叠加图标、跳转列表等区域对 IM软件进行丰富的常用控制; 同时,超级任务栏的各种操作和显示入口,会随着当前机器登录账户数、 账户状态、 操作系统任务栏相关设置项等的变化而变化。 Embodiment 2 of the present invention provides a method for controlling instant messaging software by using a super task bar. In this embodiment, the IM software is subjected to rich common control in the thumbnail of the super task bar, the thumbnail toolbar, the taskbar button, the taskbar button overlay icon, and the jump list; At the same time, the various operations and display portals of the super taskbar will change with the current number of machine login accounts, account status, operating system taskbar related settings, and the like.

具体的, 首先结合图 2所示 IM软件的技术层次架构对本发明实施 例二提供的方法进行介绍。当用户登录 IM软件后,ΙΜ软件中配置的 "IM 超级任务栏管理器" 通过 "任务栏缩略图及按钮控制模块" 创建虚拟窗 口, 通过虚拟窗口控制任务栏的窗口缩略图、 缩略图工具栏、 窗口实时 预览图、 任务栏按钮图标、 任务栏按钮叠加图标等操作和显示入口。 同 时, "IM超级任务栏管理器" 通过 "跳转列表模块" 根据不同场合, 生 成不同的跳转列表。 "IM超级任务栏管理器" 响应用户在任务栏区域和 跳转列表中快捷方式的操作, 实现对 IM软件的控制。 需要说明的是, 其中的 "IM超级任务栏管理器"、 "任务栏缩略图及按钮控制模块" 以 及 "跳转列表模块" 均为与特定功能对应的软件代码。  Specifically, the method provided in Embodiment 2 of the present invention is first introduced in conjunction with the technical hierarchy of the IM software shown in FIG. 2. After the user logs in to the IM software, the "IM Super Taskbar Manager" configured in the software creates a virtual window through the "Taskbar Thumbnail and Button Control Module", and controls the window thumbnail of the taskbar and the thumbnail toolbar through the virtual window. Operations such as window real-time previews, taskbar button icons, taskbar button overlay icons, and display entries. At the same time, the "IM Super Taskbar Manager" generates different jump lists according to different occasions through the "jump list module". The "IM Super Taskbar Manager" responds to user shortcuts in the taskbar area and jumplists to control the IM software. It should be noted that the "IM Super Taskbar Manager", "Taskbar Thumbnail and Button Control Module" and "Jump List Module" are software codes corresponding to specific functions.

为了清楚阐明本实施例提供的利用超级任务栏控制即时通信软件的 方法, 下面对图 2中的各功能模块进行详细介绍。  In order to clarify the method for controlling the instant communication software by using the super task bar provided by the embodiment, the function modules in FIG. 2 are described in detail below.

用户登录即时通信软件后,即时通信软件的" IM超级任务栏管理器" 创建虚拟窗口, 而后通过虚拟窗口监听窗口消息(例如鼠标在任务栏图 标上悬浮), 并根据监听到的消息执行创建任务栏的窗口缩略图、 创建 缩略图工具栏、 创建窗口实时预览图、 创建任务栏按钮图标以及创建任 务栏按钮叠加图共 6部分的操作。  After the user logs in to the instant messaging software, the "IM Super Taskbar Manager" of the instant messaging software creates a virtual window, and then listens to the window message through the virtual window (for example, the mouse is hovered on the taskbar icon), and executes the creation task according to the monitored message. Bar window thumbnails, Create thumbnail toolbars, Create window live previews, Create taskbar button icons, and Create taskbar button overlays.

如图 3所示, 通过虚拟窗口控制主面板在任务栏的表现包括: 步骤 301 , 创建虚拟窗口。  As shown in FIG. 3, controlling the performance of the main panel in the taskbar through the virtual window includes: Step 301: Create a virtual window.

具体的, 由任务栏缩略图及按钮控制模块创建虚拟窗口, 将创建的 虚拟窗口设置为始终可见, 放至任意远(例如将位置设置为屏幕大小的 10倍距离), 生命期与主面板一致。  Specifically, the virtual window is created by the taskbar thumbnail and the button control module, and the created virtual window is set to be always visible, and placed to any distance (for example, the position is set to 10 times the screen size), and the lifetime is consistent with the main panel. .

步骤 302, 在虚拟窗口的窗口过程中负责监听创建任务栏、 缩略图 生成、 实时预览图生成、 系统设置更改等消息, 并做出相应的处理。 其中, 系统设置更改包括任务栏按钮合并方式、 "开始"菜单要显示 的最近打开过的程序的数目等。 Step 302, in the window process of the virtual window, is responsible for monitoring the creation of the taskbar, the thumbnail Generate, preview the graph generation, system settings changes, etc., and process accordingly. Among them, the system setting changes include the way the taskbar button is merged, the number of recently opened programs to be displayed in the "Start" menu, and so on.

需要指出, 使用虚拟窗口代替主面板具有以下优点:  It should be noted that using a virtual window instead of the main panel has the following advantages:

( 1 )主面板在不同时期对应着不同窗口, 有可能是联系人主面板, 也有可能是锁定面板, 使用虚拟窗口可以统一管理多个面板(窗口 ) 的 任务栏表现;  (1) The main panel corresponds to different windows at different times. It may be the main panel of the contact, or it may be the locking panel. The virtual window can be used to manage the performance of the taskbar of multiple panels (windows).

( 2 )使用虚拟窗口可以集中处理操作系统的窗口消息, 而不需要改 变原有主面板的逻辑;  (2) The virtual window can be used to centrally process the window message of the operating system without changing the logic of the original main panel;

( 3 )在主面板隐藏时,通过虚拟窗口仍可以在任务栏区域对主面板 进行正常的操作。  (3) When the main panel is hidden, the main panel can still be operated normally in the taskbar area through the virtual window.

下面依次介绍通过虚拟窗口控制任务栏的窗口缩略图、 缩略图工具 栏、 窗口实时预览图、 任务栏按钮图标和任务栏按钮叠加图标操作, 首 先介绍通过虚拟窗口控制任务栏的窗口缩略图操作。  The following is a description of the window thumbnail of the task bar through the virtual window, the thumbnail toolbar, the window real-time preview, the taskbar button icon, and the taskbar button overlay icon operation. The window thumbnail operation of controlling the taskbar through the virtual window is first introduced.

在任务栏按钮合并情况下 (例如多个用户登录即时通信软件时任务 栏按钮合并), 窗口缩略图是主面板缩略图, 需要将当前主面板的绘图 输出, 并将其缩放绘制到画布上得到缩略图, 如图 4所示; 在任务栏不 合并情况下 (例如单用户登录即时通信软件时), 窗口缩略图是 "用户 头像 +昵称 +帐号" 和主面板缩略图的组合, 如图 5所示。  In the case where the taskbar button is merged (for example, when multiple users log in to the instant messaging software, the taskbar button is merged), the window thumbnail is the main panel thumbnail, and the drawing of the current main panel needs to be output, and the zoom is drawn onto the canvas. Thumbnail, as shown in Figure 4; when the taskbar is not merged (for example, when a single user logs in to the instant messaging software), the window thumbnail is a combination of "user avatar + nickname + account number" and the main panel thumbnail, as shown in Figure 5. Shown.

在任务栏按钮不合并情况下,主面板缩略图创建的过程如图 6所示, 包括:  In the case that the taskbar buttons are not merged, the process of creating thumbnails of the main panel is as shown in FIG. 6, including:

步骤 601 , 创建一个不可见窗口, 在此窗口上用静态图片控件放置 用户头像, 用静态文本控件放置昵称和帐号, 并将此窗口当前绘图输出 为 Hl。  Step 601: Create an invisible window, place a user avatar with a static picture control on the window, place a nickname and an account with a static text control, and output the current drawing of the window as Hl.

步骤 602, 将主面板当前绘图输出为 H2。 步骤 603,把 HI和 H2缩放绘制到同一张画布上,得到新的缩略图。 需要说明的是, 当主面板发生预先设定的一种或者多种变化时, 需 要强制系统刷新缩略图。 该预先设定的一种或者多种变化包括锁定状态 变化、 面板大小变化、 面板隐藏状态变化和面板位置变化。 为保持主面 板缩略图和实时预览图的正确性, 又不太过频繁地刷新, 在主面板发生 上述变化时, 强制系统刷新缩略图。 Step 602: Output the current drawing of the main panel as H2. In step 603, the HI and H2 are scaled and drawn onto the same canvas to obtain a new thumbnail. It should be noted that when one or more preset changes occur in the main panel, it is necessary to force the system to refresh the thumbnail. The predetermined one or more changes include a lock state change, a panel size change, a panel hidden state change, and a panel position change. In order to keep the correctness of the main panel thumbnails and live previews, and refresh them less frequently, the system will force the system to refresh the thumbnails when the above changes occur in the main panel.

创建缩略图工具栏时, 可以根据实际需求在缩略图工具栏上定制按 钮。 例如图 7所示, 缩略图工具栏支持 "锁定 IM (或解锁)"、 "退出" 按钮。 本发明实施例中, 当通过虚拟窗口探测到对应的缩略图工具栏创 建消息时, 创建缩略图工具栏(例如, 在 Windows 7 操作系统中利用 ITaskbarList3接口创建缩略图工具栏 ), 并放置锁定 IM (或解锁)和退 出两个按钮。 这里需要设置按钮的 ID, 以监听到按钮的点击消息, 在锁 定状态变化时, 对第一个按钮对应地设置锁定 IM或者解锁的图标。  When you create a thumbnail toolbar, you can customize the buttons on the thumbnail toolbar as needed. For example, as shown in Figure 7, the thumbnail toolbar supports the "Lock IM (or Unlock)" and "Exit" buttons. In the embodiment of the present invention, when a corresponding thumbnail toolbar creation message is detected through a virtual window, a thumbnail toolbar is created (for example, a thumbnail toolbar is created by using the ITaskbarList3 interface in the Windows 7 operating system), and the IM is locked. (or unlock) and exit both buttons. Here, the ID of the button needs to be set to monitor the click message of the button, and when the lock state changes, the icon for locking the IM or unlocking is set correspondingly to the first button.

窗口实时预览图的创建主要基于程序自定义, 例如在执行窗口实时 预览图的创建时, 可以直接将主面板当前绘图输出, 得到预览图。 窗口 实时预览图与系统默认保持一致, 此预览图通过程序自定义绘制, 这可 以根据后续实际的应用做扩展。 由于窗口实时预览图默认位置和默认大 小与实际窗口一致, 所以在显示预览图之前, 必须将虚拟窗口的大小设 置为与主面板一致。 另外, 需要对预览图偏移位置做一些处理, 具体的: 当主面板不处于隐藏时, 偏移位置设为虚拟窗口和主面板之间的差值; 当主面板贴边隐藏时且当前处于悬浮在屏幕边缘, 比如鼠标移入主面板 底部, 此时将偏移位置设为虚拟窗口和主面板之间的差值; 当主面板贴 边隐藏时且当前不悬浮在屏幕边缘, 则将偏移位置设为虚拟窗口和主面 板之间的差值, 再加上主面板的大小 (高度或者宽度)。  The real-time preview of the window is mainly created based on the program customization. For example, when the real-time preview of the execution window is created, the current drawing of the main panel can be directly output to obtain a preview image. The window real-time preview is consistent with the system default. This preview is customized by the program, which can be extended according to the actual application. Since the default position and default size of the live view of the window are consistent with the actual window, the size of the virtual window must be set to match the main panel before the preview is displayed. In addition, you need to do some processing on the preview offset position. Specifically: When the main panel is not hidden, the offset position is set as the difference between the virtual window and the main panel; when the main panel is hidden, it is currently suspended. The edge of the screen, such as the mouse moves into the bottom of the main panel, the offset position is set as the difference between the virtual window and the main panel; when the main panel is hidden and is not currently floating at the edge of the screen, the offset position is set to The difference between the virtual window and the main panel, plus the size (height or width) of the main panel.

任务栏按钮图标的创建包括任务栏按钮合并与不合并两种情况, 对 应后者时, 主面板对应的任务栏按钮图标设置为用户自定义头像。 具体 的, 只需要将虚拟窗口的标题图标换为用户自定义头像即可, 其中头像 文件必须在内存中转为 HICON格式, 同时任务栏按钮标题设置为用户 昵称与帐号的组合, 如图 8所示。 The creation of the taskbar button icon includes the taskbar button merge and non-merge, In the latter case, the taskbar button icon corresponding to the main panel is set to the user-defined avatar. Specifically, you only need to change the title icon of the virtual window to the user-defined avatar. The avatar file must be converted to HICON format in the memory, and the taskbar button title is set to the combination of the user nickname and the account number, as shown in FIG. .

根据用户的当前状态, 在任务栏按钮上叠加状态图标, 状态包括在 线状态和锁定状态, 需要说明的是, 在任务栏按钮上叠加状态图标时, 根据任务栏按钮合并状态和本机同时登录账户数做不同的处理: 当前仅 登录一个账户时, 不管任务栏按钮是合并还是不合并, 都为任务栏按钮 叠加状态图标, 如图 9所示; 当前登录多个账户时, 当任务栏按钮不合 并时, 为任务栏按钮叠加状态图标; 否则不叠加。 其中, 任务栏按钮的 合并状态通过读取注册表获得。 当用户动态改变合并选项时, 任务栏按 钮的合并状态可以通过响应窗口消息得到。  According to the current state of the user, the status icon is superimposed on the taskbar button, and the status includes the online status and the locked status. It should be noted that when the status icon is superimposed on the taskbar button, the status is merged according to the taskbar button merge status and the local machine. Numbers do different processing: Currently, when only one account is logged in, regardless of whether the taskbar button is merged or not merged, the taskbar button is superimposed with the status icon, as shown in Figure 9. When currently logging in multiple accounts, when the taskbar button is not When merging, the status icon is superimposed for the taskbar button; otherwise it is not superimposed. Among them, the merge status of the taskbar button is obtained by reading the registry. When the user dynamically changes the merge option, the merge status of the taskbar button can be obtained by responding to the window message.

下面介绍本发明实施例中通过跳转列表模块创建跳转列表的过程。 该过程需要根据同时登录账户数做不同的处理: 当前仅登录一个账户 时, 跳转列表中包括用户在线状态设置锁定 IM、 打开主面板和退出等 快捷方式, 如图 10所示; 由于系统根据当前设置, 会对跳转列表的高 度做限制, 所以创建该跳转列表时, 需要首先动态判断 "开始" 菜单要 显示的最近打开过的程序的数目 N (如图 11所示), 如果 N能够容纳当 前所有的自定义状态, 那么就将自定义状态加到跳转列表中, 否则不添 加; 当前登录多个账户时, 跳转列表中包括当前登录的所有账户信息列 表, 点击则出现对应的主面板, 如图 12所示。  The process of creating a jump list by the jump list module in the embodiment of the present invention is described below. The process needs to be handled differently according to the number of simultaneous login accounts: Currently, when only one account is logged in, the jump list includes shortcuts such as user online status setting to lock IM, open main panel and exit, as shown in FIG. 10; The current setting limits the height of the jump list, so when creating the jump list, you need to first dynamically determine the number N of recently opened programs to be displayed in the "Start" menu (as shown in Figure 11), if N Can accommodate all the current custom status, then add the custom status to the jump list, otherwise it will not be added; when currently logging in multiple accounts, the jump list includes all the account information list currently logged in, click to appear corresponding The main panel, as shown in Figure 12.

为了实现跳转列表的跳转功能, 设置跳转列表的每一项都为快捷方 式, 其格式必须是某个应用程序 +某些参数。 本发明中专门设计一个应 用程序 APP, 负责与 IM工具通信, 将快捷方式的参数传给 IM工具, 以供 IM工具根据获得的参数及配置的应用程序执行相应的跳转操作。 其中, 快捷方式的格式定义为: APP Uin CmdID Param GUID In order to implement the jump function of the jump list, each item of the jump list is set as a shortcut, and the format must be an application + some parameters. In the present invention, an application program is specially designed to communicate with the IM tool, and the parameters of the shortcut are transmitted to the IM tool, so that the IM tool performs the corresponding jump operation according to the obtained parameters and the configured application. The format of the shortcut is defined as: APP Uin CmdID Param GUID

上述快捷方式的格式中的每个参数的具体含义如下:  The specific meaning of each parameter in the format of the above shortcut is as follows:

Uin: 用户帐号;  Uin: user account;

CmdID: 命令 ID, 表示操作类型, 包括显示某个 IM客户端、 各种 状态、 锁定 IM、 解锁 IM、 打开主面板、 退出等;  CmdID: Command ID, indicating the type of operation, including displaying an IM client, various states, locking IM, unlocking IM, opening the main panel, exiting, etc.

Param: 自定义状态名称;  Param: custom state name;

GUID:创建该跳转列表时附带的唯一标识,在每次重新创建跳转列 表时都会更新。  GUID: The unique identifier that comes with the creation of this jumplist is updated each time the jumplist is recreated.

当快捷方式被点击时, 就会启动与该快捷方式对应的 APP, 然后将 参数 "Uin" , "CmdID"、 "Param" 以及 "GUID" 传递给 APP。 APP在 对各个参数进行解析之后, 将对应的操作传递给 IM工具, 从而达到控 制 IM工具的目的。 其中, 快捷方式的执行是通过 APP和 IM工具协调 进行的, 如图 13所示, 具体包括:  When the shortcut is clicked, the APP corresponding to the shortcut is launched, and the parameters "Uin", "CmdID", "Param", and "GUID" are passed to the APP. After parsing each parameter, the APP passes the corresponding operation to the IM tool, thereby achieving the purpose of controlling the IM tool. The execution of the shortcut is coordinated by the APP and the IM tool, as shown in FIG. 13, which specifically includes:

步骤 1301 , APP解析出各个参数;  Step 1301, the APP parses out various parameters;

步骤 1302,枚举正在运行的 IM软件进程找到与 Uin相一致的进程; 步骤 1303,通过 COM进程间通信接口将参数传递给 IM软件进程; 步骤 1304, IM软件进程接收到 APP传过来的参数信息;  Step 1302, enumerate the running IM software process to find a process consistent with Uin; Step 1303, pass parameters to the IM software process through the COM inter-process communication interface; Step 1304, the IM software process receives the parameter information transmitted by the APP ;

步骤 1305, 如果 GUID合法, IM软件则执行相应的操作。  Step 1305, if the GUID is legal, the IM software performs the corresponding operation.

在多个账户登录时, 系统需要在跳转列表中显示当前所有账户的即 时状态。但是,现有技术中由于不同账户之间无法得知对方的即时状态, 包括在线状态和锁定状态, 因而无法实现显示当前所有账户的即时状 态。 本发明中, 不同账户之间对应的 IM软件进程之间通过共享内存完 成进程间的信息共享, 每个账户对应的进程负责在共享内存维护自己的 即时状态。 当某个账户状态更新时, 对应的进程都需要负责更新跳转列 表, 而其中的状态信息则从共享内存中获取。 根据当前登录账户数的不同, 任务栏叠加图标和跳转列表有不同的 表现, 而且这种变化必须是即时的。 与跳转列表快捷方式的执行相似, 任务栏叠加图标也采用了 COM接口实现进程间通信。 不同的是, 这种 通信发生在两个已经存在的 IM软件进程之间, 无需启动另外的第三方 进程。 When logging in multiple accounts, the system needs to display the current status of all current accounts in the jump list. However, in the prior art, since the instant state of the other party, including the online state and the locked state, cannot be known between different accounts, it is impossible to display the current state of all current accounts. In the present invention, the IM software processes between different accounts complete the information sharing between the processes through the shared memory, and the process corresponding to each account is responsible for maintaining its own real-time state in the shared memory. When an account status is updated, the corresponding process is responsible for updating the jump list, and the status information is obtained from the shared memory. Depending on the number of currently logged in accounts, the taskbar overlay icon and the jumplist have different behaviors, and this change must be immediate. Similar to the execution of the jump list shortcut, the taskbar overlay icon also uses the COM interface to implement interprocess communication. The difference is that this communication takes place between two existing IM software processes without the need to start another third-party process.

在某个账户登录和退出时, 此账户必须对其他账户发出通知, 此时 本账户和其他账户对应的 IM软件进程都必须根据实际情况, 更新任务 栏叠加图标或者跳转列表。  When an account is logged in and logged out, this account must be notified to other accounts. At this time, the IM software process corresponding to this account and other accounts must update the taskbar overlay icon or jump list according to the actual situation.

下面介绍超级任务栏帮助函数模块和超级任务栏 Api封装模块。 其 中, 超级任务栏帮助函数模块负责提供一些公用的函数: 获取当前状态 图标路径、 生成缩略图、 获取当前系统关于任务栏设置等; 超级任务栏 Api封装模块对操作系统的 SDK Api进行封装, 提供筒明易用的接口。  The following describes the super taskbar help function module and the super taskbar Api package module. Among them, the super taskbar help function module is responsible for providing some common functions: obtaining the current state icon path, generating thumbnails, obtaining the current system about the taskbar settings, etc.; the super taskbar Api package module encapsulates the SDK Api of the operating system, Easy to use interface.

通过采用本发明提供的方法, 创建与即时通信软件主面板对应的虚 拟窗口, 通过该虚拟窗口的窗口过程监听窗口消息, 根据监听到的窗口 消息执行超级任务栏操作, 实现了即时通信软件对超级任务栏的支持, 即实现了通过超级任务栏控制即时通信软件的运行状态, 极大地提高了 用户对即时通信软件的使用体验。  By adopting the method provided by the present invention, a virtual window corresponding to the main panel of the instant messaging software is created, and the window window of the virtual window is used to listen to the window message, and the super task bar operation is performed according to the monitored window message, thereby realizing the instant communication software to super The support of the taskbar, that is, the operation state of the instant communication software is controlled through the super task bar, which greatly improves the user experience of the instant communication software.

本发明实施例三提供一种利用超级任务栏控制即时通信软件的设 备, 如图 14所示, 包括:  Embodiment 3 of the present invention provides a device for controlling instant messaging software by using a super taskbar. As shown in FIG. 14, the method includes:

窗口创建单元 11 , 用于创建与即时通信软件主面板对应的虚拟窗 口;  a window creating unit 11 , configured to create a virtual window corresponding to the main interface of the instant messaging software;

监听单元 12, 用于在所述窗口创建单元 11创建的虚拟窗口的窗口 过程中监听窗口消息;  The monitoring unit 12 is configured to listen to the window message during the window of the virtual window created by the window creating unit 11;

操作执行单元 13, 用于根据所述监听单元 12监听到的窗口消息执 行超级任务栏操作。 所述超级任务栏操作包括以下一种或多种: 创建窗口缩略图、 创建 缩略图工具栏、 创建窗口实时预览图、 创建任务栏按钮图标或者创建任 务栏按钮叠加图标。 The operation execution unit 13 is configured to perform a super task bar operation according to the window message monitored by the monitoring unit 12 . The super taskbar operation includes one or more of the following: creating a window thumbnail, creating a thumbnail toolbar, creating a window real-time preview, creating a taskbar button icon, or creating a taskbar button overlay icon.

如图 15所示, 所述操作执行单元 13包括:  As shown in FIG. 15, the operation execution unit 13 includes:

缩略图创建子单元 131 , 用于在任务栏按钮合并情况下, 将当前主 面板的绘图缩放绘制到画布上, 得到缩略图; 在任务栏按钮不合并情况 下, 在不可见窗口上用静态图片控件放置用户头像、 用静态文本控件放 置用户昵称和帐号, 将用户头像、 用户昵称和帐号与主面板当前绘图绘 制到同一张画布上, 得到缩略图; 和 /或  The thumbnail creation sub-unit 131 is configured to: when the taskbar button is merged, draw the drawing of the current main panel onto the canvas to obtain a thumbnail; if the taskbar button is not merged, use the static image on the invisible window. The control places the user avatar, places the user nickname and account number with the static text control, draws the user avatar, user nickname and account number with the current drawing of the main panel onto the same canvas to obtain a thumbnail; and/or

缩略图工具栏创建子单元 132, 用于在监听到任务栏按钮创建消息 时, 创建缩略图工具栏; 和 /或  a thumbnail toolbar creation sub-unit 132, for creating a thumbnail toolbar when the taskbar button is created to listen to the message; and/or

窗口实时预览图创建子单元 133 , 用于将主面板当前绘图输出得到 预览图; 和 /或  a window real-time preview creation sub-unit 133 for obtaining a preview of the current drawing output of the main panel; and/or

任务栏按钮图标创建子单元 134, 用于当任务栏按钮不合并时, 主 面板对应的任务栏按钮图标设置为用户自定义头像; 和 /或  The taskbar button icon creates a sub-unit 134, configured to set a taskbar button icon corresponding to the main panel to a user-defined avatar when the taskbar buttons are not merged; and/or

任务栏按钮叠加状态图标创建子单元 135 , 用于当前仅登录一个用 户时, 为任务栏按钮叠加状态图标; 当前登录多个用户时, 若任务栏按 钮不合并, 为任务栏按钮叠加状态图标; 否则不叠加。  The taskbar button overlay status icon creation sub-unit 135 is configured to superimpose the status icon for the taskbar button when currently only one user is logged in; when currently logging in multiple users, if the taskbar button is not merged, the status bar button is superimposed with the status icon; Otherwise it is not superimposed.

所述缩略图创建子单元 131还用于: 在主面板发生锁定状态变化、 面板大小变化、 面板隐藏状态变化、 或者面板位置变化中的一种或多种 变化时, 刷新窗口缩略图;  The thumbnail creation sub-unit 131 is further configured to: refresh the window thumbnail when the main panel has one or more changes in a lock state change, a panel size change, a panel hidden state change, or a panel position change;

所述窗口实时预览图创建子单元 133还用于: 将所述虚拟窗口的大 小设置为与主面板相同; 对预览图偏移位置进行以下一种或者多种处 理: 当主面板不处于隐藏时, 偏移位置为所述虚拟窗口和主面板之间的 差值; 当主面板贴边隐藏、 且当前处于悬浮在屏幕边缘时, 将偏移位置 设为所述虚拟窗口和主面板之间的差值; 当主面板贴边隐藏、 且当前不 悬浮在屏幕边缘时, 将偏移位置设为所述虚拟窗口和主面板之间的差值 再加上主面板的大小; The window real-time preview image creation sub-unit 133 is further configured to: set the size of the virtual window to be the same as the main panel; perform one or more of the following processing on the preview image offset position: when the main panel is not hidden, The offset position is the difference between the virtual window and the main panel; when the main panel is hidden, and is currently hovering at the edge of the screen, the offset position is Set the difference between the virtual window and the main panel; when the main panel is hidden, and is not currently suspended at the edge of the screen, set the offset position to the difference between the virtual window and the main panel. The size of the upper main panel;

所述任务栏按钮图标创建子单元 134还用于: 将头像文件在内存中 转为 HICON格式。  The taskbar button icon creation subunit 134 is also used to: convert the avatar file into HICON format in memory.

所述操作执行单元 13还包括:  The operation execution unit 13 further includes:

跳转列表子单元 136, 用于根据监听到的窗口消息生成跳转列表, 根据所述跳转列表中的每一项设置的快捷方式执行相应跳转操作。  The jump list sub-unit 136 is configured to generate a jump list according to the monitored window message, and perform a corresponding jump operation according to a shortcut set by each item in the jump list.

所述跳转列表子单元 136还用于在多个账户登录时, 通过所述多个 账户对应的进程共享内存在所述跳转列表中显示当前所有账户的即时 状态。  The jump list sub-unit 136 is further configured to display the current status of all current accounts in the jump list by the process shared memory corresponding to the multiple accounts when multiple accounts are logged in.

通过采用本发明提供的设备, 创建与即时通信软件主面板对应的虚 拟窗口, 通过该虚拟窗口的窗口过程监听窗口消息, 根据监听到的窗口 消息执行超级任务栏操作, 实现了即时通信软件对超级任务栏的支持, 即实现了通过超级任务栏控制即时通信软件的运行状态, 极大地提高了 用户对即时通信软件的使用体验。  By using the device provided by the present invention, a virtual window corresponding to the main panel of the instant messaging software is created, and the window window of the virtual window is used to listen to the window message, and the super task bar operation is performed according to the monitored window message, thereby realizing the instant communication software to super The support of the taskbar, that is, the operation state of the instant communication software is controlled through the super task bar, which greatly improves the user experience of the instant communication software.

通过以上的实施方式的描述, 本领域的技术人员可以清楚地了解到 本发明可借助软件加必需的通用硬件平台的方式来实现, 当然也可以通 过硬件, 但很多情况下前者是更佳的实施方式。 基于这样的理解, 本发 明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产 品的形式体现出来, 该计算机软件产品存储在一个存储介质中, 包括若 干指令用以使得一台计算机设备(可以是个人计算机, 服务器, 或者网 络设备等)执行本发明各个实施例所述的方法。  Through the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is a better implementation. the way. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium, including a plurality of instructions for making a A computer device (which may be a personal computer, server, or network device, etc.) performs the methods described in various embodiments of the present invention.

本领域技术人员可以理解附图只是一个优选实施例的示意图, 附图 中的模块或流程并不一定是实施本发明所必须的。 本领域技术人员可以理解实施例中的装置中的模块可以按照实施例 描述进行分布于实施例的装置中, 也可以进行相应变化位于不同于本实 施例的一个或多个装置中。 上述实施例的模块可以合并为一个模块, 也 可以进一步拆分成多个子模块。 A person skilled in the art can understand that the drawings are only a schematic diagram of a preferred embodiment, and the modules or processes in the drawings are not necessarily required to implement the invention. Those skilled in the art can understand that the modules in the apparatus in the embodiments may be distributed in the apparatus of the embodiment according to the description of the embodiments, or the corresponding changes may be located in one or more apparatuses different from the embodiment. The modules of the above embodiments may be combined into one module, or may be further split into multiple sub-modules.

上述本发明实施例序号仅仅为了描述, 不代表实施例的优劣。 以上公开的仅为本发明的几个具体实施例, 但是, 本发明并非局限 于此, 任何本领域的技术人员能思之的变化都应落入本发明的保护范 围。  The serial numbers of the embodiments of the present invention are merely for the description, and do not represent the advantages and disadvantages of the embodiments. The above disclosure is only a few specific embodiments of the present invention, but the present invention is not limited thereto, and any changes that can be made by those skilled in the art should fall within the protection scope of the present invention.

Claims

权利要求书 Claim 1、 一种利用超级任务栏控制即时通信软件的方法, 其特征在于, 包 括:  A method for controlling instant messaging software by using a super taskbar, characterized in that it comprises: 创建与即时通信软件主面板对应的虚拟窗口;  Create a virtual window corresponding to the main panel of the instant messaging software; 在所述虚拟窗口的窗口过程中监听窗口消息; 以及  Listening to window messages during the window of the virtual window; 根据监听到的窗口消息执行超级任务栏操作。  Perform a super taskbar operation based on the monitored window message. 2、如权利要求 1所述的方法, 其特征在于, 所述超级任务栏操作包 括以下一种或多种操作:  2. The method of claim 1 wherein the super taskbar operation comprises one or more of the following operations: 创建窗口缩略图、 创建缩略图工具栏、 创建窗口实时预览图、 创建 任务栏按钮图标或者创建任务栏按钮叠加图标。  Create a window thumbnail, create a thumbnail toolbar, create a live preview of the window, create a taskbar button icon, or create a taskbar button overlay icon. 3、 如权利要求 2所述的方法, 其特征在于,  3. The method of claim 2, wherein 所述创建窗口缩略图包括: 在任务栏按钮合并情况下, 将当前主面 板的绘图缩放绘制到画布上,得到缩略图;在任务栏按钮不合并情况下, 在不可见窗口上用静态图片控件放置用户头像、 用静态文本控件放置用 户昵称和帐号, 将用户头像、 用户昵称和帐号与主面板当前绘图绘制到 同一张画布上, 得到缩略图;  The creating a window thumbnail includes: when the taskbar button is merged, the drawing of the current main panel is zoomed onto the canvas to obtain a thumbnail; if the taskbar button is not merged, the static image control is used on the invisible window. Placing a user avatar, placing a user nickname and an account with a static text control, drawing a user avatar, a user nickname, and an account with the current drawing of the main panel onto the same canvas to obtain a thumbnail; 所述创建缩略图工具栏包括: 当监听到任务栏按钮创建消息时, 创 建缩略图工具栏;  The creating a thumbnail toolbar includes: creating a thumbnail toolbar when the taskbar button creation message is monitored; 所述创建窗口实时预览图包括:将主面板当前绘图输出得到预览图; 所述创建任务栏按钮图标包括: 当任务栏按钮不合并时, 主面板对 应的任务栏按钮图标设置为用户自定义头像;  The real-time preview of the creation window includes: displaying a current drawing of the main panel to obtain a preview image; and the icon for creating the taskbar button includes: when the taskbar button is not merged, the taskbar button icon corresponding to the main panel is set to a user-defined avatar. ; 所述创建任务栏按钮叠加状态图标包括: 当前仅登录一个用户时, 在该用户对应的任务栏按钮图标上叠加该用户的在线状态, 生成任务栏 按钮叠加状态图标; 当前登录多个用户且任务栏按钮不合并时, 分别在 每个用户对应的任务栏按钮图标上叠加其对应用户的在线状态, 生成任 务栏按钮叠加状态图标; 当前登录多个用户且任务栏按钮合并时, 则不 在任务栏按钮图标上叠加用户的在线状态。 The creating a taskbar button overlay status icon includes: when only one user is currently logged in, the user's online status is superimposed on the taskbar button icon corresponding to the user, and the taskbar button overlay status icon is generated; currently, multiple users are logged in and the task is When the column buttons are not merged, they are in The task bar button icon corresponding to each user is superimposed on the online status of the corresponding user, and the task bar button superimposed status icon is generated; when multiple users are currently logged and the task bar button is merged, the online status of the user is not superimposed on the task bar button icon. . 4、如权利要求 3所述的方法, 其特征在于, 根据监听到的窗口消息 执行超级任务栏操作还包括: 在主面板发生锁定状态变化、 面板大小变 化、 面板隐藏状态变化、 或者面板位置变化中的一种或多种变化时, 刷 新窗口缩略图;  The method of claim 3, wherein performing the super task bar operation according to the monitored window message further comprises: performing a lock state change, a panel size change, a panel hidden state change, or a panel position change in the main panel. Refresh the window thumbnail when one or more of the changes are made; 所述创建窗口实时预览图包括: 将所述虚拟窗口的大小设置为与主 面板相同; 对预览图偏移位置进行以下一种处理: 当主面板不处于隐藏 时,偏移位置为所述虚拟窗口和主面板之间的差值; 当主面板贴边隐藏、 且当前处于悬浮在屏幕边缘时, 将偏移位置设为所述虚拟窗口和主面板 之间的差值; 当主面板贴边隐藏、 且当前不悬浮在屏幕边缘时, 将偏移 位置设为所述虚拟窗口和主面板之间的差值再加上主面板的大小;  The real-time preview of the creation window includes: setting the size of the virtual window to be the same as the main panel; performing the following processing on the preview offset position: when the main panel is not hidden, the offset position is the virtual window The difference between the main panel and the main panel; when the main panel is hidden and currently hovering at the edge of the screen, the offset position is set to the difference between the virtual window and the main panel; when the main panel is hidden, and When not currently floating at the edge of the screen, the offset position is set to the difference between the virtual window and the main panel plus the size of the main panel; 所述创建任务栏按钮图标包括: 将头像文件在内存中转为 HICON 格式。  The creating a taskbar button icon includes: converting the avatar file into HICON format in memory. 5、 如权利要求 1-4中任一项所述的方法, 其特征在于, 根据监听到 的窗口消息执行超级任务栏操作还包括:  The method according to any one of claims 1 to 4, wherein the performing the super task bar operation according to the monitored window message further comprises: 生成跳转列表, 并根据所述跳转列表中的每一项设置的快捷方式执 行相应跳转操作。  A jump list is generated, and a corresponding jump operation is performed according to the shortcut set by each item in the jump list. 6、 如权利要求 5所述的方法, 其特征在于, 在多个账户登录时, 所 述多个账户对应的进程通过共享内存在所述跳转列表中显示当前所有 账户的即时状态。  The method according to claim 5, wherein, when the plurality of accounts are logged in, the processes corresponding to the plurality of accounts display the current status of all the current accounts in the jump list through the shared memory. 7、 一种利用超级任务栏控制即时通信软件的设备, 其特征在于, 包 括:  7. A device for controlling instant messaging software using a super taskbar, characterized in that: 窗口创建单元, 用于创建与即时通信软件主面板对应的虚拟窗口; 监听单元, 用于在所述窗口创建单元创建的虚拟窗口的窗口过程中 监听窗口消息; a window creation unit, configured to create a virtual window corresponding to the main interface of the instant messaging software; a listening unit, configured to listen to a window message during a window of the virtual window created by the window creation unit; 操作执行单元, 用于根据所述监听单元监听到的窗口消息执行超级 任务栏操作。  An operation execution unit, configured to perform a super taskbar operation according to the window message monitored by the listening unit. 8、如权利要求 7所述的设备,其特征在于,所述操作执行单元包括: 缩略图创建子单元, 用于在任务栏按钮合并情况下, 将当前主面板 的绘图缩放绘制到画布上, 得到缩略图; 在任务栏按钮不合并情况下, 在不可见窗口上用静态图片控件放置用户头像、 用静态文本控件放置用 户昵称和帐号, 将用户头像、 用户昵称和帐号与主面板当前绘图绘制到 同一张画布上, 得到缩略图; 和 /或  The device according to claim 7, wherein the operation execution unit comprises: a thumbnail creation subunit, configured to draw a drawing of the current main panel onto the canvas in the case that the taskbar button is merged, Get thumbnails; when the taskbar buttons are not merged, place the user avatar with the static image control on the invisible window, place the user nickname and account with the static text control, and draw the user avatar, user nickname and account with the current drawing of the main panel Go to the same canvas and get a thumbnail; and/or 缩略图工具栏创建子单元, 用于在监听到任务栏按钮创建消息时, 创建缩略图工具栏; 和 /或  Thumbnail toolbar creation sub-unit for creating a thumbnail toolbar when a task bar button is created to listen to a message; and/or 窗口实时预览图创建子单元, 用于将主面板当前绘图输出得到预览 图; 和 /或  a real-time preview window creation sub-unit for previewing the current drawing output of the main panel; and/or 任务栏按钮图标创建子单元, 用于当任务栏按钮不合并时, 主面板 对应的任务栏按钮图标设置为用户自定义头像; 和 /或  The taskbar button icon creates a subunit, and when the taskbar button is not merged, the corresponding taskbar button icon of the main panel is set to a user-defined avatar; and/or 任务栏按钮叠加状态图标创建子单元,用于当前仅登录一个用户时, 为任务栏按钮叠加状态图标; 当前登录多个用户时, 若任务栏按钮不合 并, 为任务栏按钮叠加状态图标; 否则不叠加。  The taskbar button overlay status icon creates a sub-unit for superimposing the status icon for the taskbar button when currently only one user is logged in; when currently logging in multiple users, if the taskbar button is not merged, the status icon is superimposed for the taskbar button; otherwise Do not stack. 9、如权利要求 8所述的设备, 其特征在于, 所述缩略图创建子单元 还用于在主面板发生锁定状态变化、面板大小变化、面板隐藏状态变化、 或者面板位置变化中的一种或多种变化时, 刷新窗口缩略图;  The device according to claim 8, wherein the thumbnail creation subunit is further used for one of a lock state change, a panel size change, a panel hidden state change, or a panel position change in the main panel. Refresh the window thumbnail when there are multiple changes; 所述窗口实时预览图创建子单元还用于将所述虚拟窗口的大小设置 为与主面板相同; 对预览图偏移位置进行以下一种或者多种处理: 当主 面板不处于隐藏时, 偏移位置为所述虚拟窗口和主面板之间的差值; 当 主面板贴边隐藏、 且当前处于悬浮在屏幕边缘时, 将偏移位置设为所述 虚拟窗口和主面板之间的差值; 当主面板贴边隐藏、 且当前不悬浮在屏 幕边缘时, 将偏移位置设为所述虚拟窗口和主面板之间的差值再加上主 面板的大小; The window real-time preview image creation sub-unit is further configured to set the size of the virtual window to be the same as the main panel; perform one or more of the following processing on the preview offset position: when the main panel is not hidden, the offset The position is the difference between the virtual window and the main panel; When the main panel is hidden, and is currently floating at the edge of the screen, the offset position is set as the difference between the virtual window and the main panel; when the main panel is hidden, and is not currently floating at the edge of the screen, The offset position is set to a difference between the virtual window and the main panel plus a size of the main panel; 所述任务栏按钮图标创建子单元还用于将头像文件在内存中转为 The taskbar button icon creation subunit is also used to convert the avatar file into memory HICON格式。 HICON format. 10、 如权利要求 7-9中任一项所述的设备, 其特征在于, 所述操作 执行单元还包括:  The device according to any one of claims 7-9, wherein the operation execution unit further comprises: 跳转列表子单元, 用于根据监听到的窗口消息生成跳转列表, 根据 所述跳转列表中的每一项设置的快捷方式执行相应跳转操作。  The jump list sub-unit is configured to generate a jump list according to the monitored window message, and perform a corresponding jump operation according to a shortcut set by each item in the jump list. 11、 如权利要求 10所述的设备, 其特征在于, 所述跳转列表子单元 还用于:  The device according to claim 10, wherein the jump list subunit is further configured to: 在多个账户登录时, 通过所述多个账户对应的进程共享内存在所述 跳转列表中显示当前所有账户的即时状态。  When multiple accounts are logged in, the current state of all current accounts is displayed in the jump list through the process shared memory corresponding to the plurality of accounts.
PCT/CN2011/071049 2010-04-30 2011-02-17 Method and device for utilizing superbar to control instant messaging software Ceased WO2011134299A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US13/664,303 US20130061164A1 (en) 2010-04-30 2012-10-30 Method and device for using super taskbar to control instant messaging application

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010160438.8A CN102236510B (en) 2010-04-30 2010-04-30 A kind of method and apparatus utilizing super taskbar to control instant communication software
CN201010160438.8 2010-04-30

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US13/664,303 Continuation US20130061164A1 (en) 2010-04-30 2012-10-30 Method and device for using super taskbar to control instant messaging application

Publications (1)

Publication Number Publication Date
WO2011134299A1 true WO2011134299A1 (en) 2011-11-03

Family

ID=44860828

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/071049 Ceased WO2011134299A1 (en) 2010-04-30 2011-02-17 Method and device for utilizing superbar to control instant messaging software

Country Status (2)

Country Link
CN (1) CN102236510B (en)
WO (1) WO2011134299A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102520873A (en) * 2011-12-29 2012-06-27 汉王科技股份有限公司 Method and device for creating icon display area on main screen interface
CN102855051A (en) * 2012-08-15 2013-01-02 中兴通讯股份有限公司 Method and device for processing application shortcut
CN113760569B (en) * 2021-01-06 2024-04-05 北京沃东天骏信息技术有限公司 Multi-account management method and system
CN112835665A (en) * 2021-02-03 2021-05-25 广东中兴新支点技术有限公司 Dynamic preview method, system, device and storage medium for taskbar application

Citations (2)

* 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
CN1851641A (en) * 2005-09-28 2006-10-25 华为技术有限公司 Method for realizing embedded device user interface

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7426697B2 (en) * 2005-01-18 2008-09-16 Microsoft Corporation Multi-application tabbing system

Patent Citations (2)

* 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
CN1851641A (en) * 2005-09-28 2006-10-25 华为技术有限公司 Method for realizing embedded device user interface

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"Windows 7- Simplicity and Effective.", PC WORLD., December 2009 (2009-12-01), pages 81 - 82 *

Also Published As

Publication number Publication date
CN102236510A (en) 2011-11-09
CN102236510B (en) 2016-01-06

Similar Documents

Publication Publication Date Title
US20130061164A1 (en) Method and device for using super taskbar to control instant messaging application
RU2420797C2 (en) Enabling application of instructions for changing graphic window to remotely generated graphic window
US9032325B2 (en) Management of local applications in local and remote desktops in a server-based computing environment
US8418079B2 (en) System and method for cursor-based application management
JP5535324B2 (en) Method and apparatus for managing persistent rich internet applications
JP6475870B2 (en) Method and apparatus for displaying an instant messaging window and computer readable medium
CN111277884B (en) Video playing method and device
US20110271226A1 (en) Integrated Icon View in a Server-Based Computing Environment
JP2014531626A (en) Non-invasive remote access to application programs
JP6002967B2 (en) Information processing system, information processing apparatus, and information processing method
EP3103224B1 (en) Instant messaging
KR20150008505A (en) Application program interface display method, device, terminal and readable storage medium
CN112463750B (en) File synchronization method and display device
WO2013013554A1 (en) Program callback method and device
TW201541331A (en) Instant messaging
CN105872832A (en) Video calling method, video calling system and display device
WO2016150325A1 (en) Application screen-splitting running method and device
CN112055164B (en) Information interaction method, device, terminal and storage medium
KR102136474B1 (en) Synchronization of client-side keyboard layout with server-side keyboard layout in a virtual session
CN103513858A (en) Remote assistance method and device
WO2011134299A1 (en) Method and device for utilizing superbar to control instant messaging software
CN114302201B (en) A method for automatically switching screens in speaker mode, an intelligent terminal, and a display device
WO2024193614A1 (en) Information processing method and apparatus, and electronic device and storage medium
CN114007128A (en) A display device and network distribution method
JP2010182176A (en) Server device, client device, server based computing system, and program

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

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 16/04/2013)

122 Ep: pct application non-entry in european phase

Ref document number: 11774290

Country of ref document: EP

Kind code of ref document: A1