Method, device, equipment and storage medium for displaying application buttons on task bar

By creating taskbar icons and preview windows for remote applications in the local system's taskbar, the problem of remote applications not displaying is solved, enabling effective control of remote applications and a user-friendly operating experience.

CN118535057BActive Publication Date: 2026-03-10RUIJIE NETWORKS CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-16
Publication Date
2026-03-10

AI Technical Summary

Technical Problem

The inability to display taskbar icons for remote applications in the local interface of the local system results in a poor user experience.

Method used

Create a taskbar icon for the remote application in the local system's taskbar, and display the remote application's window information, including its name and location, through a preview window. Support the display of preview images and titles to enable control over the remote application.

Benefits of technology

It improves the operational flexibility and user experience of remote applications, making the control of remote applications the same as that of local applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118535057B_ABST
    Figure CN118535057B_ABST
Patent Text Reader

Abstract

The application relates to the technical field of cloud desktop application, and provides a method and device for displaying an application button on a task bar, equipment and a storage medium. The method is applied to a local system for starting a remote application, a local interface of the local system is provided with a task bar, and the method comprises the following steps: after receiving window information of the remote application, a preview window is created on the position of a window of the remote application on the local interface according to the window information, and a task bar icon corresponding to the remote application is created in the task bar; wherein the window information comprises the name of the remote application and window position information of the remote application; a title corresponding to the task bar icon is set according to the name of the remote application; a preview image corresponding to the task bar icon is acquired based on the remote application; if it is detected that the task bar icon is selected, the preview image and the title are displayed on a preset position corresponding to the task bar icon; and if it is detected that the task bar icon is started, the preview window is minimized, and the window of the remote application is displayed on top.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of Internet desktop application, and in particular to a method and device for displaying application buttons in a taskbar, an apparatus and a storage medium. BACKGROUND

[0002] Under the background of the increasing popularity of cloud computing, remote applications enable users to access remote applications on local systems, allowing users to directly access and use remote applications on terminals running local systems. However, in the process of using remote applications, not only is the window of the remote application displayed on the local interface of the terminal, but also the taskbar icon of the remote application needs to be set in the taskbar of the local system and have the same effect as the taskbar icon of the local application.

[0003] In related technologies, the remote application running in the remote system is presented on the local interface of the local system through the mediation of the interface program used for mediating data, and the operation on the remote application in the local interface is also mediated through the interface program to reach the remote system and operate the running remote application in the remote system. Therefore, the taskbar icon of the remote application will not be displayed in the taskbar presented by the local interface, and even in the process of presenting the running interface, the taskbar icon of the interface program is displayed in the taskbar presented by the local interface.

[0004] Therefore, how to display application buttons for remote applications in the taskbar presented by the local interface of the local system has become a technical problem to be solved. SUMMARY

[0005] The present application provides a method, program product, device and storage medium for displaying application buttons in a taskbar, which solves the technical problem of not being able to display application buttons for remote applications in the taskbar presented by the local interface of the local system in related technologies.

[0006] The first aspect of the present application provides a method for displaying application buttons in a taskbar, which is applied to a local system in which a remote application is started, and the local interface of the local system is provided with a taskbar, comprising:

[0007] After receiving the window information of the remote application, a preview window is created on the local interface at the position of the window of the remote application according to the window information, and a taskbar icon corresponding to the remote application is created in the taskbar; wherein the window information includes the name of the remote application and the window position information of the remote application;

[0008] The title corresponding to the taskbar icon is set according to the name of the remote application, and the preview image corresponding to the taskbar icon is obtained based on the remote application.

[0009] If it is detected that the taskbar icon is selected, the preview image and the title are displayed at a preset position corresponding to the taskbar icon; if it is detected that the taskbar icon is started, the preview window is minimized and the window of the remote application is displayed on top.

[0010] Optionally, the creating of the preview window on the position of the window of the remote application on the local interface according to the window information comprises:

[0011] According to the window position information, the preview window is overlaid at the same position of the window of the remote application; wherein the preview window and the window of the remote application are of the same size, and the preview window covers the window of the remote application in a display state; or,

[0012] According to the window position information, a window of a preset size is set in an area of the window of the remote application to obtain the preview window; wherein the number of pixels of the window of the preset size is less than that of the window of the remote application, and the transparency of the preview window is greater than a set threshold.

[0013] Optionally, after the creating of the preview window on the position of the window of the remote application on the local interface according to the window information, the method further comprises:

[0014] If a first trigger event for the position of the preview window is detected, the first trigger event is penetrated to the window of the remote application;

[0015] If a second trigger event for the position of the preview window is detected, the window of the remote application is displayed on top, and the second trigger event is forwarded to the window of the remote application.

[0016] Optionally, after the preview image corresponding to the taskbar icon is obtained based on the remote application, the method further comprises:

[0017] If a third trigger event for the position of the preview image of the taskbar icon is detected, the preview window and the window of the remote application are overlaid and displayed at the same position;

[0018] If the preview window is started, the preview window is minimized and the window of the remote application is displayed on top.

[0019] Optionally, the minimizing of the preview window comprises:

[0020] The preview window is displayed;

[0021] The preview image is displayed in the preview window;

[0022] minimizing the preview window after a preset time delay.

[0023] Optionally, the step of minimizing the preview window after a preset time delay comprises:

[0024] setting a timer according to a time of updating the window information of the remote application;

[0025] starting the timer when the preview window is displayed;

[0026] minimizing the preview window if it is detected that the timer is zeroed.

[0027] Optionally, the step of minimizing the preview window after a preset time delay comprises:

[0028] detecting whether an instruction of updating the window information of the remote application sent by the remote application is received after the preview window is displayed, to determine whether the preset time delay has been delayed;

[0029] determining that the preset time delay has been delayed if it is detected that the instruction of updating the window information sent by the remote application is received;

[0030] minimizing the preview window and displaying the window of the remote application on top.

[0031] In a second aspect, the present application provides a device for displaying an application button on a taskbar, which is applied to a local system for opening a remote application, and a local interface of the local system is provided with a taskbar, comprising:

[0032] a creating unit configured to create a preview window on a position of a window of the remote application on the local interface according to window information of the remote application after the window information is received, and create a taskbar icon corresponding to the remote application in the taskbar, wherein the window information comprises a name of the remote application and window position information of the remote application;

[0033] an obtaining unit configured to set a title corresponding to the taskbar icon according to the name of the remote application, and obtain a preview image corresponding to the taskbar icon based on the remote application;

[0034] a displaying unit configured to display the preview image and the title at a preset position corresponding to the taskbar icon if it is detected that the taskbar icon is selected, and minimize the preview window and display the window of the remote application on top if it is detected that the taskbar icon is started.

[0035] Optionally, the creating unit is configured to:

[0036] According to the window position information, the preview window is overlaid at the same position of the window of the remote application; wherein the preview window and the window of the remote application are of the same size, and the preview window covers the window of the remote application in a display state; or,

[0037] According to the window position information, a window of a preset size is set in an area of the window of the remote application to obtain a preview window; wherein the number of pixels of the window of the preset size is less than that of the window of the remote application, and the transparency of the preview window is greater than a set threshold.

[0038] Optionally, the creating unit is further configured to:

[0039] If a first trigger event for the position of the preview window is detected, the first trigger event is penetrated to the window of the remote application.

[0040] If a second trigger event for the position of the preview window is detected, the window of the remote application is displayed on top, and the second trigger event is forwarded to the window of the remote application.

[0041] Optionally, the obtaining unit is further configured to:

[0042] If a third trigger event for the position of the preview image of the taskbar icon is detected, the preview window and the window of the remote application are overlaid and displayed at the same position.

[0043] If it is detected that the preview window is started, the preview window is minimized and the window of the remote application is displayed on top.

[0044] Optionally, the display unit is configured to:

[0045] display the preview window;

[0046] display the preview image in the preview window;

[0047] minimize the preview window after a preset time delay.

[0048] Optionally, the display unit is configured to:

[0049] set a timer according to a time of updating window information of the remote application;

[0050] start the timer when the preview window is displayed;

[0051] if it is detected that the timer is zeroed, minimize the preview window.

[0052] Optionally, the display unit is configured to:

[0053] displaying the preview window, detecting whether an instruction of receiving the update window information of the remote application sent by the remote application is received to determine whether the preset time period has been delayed;

[0054] If it is detected that the instruction of receiving the update window information of the remote application sent by the remote application is received, it is determined that the preset time period has been delayed.

[0055] minimizing the preview window and displaying the window of the remote application on top.

[0056] In a third aspect, a computer device is provided, comprising:

[0057] a memory for storing program instructions;

[0058] a processor for invoking the program instructions stored in the memory and executing the method according to the obtained program instructions.

[0059] In a fourth aspect, a computer readable storage medium is provided, which stores computer executable instructions for causing a computer to execute the method according to the first aspect.

[0060] In the embodiments of the present application, after receiving the window information of the remote application, a preview window is created on the position of the window of the remote application on the local interface according to the window information, and a taskbar icon corresponding to the remote application is created in the taskbar; wherein the window information comprises the name of the remote application and the window position information of the remote application; the title corresponding to the taskbar icon is set according to the name of the remote application, and the preview image corresponding to the taskbar icon is obtained based on the remote application; if it is detected that the taskbar icon is selected, the preview image and the title are displayed at the preset position corresponding to the taskbar icon; if it is detected that the taskbar icon is started, the preview window is minimized and the window of the remote application is displayed on top. Thus, the corresponding application button of the remote application is displayed in the taskbar of the local interface, and the application button can complete the same function as the taskbar icon of the local interface, thereby ensuring the user experience. BRIEF DESCRIPTION OF DRAWINGS

[0061] Figure 1 is a flowchart of a method for displaying an application button in a taskbar provided by the embodiments of the present application;

[0062] Figure 2 is a structural schematic diagram of an apparatus for displaying an application button in a taskbar provided by the embodiments of the present application;

[0063] Figure 3 is a structural schematic diagram of an apparatus for displaying an application button in a taskbar provided by the embodiments of the present application. DETAILED DESCRIPTION

[0064] In order to make the objects, technical solutions and advantages of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. The acquisition, storage, use and processing of data in the technical solutions of the present application all comply with the relevant provisions of national laws and regulations.

[0065] In the related art, a remote application running in a remote system is presented on a local interface of a local system through the mediation of an interface program for mediating data, and an operation on the remote application in the local interface can reach the remote system and operate the running remote application in the remote system through the mediation of the interface program. Therefore, the taskbar icon of the remote application will not be displayed in the taskbar of the local interface presented in the local interface, and even in the process of presenting the running interface, the taskbar icon of the interface program is displayed in the taskbar of the local interface presented in the local interface.

[0066] Obviously, the manner of not displaying the taskbar icon of the remote application and the manner of displaying the taskbar icon of the interface application cannot accurately represent the running of the remote application in the local interface, so that the remote application cannot be controlled through the taskbar presented in the local interface, and the use experience is poor.

[0067] Therefore, how to display the application button of the remote application in the taskbar presented in the local interface of the local system has become a technical problem to be solved urgently.

[0068] Therefore, the present application provides a method, device and equipment for displaying an application button in a taskbar and a storage medium, which are used to solve the technical problem that the application button of a remote application cannot be displayed in the taskbar presented in the local interface of a local system in the prior art.

[0069] The above method is applied to a local system in which a remote application is started, and the local interface of the local system is provided with a taskbar. Please refer to Figure 1 The method comprises the following steps.

[0070] 101. After receiving the window information of the remote application, a preview window is created on the position of the window of the remote application on the local interface according to the window information, and a taskbar icon corresponding to the remote application is created in the taskbar. The window information comprises the name of the remote application and the window position information of the remote application.

[0071] 102. The title corresponding to the taskbar icon is set according to the name of the remote application, and a preview image corresponding to the taskbar icon is obtained based on the remote application.

[0072] 103、If the taskbar icon is detected to be selected, the preview image and the title are displayed in a preset position corresponding to the taskbar icon; if the taskbar icon is detected to be started, the preview window is minimized and the window of the remote application is displayed on top.

[0073] For example, in the local interface presented by the local system, when the remote interface of the remote system is displayed, if the remote application is started in the remote system, the remote system can send the window information of the remote application to the local system. The window information can include the window position information of the remote application, and can also include the name of the remote application, etc., without limitation. The window position information of the remote application can be used to represent the relative position between the window of the remote application presented in the remote interface of the remote system and the remote interface, etc., without limitation.

[0074] After the local system receives the window information sent by the remote system, the local system calls the application programming interface (Application Program Interface, API for short) contained in the local system, generates the preview window of the remote application based on the window position information contained in the received window information, and presents the preview window in the local interface based on the window position information, so that the preview window partially or entirely covers the window of the remote application in the remote interface presented in the local interface. For example, the local system can present the preview window in the local interface based on the relative position between the window and the remote interface represented by the window position information, so that the relative position between the preview window and the local interface is the same as the relative position between the window and the remote interface represented by the window position information. Since the presentation scale of different systems when presenting a window can be different, the size of the preview window presented in the local interface can be the same as or different from the size of the window of the remote application presented in the remote interface.

[0075] When the local system presents the preview window, the local system can create a taskbar icon for the preview window in the taskbar presented in the local interface. The local system takes the created taskbar icon as the taskbar icon corresponding to the remote application. Thus, the application button of the remote application can be displayed in the taskbar presented in the local interface, so that the application button can be used to control the remote application running in the remote system in the local interface, thereby improving the flexibility of the local system in controlling the remote application.

[0076] When the preview window is generated, the preview window can be set as a transparent window, so that the preview window does not affect the running process of the remote application in the remote system and the normal display of the remote application in the local interface.

[0077] The local system can use a default image as the taskbar icon corresponding to the remote application, or use a custom image as the taskbar icon corresponding to the remote application, and the like, to indicate the currently running remote application in the form of an image. If the remote system has published an image in the network resource, and the image is the taskbar icon corresponding to the remote application in the remote interface, the local system can obtain the image published by the remote system as the taskbar icon of the remote application in the taskbar presented by the local interface. For example, the local system can obtain the images published by each system in advance from the network resource, and save the obtained images in an icon file of the local system. Thus, the local system can call the pre-stored icon file of the local system, determine the image published by the remote system in the icon file, the image representing the taskbar icon of the remote application, and the local system can obtain the image as the taskbar icon of the remote application in the taskbar presented by the local interface.

[0078] The local system can also set a title for the taskbar icon of the remote application in the taskbar presented by the local interface, to indicate the currently running remote application in the form of text. The local system can set a corresponding title for the taskbar icon of the remote application based on the name of the remote application contained in the window information, set a corresponding title for the taskbar icon of the remote application based on a preset name, set a corresponding title for the taskbar icon of the remote application in response to a name obtained by a user triggered icon name input operation, and the like, without limitation.

[0079] When the local system detects a selection operation on the taskbar icon of the remote application presented by the local interface, the local system can obtain a preview image corresponding to the taskbar icon. The preview image is used to represent the content currently displayed by the window of the remote application in the remote system. The local system can directly obtain the content currently displayed by the window of the remote application in the remote system as the preview image, or take a screenshot of the window of the remote application in the remote interface presented on the local interface as the preview image, and the like, without limitation.

[0080] The selection operation can be an operation of moving a cursor corresponding to a mouse in the local interface to a range where the taskbar icon is located, or an operation of moving a selection box corresponding to a keyboard in the local interface to the taskbar icon, and the like, without limitation.

[0081] After the preview image is acquired, the local system can display the preview image at the preset position corresponding to the taskbar icon in the local interface, or display the preview image and the title corresponding to the taskbar icon at the preset position corresponding to the taskbar icon, and the specific implementation is not limited. The preset position can be any region position in the local interface, for example, the preset position is a region above the taskbar icon in the local interface, and the size of the region can be the size of the preview image after being proportionally reduced. The preview image displayed at the preset position corresponding to the taskbar icon can be used as a thumbnail of the remote application presented in the local interface of the local system, and the thumbnail represents the content currently displayed by the window of the remote application in the remote system in a proportionally reduced size. Therefore, the application button of the remote application can be displayed in the taskbar of the local interface through the taskbar icon, and the thumbnail of the remote application can be displayed in the preset position of the local interface through the preview image, so that the remote application appears to be actually running in the local system, thereby facilitating the user operation of the remote application.

[0082] When the local system detects the start operation on the taskbar icon of the remote application presented in the local interface, the preview window can be minimized. Meanwhile, if the remote application is also presented with other windows in the remote interface of the remote system, and the other windows are overlaid on the window of the remote application, the window of the remote application is controlled to be displayed in a topmost manner on the remote interface of the remote system in a manner of covering the other windows. If the remote application is also presented with other windows in the remote interface of the remote system, and the window of the remote application is overlaid on the other windows, the window of the remote application is controlled to be minimized on the remote interface of the remote system.

[0083] After the local system detects the selection operation on the taskbar icon of the remote application presented in the local interface, the local system can also detect the start operation on the preview image after the preview image is displayed at the preset position corresponding to the taskbar icon. The start operation on the preview image can have the same function as the start operation on the taskbar icon of the remote application presented in the local interface, and the specific implementation is not limited.

[0084] Therefore, in the local interface of the local system, the operation of the taskbar icon or the preview image can achieve the effect of controlling the remote application running in the remote system, so that the operation of the remote application and the operation of the local application running in the local system have the same operation experience, thereby facilitating the user operation of the remote application.

[0085] In actual application, the preview window corresponds to a window of a taskbar icon in the taskbar displayed on the local system, and the remote application is not displayed in the taskbar but in a separate other window (for example, a window of an agent package). The preview window itself is a hidden non-user interactive window. Meanwhile, if it is for a system supporting non-static screenshots, the preview window is a hidden window (that is, the window only occupies one or several pixels and generally does not interfere with the actual length and width of the remote application) at this time, and the preview window is directly set through an API, and all preview windows do not need to be minimized.

[0086] When the preview window is minimized, the preview window can be delayed and then minimized. The delay of the preview window can be determined according to a window update time of a window of the remote application on a remote interface of the remote system. When the preview window is minimized, the preview window can be displayed on a window position of the remote application on the local interface. The preview image is presented in the preview window, and the preview window is minimized after the delay, so that the preview image presented when the preview window is displayed and the content presented by the window of the remote application after the preview window is minimized can be seamlessly displayed visually, improving the user experience.

[0087] The preview image in the preview window when the preview window is displayed can be obtained from the remote application when the preview window is displayed. When the preview window is displayed, the preview image is reacquired only when an update event (for example, a top display update event, a window size change update event, and the like) of the window of the remote application occurs.

[0088] In the embodiments of the present application, after receiving window information of the remote application, a preview window is created on a window position of the remote application on a local interface according to the window information, and a taskbar icon corresponding to the remote application is created in a taskbar. The window information includes a name of the remote application and window position information of the remote application. The title corresponding to the taskbar icon is set according to the name of the remote application, and a preview image corresponding to the taskbar icon is obtained based on the remote application. If it is detected that the taskbar icon is selected, the preview image and the title are displayed in a preset position corresponding to the taskbar icon. If it is detected that the taskbar icon is started, the preview window is minimized and the window of the remote application is displayed on top. Thus, the remote application displays a corresponding application button in the taskbar of the local interface, and the application button can complete the same function as the taskbar icon of the local interface, ensuring the user experience.

[0089] In a possible implementation, the step of creating the preview window on the window position of the remote application on the local interface according to the window information includes:

[0090] According to the window position information, a preview window is overlaid at the same position of the window of the remote application, the preview window and the window of the remote application have the same size, and the preview window covers the window of the remote application in a display state; or, according to the window position information, a window with a preset size is set in a region of the window of the remote application to obtain the preview window; wherein the number of pixels of the window with the preset size is less than that of the window of the remote application, and the transparency of the preview window is greater than a set threshold.

[0091] For example, if the local system uses a general operating system such as a windows system, the preview window can be directly set as a hidden window to avoid shielding the normal display of the window of the remote application in the local interface. The setting method of the hidden window can be to set the size of the preview window to 1 pixel, and the position of the hidden window is set according to the window position information of the remote application in the window information, and is set at the upper left corner of the window of the remote application. At this time, the trigger event of the preview window, such as the trigger event generated by the click operation of the cursor of the mouse in the local interface triggered on the preview window, is also set to be able to directly penetrate the preview window to directly control the window under the preview window.

[0092] If the local system uses a non-general operating system such as a domestic system, since the preview window only supports the static screenshot display mode, the image of the preview window under the system can be set as transparent, the size of the preview window is set to be the same as the size of the window of the remote application, and the trigger event of the preview window, such as the trigger event generated by the click operation of the cursor of the mouse in the local interface triggered on the preview window, is also set to be able to directly penetrate the preview window to directly control the window under the preview window.

[0093] In actual application, since the general operating system and the non-general operating system such as the windows system and the domestic system support different interfaces of the taskbar preview, the setting modes of the preview window are different. If the domestic system can also support the taskbar preview through the interface other than the static screenshot in the future, the taskbar window can be hidden by setting the window size to 1 pixel or a few pixels as the windows system. Of course, in actual design, the hidden window can not be 1 pixel, but can be set to a preset number of pixels according to actual needs to play a hidden role.

[0094] In the embodiments of the present application, by setting the preview window as a transparent image, the preview window will not shield the windows of other applications, and the events generated by the operations of the cursor of the mouse or the keyboard in the local interface can also penetrate the preview window to normally operate other windows.

[0095] In a possible implementation, after the preview window is created according to the window information on the position of the window of the remote application on the local interface, the method further includes:

[0096] If a first trigger event for the position of the preview window is detected, the first trigger event is penetrated to the window of the remote application; if a second trigger event for the position of the preview window is detected, the window of the remote application is displayed on top, and the second trigger event is forwarded to the window of the remote application.

[0097] In a specific implementation, since the preview window in the windows system is usually set as a hidden window with a size of 1 pixel, the penetration of the first trigger event is not actually affected. For some other systems that only support a preview window setting of a static screenshot, the size of the preview window is the same as that of the window of the remote application, the image in the preview window is set as opaque, and the first trigger event is set as penetration. When the preview window receives the second trigger event, the window of the remote application is displayed on top and the second trigger event is forwarded to the window of the remote application. The first trigger event or the second trigger event may be, for example, an event generated by an operation of a cursor of an external device such as a mouse on the preview window, and the specific implementation is not limited.

[0098] In the embodiments of the present application, the preview window is not only set as a hidden window or a transparent window, but also penetrates the first trigger event and forwards the received second trigger event to the window of the remote application, so as to ensure that the preview window does not affect the normal function of the window of the remote application.

[0099] In a possible implementation, after the preview image corresponding to the taskbar icon is obtained in the remote application, the method further includes:

[0100] If a third trigger event for the position of the preview image of the taskbar icon is detected, the preview window and the window of the remote application are displayed on the same position in an overlapped manner; if it is detected that the preview window is started, the preview window is minimized and the window of the remote application is displayed on top. The third trigger event may be, for example, an event generated by an operation of a cursor of an external device such as a mouse on the preview image, and the specific implementation is not limited.

[0101] For example, when a cursor of an external device such as a mouse moves to an area where a taskbar icon is located in a local interface, a title corresponding to the taskbar icon and a preview image can be displayed above the taskbar icon. When the preview image is clicked, a preview window is displayed on the position of the window of the remote application, and the preview image is displayed in the preview window. If the preview window is clicked at this time, the preview window is selected to be started, the real-time update state of the window of the remote application is updated, then the preview window is minimized, and the window of the remote application is displayed on top.

[0102] In actual application, the preview image displayed in the preset position corresponding to the taskbar icon is not necessarily a preview image of the same size as the window of the remote application, but also can be a thumbnail displayed after being reduced according to the size of the window of the remote application.

[0103] In the embodiments of the present application, the third triggering event corresponding to the position of the preview image on the taskbar icon is checked, so as to start the preview window and the window of the remote application, thereby ensuring that the user can complete the corresponding function through the clicking operation on the taskbar icon and the preview image.

[0104] In a possible implementation, the preview window is minimized, including:

[0105] The preview window is displayed; the preview image is displayed in the preview window; and the preview window is minimized after a preset time delay.

[0106] For example, when the starting event is triggered in response to the starting operation triggered for the taskbar icon, the preview window is first displayed, and the preview image of the remote application is displayed in the preview window as the preview image corresponding to the taskbar icon; meanwhile, the window of the remote application is started, and the real-time updated data required by the window is obtained from the remote application. When the real-time updated data required by the window of the remote application is obtained, the window of the remote application is updated, and the preview window is minimized.

[0107] In the embodiments of the present application, after the starting operation triggered for the taskbar icon is responded, the preview image is first displayed to meet the rapid starting display of the window, and the window of the remote application is updated, and when the window of the remote application is updated, the preview window is minimized, so as to achieve seamless display in vision.

[0108] In a possible implementation, the preview window is minimized after a preset time delay, including: setting a timer according to the time of updating the window information of the remote application, and the preset time delay can be the time interval between every two times of updating the window information of the remote application; starting the timer when the preview window is displayed; and minimizing the preview window if it is detected that the timer is zero.

[0109] Optionally, the preview window is minimized after a preset time delay, including:

[0110] After the preview window is displayed, it is detected whether an instruction of updating the window information of the remote application is received, so as to determine whether the preset time delay has been delayed; if it is detected that the instruction of updating the window information is received, it is determined that the preset time delay has been delayed; the preview window is minimized, and the window of the remote application is displayed on top.

[0111] For example, the method of starting the window of the remote application can have two methods according to actual needs. The first method is to set a timer according to the time of updating the window information of the remote application, the timer can count down for a preset time length, when a starting event is generated in response to the starting operation triggered for the taskbar icon, the timer is started and the preview window is opened, the preview image is displayed in the preview window, when the timer ends, the preview window is minimized and the window of the remote application is displayed on top, that is, the actual window of the remote application is displayed.

[0112] The second method is that when the local system generates a starting event in response to the starting operation triggered for the taskbar icon, the preview window is first opened in the local interface, the preview image is displayed in the preview window, and the remote system is waited to send the update data required for window updating, that is, the instruction of updating the window information, so as to determine whether the preset time length has been delayed. Therefore, when it is determined that the preset time length has been delayed, the local system minimizes the preview window in the local interface and displays the window of the remote application on top.

[0113] For example, when the remote application is updated in the remote system, the remote system sends the update data to the local system as the instruction of updating the window information, and the local system completes the real-time updating of the window of the remote application according to the received update data. When the local system completes the real-time updating of the window of the remote application, the local system controls the preview window to be minimized in the local interface and displays the window of the remote application on top in the local interface, that is, the actual window of the remote application is displayed.

[0114] In the embodiment of the application, after the taskbar icon is started, the preview image is displayed in the preview window to meet the quick starting and displaying of the window, and the window of the remote application is updated, and when the window of the remote application is updated, the preview window is minimized, so that the seamless display in vision is achieved.

[0115] Based on the same inventive concept, the application provides a device for displaying an application button on a taskbar, please refer to Figure 2 , Figure 2 A structural schematic diagram of a device for displaying an application button on a taskbar is provided in the embodiment of the application, the device is applied to a local system of starting a remote application, a local interface of the local system is provided with a taskbar, and the device comprises:

[0116] A creating unit 21 is configured to create a preview window on the position of the window of the remote application on the local interface according to the window information after receiving the window information of the remote application, and create a taskbar icon corresponding to the remote application in the taskbar, wherein the window information comprises the name of the remote application and the window position information of the remote application.

[0117] The obtaining unit 22 is configured to set a title corresponding to the taskbar icon according to a name of the remote application, and obtain a preview image corresponding to the taskbar icon based on the remote application.

[0118] The display unit 23 is configured to display the preview image and the title in a preset position corresponding to the taskbar icon if it is detected that the taskbar icon is selected, and minimize the preview window and display a window of the remote application on top if it is detected that the taskbar icon is started.

[0119] In a possible implementation, the creating unit 21 is configured to:

[0120] According to the window position information, the preview window is overlapped and arranged in a same position of the window of the remote application, and the preview window and the window of the remote application have a same size, and the preview window covers the window of the remote application in a display state, or

[0121] According to the window position information, a window with a preset size is arranged in an area of the window of the remote application to obtain the preview window, and the preview window has a transparency greater than a set threshold.

[0122] In a possible implementation, the creating unit 21 is further configured to:

[0123] After the preview window is created in the position of the window of the remote application on the local interface according to the window information, if a first trigger event for the position of the preview window is detected, the first trigger event is penetrated to the window of the remote application, and if a second trigger event for the position of the preview window is detected, the window of the remote application is displayed on top, and the second trigger event is forwarded to the window of the remote application.

[0124] In a possible implementation, the obtaining unit 22 is further configured to:

[0125] After the preview image corresponding to the taskbar icon is obtained based on the remote application, if a third trigger event for a position of the preview image of the taskbar icon is detected, the preview window and the window of the remote application are overlapped and displayed in a same position, and if the preview window is started, the preview window is minimized and the window of the remote application is displayed on top.

[0126] In a possible implementation, the display unit 23 is configured to:

[0127] The display unit 23 is configured to display the preview window, display the preview image in the preview window, and minimize the preview window after a preset time period is delayed.

[0128] In a possible implementation, the display unit 23 is configured to:

[0129] According to the time of updating the remote application window information, a timer is set; the timer is started when the preview window is displayed; if it is detected that the timer is zero, the preview window is minimized.

[0130] In a possible implementation, the display unit 23 is configured to:

[0131] After the preview window is displayed, it is detected whether an instruction for updating the remote application window information is received, to determine whether the preset time period has been delayed;

[0132] If it is detected that the instruction for updating the window information is received, it is determined that the preset time period has been delayed;

[0133] The preview window is minimized, and the window of the remote application is displayed on top.

[0134] Please refer to Figure 3 The device for training the prediction model or the device for recommending the content can run on the computer device 300, and the current version and the historical version of the data storage program and the application software corresponding to the data storage program can be installed on the computer device 300. The computer device 300 includes a processor 380 and a memory 320. In some embodiments, the computer device 300 can include a display unit 340, which includes a display panel 341, for displaying a user interaction interface and the like.

[0135] In a possible embodiment, the display panel 341 can be configured in the form of a liquid crystal display (LCD) or an organic light-emitting diode (OLED).

[0136] The processor 380 is configured to read a computer program and then execute the method defined in the computer program. For example, the processor 380 reads the data storage program or a file, so as to run the data storage program on the computer device 300 and display the corresponding interface on the display unit 340. The processor 380 can include one or more general-purpose processors, and can further include one or more digital signal processors (DSPs) for performing related operations to implement the technical solutions provided in the embodiments of the present application.

[0137] The memory 320 generally includes internal memory and external memory. The internal memory can be random access memory (RAM), read only memory (ROM), cache memory (CACHE), etc. The external memory can be a hard disk, an optical disk, a USB disk, a floppy disk, a tape drive, etc. The memory 320 is used to store computer programs and other data. The computer programs include application programs corresponding to respective clients, etc. The other data can include data generated after an operating system or an application program is run, including system data (e.g., configuration parameters of the operating system) and user data. In the embodiments of the present application, program instructions are stored in the memory 320, and the processor 380 executes the program instructions in the memory 320 to implement any one of the methods discussed above with reference to the drawings.

[0138] The display unit 340 is used to receive inputted digital information, character information or contact touch operation / non-contact gesture, and generate signal input related to user settings and function control of the computer device 300, etc. Specifically, in the embodiments of the present application, the display unit 340 can include a display panel 341. The display panel 341, for example, a touch screen, can collect touch operations (such as user operations on or near the display panel 341 using a finger, a stylus or any suitable object or accessory) of a user on or near the display panel 341 and drive corresponding connection devices according to a pre-set program.

[0139] In a possible embodiment, the display panel 341 can include two parts, a touch detection device and a touch controller. The touch detection device detects the touch position of the player and detects the signal caused by the touch operation and transmits the signal to the touch controller. The touch controller receives the touch information from the touch detection device, converts it into touch coordinates and sends it to the processor 380, and can receive commands from the processor 380 and execute them.

[0140] The display panel 341 can be implemented in various types such as resistive, capacitive, infrared and surface acoustic wave, etc. In addition to the display unit 340, in some embodiments, the computer device 300 can further include an input unit 330. The input unit 330 can include an image input device 331 and other input devices 332. The other input devices can include one or more of a physical keyboard, function keys (such as volume control keys, on / off keys, etc.), a trackball, a mouse, a joystick, etc.

[0141] In addition to the above, the computer device 300 can also include a power supply 390 for powering other modules, audio circuitry 360, near field communication (NFC) module 370, and RF circuitry 310. The computer device 300 can also include one or more sensors 350, such as an acceleration sensor, a light sensor, a pressure sensor, etc. The audio circuitry 360 specifically includes a speaker 361 and a microphone 362, etc., for example, the computer device 300 can collect the user's voice through the microphone 362, and perform corresponding operations, etc.

[0142] As an embodiment, the number of processors 380 can be one or more, and the processor 380 and the memory 320 can be coupled or relatively independent.

[0143] As an embodiment, Figure 3 The processor 380 in the computer device 300 can be used to implement the functions of the creating unit 21, the obtaining unit 22, and the display module 23 in the computer device 300. Figure 2 The processor 380 in the computer device 300 can be used to implement the functions of the creating unit 21, the obtaining unit 22, and the display module 23 in the computer device 300.

[0144] As an embodiment, Figure 3 The processor 380 in the computer device 300 can be used to implement the functions of the creating unit 21, the obtaining unit 22, and the display module 23 in the computer device 300.

[0145] Those skilled in the art can understand that all or part of the steps of the above-mentioned method embodiments can be completed by program instructions related to hardware, and the foregoing programs can be stored in a computer readable storage medium, and the programs are executed when executed, and the steps of the above-mentioned method embodiments are executed; and the storage medium includes: mobile storage equipment, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, and various storage program codes.

[0146] Alternatively, the integrated units of the present application can be stored in a computer readable storage medium if they are realized in the form of software function modules and sold or used as independent products. Based on such understanding, the technical solutions of the embodiments of the present application can be embodied in the form of software products, for example, through a computer program product, which is stored in a storage medium and includes a plurality of instructions for causing a computer device to execute all or part of the methods described in the embodiments of the present application. The storage medium includes: mobile storage equipment, ROM, RAM, magnetic disk or optical disk, and various storage program codes.

[0147] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.

Claims

1. A method for displaying application buttons in a taskbar, applied to a local system for opening remote applications, wherein the local system has a taskbar in its local interface, characterized in that... The method comprises the following steps: after receiving the window information of the remote application, creating a preview window on the local interface at the position of the window of the remote application according to the window information, and creating a taskbar icon corresponding to the remote application in the taskbar; wherein the window information comprises the name of the remote application and the window position information of the remote application; setting the title corresponding to the taskbar icon according to the name of the remote application, and obtaining the preview image corresponding to the taskbar icon based on the remote application; if it is detected that the taskbar icon is selected, displaying the preview image and the title at a preset position corresponding to the taskbar icon; if it is detected that the taskbar icon is started, minimizing the preview window and displaying the window of the remote application on top.

2. The method of claim 1, wherein, creating a preview window on the local interface at the position of the window of the remote application according to the window information comprises: according to the window position information, overlappingly arranging the preview window at the same position of the window of the remote application; wherein the preview window and the window of the remote application are of the same size, and the preview window covers the window of the remote application in a display state; or, according to the window position information, arranging a window of a preset size in the area of the window of the remote application to obtain the preview window; wherein the number of pixels of the window of the preset size is less than that of the window of the remote application, and the transparency of the preview window is greater than a set threshold.

3. The method of claim 1, wherein, after creating a preview window on the local interface at the position of the window of the remote application according to the window information, the method further comprises: if a first trigger event for the position of the preview window is detected, penetrating the first trigger event to the window of the remote application; if a second trigger event for the position of the preview window is detected, displaying the window of the remote application on top and forwarding the second trigger event to the window of the remote application.

4. The method of claim 1, wherein, after obtaining the preview image corresponding to the taskbar icon based on the remote application, the method further comprises: if a third trigger event for the position of the preview image of the taskbar icon is detected, overlappingly displaying the preview window and the window of the remote application at the same position; if the preview window is detected to be started, minimizing the preview window and displaying the window of the remote application on top.

5. The method of claim 1, wherein, minimizing the preview window comprises: displaying the preview window; displaying the preview image in the preview window; delaying for a preset time length and then minimizing the preview window.

6. The method of claim 5, wherein, delaying for a preset time length and then minimizing the preview window comprises: setting a timer according to the time of updating the window information of the remote application; starting the timer when the preview window is displayed; if it is detected that the timer is zero, minimizing the preview window.

7. The method of claim 5, wherein, delaying for a preset time length and then minimizing the preview window comprises: after displaying the preview window, detecting whether an instruction for updating the window information of the remote application is received to determine whether the preset time length has been delayed; if it is detected that the instruction for updating the window information is received, it is determined that the preset time length has been delayed; minimizing the preview window and displaying the window of the remote application on top.

8. An apparatus for displaying an application button on a task bar, applied to a local system for opening a remote application, wherein a local interface of the local system is provided with the task bar, and the apparatus is characterized in that, The method comprises the following steps: A creating unit is configured to, after receiving window information of the remote application, create a preview window on a position of a window of the remote application on the local interface according to the window information, and create a taskbar icon corresponding to the remote application in the taskbar; wherein the window information comprises a name of the remote application and window position information of the remote application; An obtaining unit is configured to set a title corresponding to the taskbar icon according to the name of the remote application, and obtain a preview image corresponding to the taskbar icon based on the remote application; A displaying unit is configured to, if it is detected that the taskbar icon is selected, display the preview image and the title in a preset position corresponding to the taskbar icon; and if it is detected that the taskbar icon is started, minimize the preview window and display a window of the remote application on top.

9. A computer device, comprising: The method comprises the following steps: A memory is configured to store program instructions; A processor is configured to invoke the program instructions stored in the memory, and execute the method according to any one of claims 1-7.

10. A computer-readable storage medium, characterized in that, The computer readable storage medium stores computer executable instructions, and the computer executable instructions are used to make the computer execute the method according to any one of claims 1-7.

Citation Information

Patent Citations

  • Methods and systems for generating a combined display of taskbar button group entries generated on a local machine and on a remote machine

    CN102754091A

  • Method and system for clustering and grouping taskbar buttons

    US20010035882A1