Notification message display method, system, device and storage medium

Through the remote connection, the controlled terminal monitors and sends notification data. The remote connection control terminal displays notification messages in the local operating system, solving the problem of notification messages hidden in the remote desktop connection, ensuring that users are promptly aware of notification events in the remote operating system.

CN115576715BActive Publication Date: 2025-08-26ALIBABA (CHINA) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211282096.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-19
Publication Date
2025-08-26
Estimated Expiration
2042-10-19

AI Technical Summary

Technical Problem

In a remote desktop connection, when the user opens multiple display windows on the device where the remote connection control end is located, the notification message from the remote computer may be hidden, causing the user to not see important notifications in time, such as the restart message of automated updates.

Method used

The remote connection controlled terminal monitors notification events in the remote operating system and sends notification data to the remote connection control terminal. The control terminal calls the notification function of the local operating system to display notification messages in the notification area to ensure that notification messages are always visible, including detecting the status of the remote desktop display window and displaying notifications when they are not visible, prioritizing and resource management.

Benefits of technology

It realizes that notification messages in the remote operating system are always visible to users under any circumstances, avoid missing key notifications, and reasonably utilize the notification resources of the local operating system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115576715B_ABST
    Figure CN115576715B_ABST
Patent Text Reader

Abstract

One or more embodiments of the present specification provide a notification message display method, system, device and storage medium. The notification message display method is applied to a remote connection control terminal, the remote connection control terminal and the remote connection controlled terminal are in communication connection, the remote connection control terminal runs in a local operating system, and the remote connection controlled terminal runs in a remote operating system; the method includes: receiving notification data sent by the remote connection controlled terminal, the notification data is obtained by the remote connection controlled terminal monitoring the notification event in the remote operating system; according to the notification data, calling the notification function of the local operating system to display the notification message corresponding to the notification data in the notification area of ​​the local operating system; wherein, the notification message is at least used to prompt: there is a notification event in the remote operating system. This embodiment ensures that the notification message corresponding to the notification data in the remote operating system is visible to the user under any circumstances.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] One or more embodiments of the present specification relate to the field of information display technology, and more particularly, to a notification message display method, system, device, and storage medium. Background Art

[0002] In related technologies, remote desktop connection is a mode of remotely operating a computer. It can be used to visually access the desktop environment of a remote computer (physical device or virtual device), such as when an administrator manages a remote computer server on a client computer. The remote controlled terminal can send the desktop display content of the remote computer to the remote control terminal, so that the device where the remote control terminal is located can display the desktop display content of the remote computer. However, when a user opens multiple display windows on the device where the remote control terminal is located, a display window used to display the desktop display content of the remote computer may be hidden and invisible to the user, which may prevent the user from timely viewing relevant notification messages from the remote computer. Summary of the Invention

[0003] In view of this, one or more embodiments of this specification provide a notification message display method, system, device, and storage medium.

[0004] To achieve the above objectives, one or more embodiments of this specification provide the following technical solutions:

[0005] According to a first aspect of one or more embodiments of the present specification, a notification message display method is provided, which is applied to a remote connection control terminal, wherein the remote connection control terminal is in communication with a remote connection controlled terminal, wherein the remote connection control terminal runs in a local operating system, and the remote connection controlled terminal runs in a remote operating system; the method includes:

[0006] Receiving notification data sent by a remotely connected controlled terminal, wherein the notification data is obtained by the remotely connected controlled terminal monitoring a notification event in a remote operating system;

[0007] According to the notification data, a notification function of the local operating system is called to display a notification message corresponding to the notification data in a notification area of ​​the local operating system; wherein the notification message is at least used to prompt that a notification event exists in the remote operating system.

[0008] Optionally, calling a notification function of a local operating system according to the notification data to display a notification message corresponding to the notification data in a notification area of ​​the local operating system includes:

[0009] Detecting the display status of the remote desktop display window maintained by the remote connection control terminal;

[0010] If the display state of the remote desktop display window is invisible to the user, a notification function of the local operating system is called according to the notification data to display a notification message corresponding to the notification data in a notification area of ​​the local operating system.

[0011] Optionally, detecting a display status of a remote desktop display window maintained by the remote connection control terminal includes:

[0012] Check whether the remote desktop display window maintained by the remote connection control end is minimized to the system tray or blocked by other display windows;

[0013] If so, determine that the display state of the remote desktop window is invisible to the user.

[0014] Optionally, the notification data includes notification parameters corresponding to the notification message;

[0015] The calling of a notification function of the local operating system according to the notification data to display a notification message corresponding to the notification data in a notification area of ​​the local operating system includes:

[0016] The notification interface of the local operating system is called to set notification parameters, so as to display a notification message based on the notification parameters in the notification area of ​​the local operating system.

[0017] Optionally, after calling the notification function of the local operating system according to the notification data to display the notification message corresponding to the notification data in the notification area of ​​the local operating system, the method further includes:

[0018] In response to the notification message being triggered, placing the layer where the remote desktop display window maintained by the remote connection control terminal is located at the top layer to display the remote desktop display content in the remote desktop display window, wherein the remote desktop display content is generated by the remote operating system and sent by the remote connection controlled terminal to the remote connection control terminal; and notifying the local operating system to delete the notification message displayed in the notification area; and / or

[0019] In response to the notification message not being triggered within a preset time period, the local operating system is notified to delete the notification message displayed in the notification area.

[0020] Optionally, the notification events in the remote operating system come from different applications in the remote operating system, and different applications have different notification priorities;

[0021] The calling of a notification function of the local operating system according to the notification data to display a notification message corresponding to the notification data in a notification area of ​​the local operating system includes:

[0022] In a case where there are multiple notification messages corresponding to the notification data and the notification messages come from different applications, determining a target number of display positions required for the multiple notification messages corresponding to the notification data in the notification area of ​​the local operating system;

[0023] If the remaining number of display locations in the notification area of ​​the local operating system is less than the target number, selecting target notification data from the notification data according to the remaining number and the notification priorities of different applications to which the notification data belong, the notification priority of the application to which the target notification data belongs being higher than the notification priority of the applications to which the remaining notification data belong;

[0024] A notification function of the local operating system is called according to the target notification data, so as to display a notification message corresponding to the target notification data in a notification area of ​​the local operating system.

[0025] Optionally, the notification priority of the application is determined according to the real-time requirement of the application, which is positively correlated with the notification priority; and / or the notification priority of the application is determined according to the access frequency of the application, which is positively correlated with the notification priority.

[0026] According to a second aspect of one or more embodiments of this specification, a notification message display method is provided, which is applied to a remotely connected controlled terminal, wherein the remotely connected controlled terminal is in communication with a remotely connected control terminal, the remotely connected control terminal runs in a local operating system, and the remotely connected controlled terminal runs in a remote operating system; the method includes:

[0027] Monitor notification events in the remote operating system to obtain notification data;

[0028] The notification data is sent to the remote connection control terminal, so that the remote connection control terminal calls the notification function of the local operating system according to the notification data and displays the notification message corresponding to the notification data in the notification area of ​​the local operating system.

[0029] Optionally, notification data of an application in the remote operating system is written into a notification database by the remote operating system after the application calls a notification function of the remote operating system;

[0030] The monitoring of notification events in the remote operating system to obtain notification data includes:

[0031] Monitor the data writing event in the notification database and obtain notification data corresponding to the data writing event.

[0032] According to a third aspect of one or more embodiments of the present specification, a remote connection system is provided, comprising a remote connection control terminal and a remote connection controlled terminal, wherein the remote connection control terminal and the remote connection controlled terminal are communicatively connected, the remote connection control terminal runs in a local operating system, and the remote connection controlled terminal runs in a remote operating system;

[0033] The remote connection controlled end is used to monitor notification events in the remote operating system to obtain notification data; and send the notification data to the remote connection control end;

[0034] The remote connection control end is used to receive notification data sent by the remote connection controlled end; based on the notification data, call the notification function of the local operating system to display the notification message corresponding to the notification data in the notification area of ​​the local operating system; wherein, the notification message is at least used to prompt: there is a notification event in the remote operating system.

[0035] According to a fourth aspect of one or more embodiments of this specification, an electronic device is provided, including:

[0036] processor;

[0037] a memory for storing processor-executable instructions;

[0038] The processor implements the method according to any one of the first aspect or the second aspect by running the executable instructions.

[0039] According to a fifth aspect of one or more embodiments of this specification, a computer-readable storage medium is proposed, on which computer instructions are stored. When the instructions are executed by a processor, the steps of the method described in any one of the first aspect or the second aspect are implemented.

[0040] The embodiments of this specification have the following beneficial effects:

[0041] After the remote connection controlled end monitors a notification event in the remote operating system and sends the acquired notification data to the remote connection controlling end, the remote connection controlling end can invoke the notification function of the local operating system based on the notification data to display a notification message corresponding to the notification data in the notification area of ​​the local operating system. This embodiment implements displaying the notification message corresponding to the notification data in the remote operating system in the notification area of ​​the local operating system, ensuring that the notification message corresponding to the notification data in the remote operating system is visible to the user in all circumstances, allowing the user to promptly be notified of the existence of a notification event in the remote operating system. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 The figure is a schematic diagram of a remote desktop display window provided by an exemplary embodiment.

[0043] Figure 2 This is a schematic diagram of an exemplary embodiment in which a remote desktop display window is blocked by other display windows.

[0044] Figure 3 This is a schematic diagram of the architecture of a remote connection system provided by an exemplary embodiment.

[0045] Figure 4 It is a timing interaction diagram of a remote connection control terminal and a remote connection controlled terminal provided by an exemplary embodiment.

[0046] Figure 5 This is a flowchart of a notification message display method provided by an exemplary embodiment.

[0047] Figure 6 This is a flowchart of another notification message display method provided by an exemplary embodiment.

[0048] Figure 7 It is a structural diagram of a device provided by an exemplary embodiment. DETAILED DESCRIPTION

[0049] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements, unless otherwise indicated. The implementations described in the following exemplary embodiments are not intended to represent all implementations consistent with one or more embodiments of this specification. Rather, they are merely examples of apparatuses and methods consistent with certain aspects of one or more embodiments of this specification, as detailed in the appended claims.

[0050] It should be noted that in other embodiments, the steps of the corresponding method are not necessarily performed in the order shown and described in this specification. In some other embodiments, the method may include more or fewer steps than those described in this specification. In addition, a single step described in this specification may be broken down into multiple steps for description in other embodiments, and multiple steps described in this specification may be combined into a single step for description in other embodiments.

[0051] For related technologies, see Figure 1 , the remote connection server can send the desktop display content of the remote computer to the remote connection control terminal, so that the desktop display content of the remote computer is displayed on the device where the remote connection control terminal is located. Figure 1 In the display desktop of the local operating system shown, the desktop display content in the remote computer can be displayed in the remote desktop display window. Figure 1It can be seen that the notification message in the remote computer can be displayed in the notification area of ​​the remote operating system, and the notification message in the local computer can be displayed in the notification area of ​​the local operating system.

[0052] See also Figure 2 When a user opens one or more display windows on the device where the remote connection control terminal is located, other display windows may be display windows of applications on the device where the remote connection control terminal is located or other remote desktop display windows maintained by other remote connection control terminals. This may cause a remote desktop display window used to display the desktop display content of the remote computer to be hidden, which will prevent the user from seeing relevant notification messages from the remote computer in a timely manner. For example, Figure 2 In the example, the remote desktop display window used to display the desktop display content of the remote computer is blocked by display window 1. Figure 2 For better demonstration, display window 1 is made transparent to a certain extent. In actual scenarios, the transparency of display window 1 is 0, resulting in the remote desktop display window being completely invisible. The user is also unable to see the notification message displayed in the remote desktop display window, which may cause the user to miss key information in the remote computer, such as the automated update has triggered a restart message with a countdown (if the user misses it, the remote computer will automatically restart).

[0053] In response to the problems in the related art, an embodiment of this specification provides a notification message display method, which is applied to a remote connection system, the system including a remote connection control terminal and a remote connection controlled terminal, the remote connection control terminal and the remote connection controlled terminal being communicatively connected, the remote connection control terminal running in a local operating system, and the remote connection controlled terminal running in a remote operating system. The remote connection controlled terminal can monitor notification events in the remote operating system to obtain notification data, and then send the notification data to the remote connection control terminal; the remote connection control terminal can call the notification function of the local operating system based on the notification data to display a notification message corresponding to the notification data in the notification area of ​​the local operating system; wherein the notification message is at least used to prompt: there is a notification event in the remote operating system. This embodiment realizes the display of the notification message corresponding to the notification data in the remote operating system in the notification area of ​​the local operating system, so that the notification message corresponding to the notification data in the remote operating system is visible to the user under any circumstances, so that the user can promptly know that there is a notification event in the remote operating system.

[0054] Here we first explain the relevant terms that appear in this embodiment:

[0055] Generally speaking, remote control is divided into two parts: the remote connection host and the remote connection control terminal. For example, if a computer is running the remote connection host, it can be controlled by another computer running the remote connection control terminal.

[0056] Remote connection controlled end: communicates with the remote connection control end, runs in the remote operating system, and is used to send the desktop display content, sound, etc. of the remote operating system to the remote connection control end, so that the desktop display content of the remote operating system can be displayed on the device where the remote connection control end is located, and the sound can also be played on the device where the remote connection control end is located; and receives control data sent by the remote connection control end (including but not limited to mouse, keyboard or sound data), so that the remote operating system and related applications in the remote operating system can be controlled according to the control data to perform related operations.

[0057] Remote connection control terminal: runs on the local operating system, is used to maintain a display window to display the desktop display content of the remote operating system, and receives control data (including but not limited to mouse, keyboard or sound data) from the device and sends it to the remote connection controlled terminal.

[0058] Remote operating system: An operating system running on a remote server (or remote computer), such as Windows, Linux, or Mac. The remote operating system can be a host system running on the remote server or a guest system running on the remote server, and this embodiment does not impose any restrictions on this.

[0059] Local operating system: The operating system running on the device where the remote control terminal is located, such as Windows, Mac, Linux and other operating systems running on PCs (Personal computers), Android, iOS (iPhone OS) and other operating systems running on mobile phones, and Linux and other operating systems running on other proprietary embedded devices.

[0060] The device where the remote connection control terminal is located includes but is not limited to a laptop computer, desktop computer, all-in-one system, thin client, workstation, tablet computing device, mobile phone, or any other computing device suitable for running the functions described below.

[0061] Exemplarily, the remote connection controlled terminal and the remote connection control terminal can be applications built into the remote operating system and the local operating system. For example, if both the remote operating system and the local operating system are Windows operating systems, remote connection can be achieved through the remote connection function built into the Windows operating system, and the user can choose to control or be controlled based on actual needs. Exemplarily, the remote connection controlled terminal can be a third-party application installed on the remote operating system, and the remote connection control terminal can be a third-party application installed on the local operating system. This embodiment does not impose any restrictions on this.

[0062] Notification events: Some events generated by the operating system or applications in the operating system, which are displayed in the notification area of ​​the operating system (such as Figure 1 The notification bar shown in FIG. 1 usually appears in the form of a small flashing icon or a message prompt box; for example, notification messages from chat software, system upgrade messages, system alarm messages, etc. will generate notification events.

[0063] In order to make it easier for readers to understand the present embodiment, the following is an exemplary description of the remote connection system provided in the present embodiment. Figure 3 as well as Figure 4 The remote connection system includes a remote connection control terminal 10 and a remote connection controlled terminal 20, which are in communication connection with each other. The remote connection control terminal 10 runs on a local operating system 100, and the remote connection controlled terminal 20 runs on a remote operating system 200. For example, Figure 3 As shown, the remote operating system 200 can be installed in a remote server. The remote operating system 200 can be a host operating system (host operating system) in the server or a guest operating system (guest operating system) in the server; the local operating system 100 can be installed in the user's desktop computer.

[0064] The remote connection controlled terminal 20 is used to monitor notification events in the remote operation system 200 to obtain notification data (step 101); and then the notification data can be sent to the remote connection control terminal 10 (step 102).

[0065] The remote connection control terminal 10 is used to receive notification data sent by the remote connection controlled terminal 20; based on the notification data, the notification function of the local operating system 100 is called to display the notification message corresponding to the notification data in the notification area of ​​the local operating system 100; wherein, the notification message is at least used to prompt: there is a notification event in the remote operating system 200 (step 103).

[0066] The notification area of ​​the local operating system is explained here: In order to ensure that the user can see the notification messages in the local operating system, the layer where the notification area of ​​the local operating system is located is at a higher level than the layer where any other display window is located, so that the notification area of ​​the local operating system will not be blocked by other display windows, that is, the notification area of ​​the local operating system is always visible to the user.

[0067] Compared with the related art, the remote connection controlled end 20 has added the function of obtaining and sending notification data, and the remote connection control end 10 has added the function of calling the notification function of the local operating system 100 to display the notification message corresponding to the notification data in the local operating system 100, so that the notification message corresponding to the notification data in the remote operating system 200 is visible to the user under any circumstances, so that the user can be informed of the existence of notification events in the remote operating system 200 in a timely manner and avoid missing key notifications in the remote operating system 200.

[0068] The method of obtaining notification data varies depending on the type of the remote operation system 200 .

[0069] In a possible implementation, taking the remote operating system as a Windows system as an example: after receiving the notification data, the application in the remote operating system 200 can call the notification function of the remote operating system 200 (such as a notification interface) to display the notification message corresponding to the notification data in the notification area of ​​the remote operating system 200; and, after the application in the remote operating system 200 calls the notification function of the remote operating system 200, in addition to displaying the notification message corresponding to the notification data in the notification area, the remote operating system 200 can also write the notification data into a notification database to implement log recording, and the remote connection controlled end 20 can monitor the data writing events in the notification database, obtain the notification data corresponding to the data writing events, and then send the obtained notification data to the remote connection control end 10.

[0070] In another possible implementation, taking the Android system as an example, the remote operating system 200 provides a notification monitoring function, and the remote connection controlled terminal 200 can call the notification monitoring function provided by the remote operating system 200 (such as a notification monitoring interface) to monitor notification events in the remote operating system 200. After receiving notification data, the application in the remote operating system 200 can call the notification function of the remote operating system 200 (such as a notification interface) to send the notification data to the operating system, so that the remote operating system 200 can display the notification message corresponding to the notification data in the notification area; and when the remote connection controlled terminal 200 calls the notification monitoring function, the remote operating system 200 can notify the remote connection controlled terminal 20 so that the remote connection controlled terminal 200 can obtain the notification data.

[0071] Of course, it is not excluded that other types of operating systems may also obtain notification data through any of the above methods, and this embodiment does not impose any limitation on this.

[0072] In some embodiments, the remote connection control terminal 10 runs in the local operating system 100 and can use some functions of the local operating system 100, such as the notification function. After receiving notification data sent by the remote connection controlled terminal 20, the remote connection control terminal 100 can invoke the notification function of the local operating system 100 based on the notification data to display a notification message corresponding to the notification data in the notification area of ​​the local operating system 100; wherein the notification message is at least used to prompt: there is a notification event in the remote operating system 200, so that the notification message corresponding to the notification data in the remote operating system 200 is visible to the user in any case, so that the user can promptly be informed of the notification event in the remote operating system 200.

[0073] In one possible implementation, the notification data includes notification parameters corresponding to the notification message. The remote connection control terminal 10 can call the notification interface of the local operating system 100 to set the notification parameters, so as to display the notification message represented by the notification parameters in the notification area of ​​the local operating system 100. Exemplarily, the notification parameters include, but are not limited to, an icon, a notification title, and / or notification content. Furthermore, the notification parameters may also include information other than visual information, such as sound prompt parameters, vibration parameters, etc., thereby implementing sound and / or vibration reminders. This embodiment does not impose any restrictions on this.

[0074] In some embodiments, considering that the remote desktop display window maintained by the remote connection control terminal 10 is visible to the user, such as Figure 1As shown, the user can directly see the notification message of the remote operating system 200 from the remote desktop display content displayed in the remote desktop display window, so there is no need to display the notification message of the remote operating system 200 in the notification area of ​​the local operating system 100, so as to avoid occupying too many notification resources of the local operating system 100.

[0075] The remote connection control terminal 10 can detect the display status of the remote desktop display window maintained by itself while receiving the notification data sent by the remote connection controlled terminal 20. For example, the remote connection control terminal 10 can detect whether the remote desktop display window maintained by itself is minimized to the system tray, or whether the remote desktop display window maintained by itself is blocked by other display windows (for example, the layer where the remote desktop display window maintained by the remote connection control terminal 10 is located is not the top layer); if it is detected that the remote desktop display window maintained by the remote connection control terminal 10 has any of the above conditions, it can be determined that the display status of the remote desktop window is invisible to the user; otherwise, it is determined that the display status of the remote desktop window is visible to the user.

[0076] When it is determined that the display state of the remote desktop display window is invisible to the user, the remote connection control terminal 10 can call the notification function of the local operating system 100 according to the notification data to display the notification message corresponding to the notification data in the notification area of ​​the local operating system 100. Otherwise, the notification message corresponding to the notification data is not displayed in the notification area of ​​the local operating system 100 because the user can see the notification message in the remote desktop display content displayed in the remote desktop display window, thereby realizing the rational utilization of the notification resources of the local operating system 100.

[0077] In some embodiments, considering that the local operating system 100 displays not only notification information from the remote operating system 200 but also notification messages from applications in the operating system, it is convenient to distinguish the source of the notification messages displayed on the operating system. Exemplarily, the source identifier of the notification message can be displayed while displaying the notification message, so that the user can intuitively understand the source of the notification message. Exemplarily, the notification area of ​​the operating system can be divided into at least two sub-areas, one of which is used to display notification messages from applications in the operating system, and the other sub-area is used to display notification messages from the remote operating system 200. It is understandable that when the device where the local operating system 100 is located is connected to multiple remote operating systems 200, multiple remote desktop display windows are displayed accordingly, and application messages from different remote operating systems 200 are displayed in different sub-areas to facilitate user distinction.

[0078] In some embodiments, in addition to displaying notifications from the remote operating system 200, the local operating system 100 also displays notifications from applications within the local operating system. However, the local operating system 100 has limited space for displaying notifications in its notification area. Therefore, if there are a large number of notifications, not all of them may be displayed. To address these situations, different applications within the remote operating system 200 can be assigned different notification priorities based on actual needs.

[0079] For example, the notification priority of any application can be determined based on the real-time requirement of the application. The real-time requirement is positively correlated with the notification priority, that is, the higher the real-time requirement, the higher the notification priority, and conversely, the lower the real-time requirement, the lower the notification priority; for example, the real-time requirement of instant messaging applications is higher than that of offline data downloading applications, so the notification priority of instant messaging applications is higher than that of offline data downloading applications; for another example, the real-time requirement of system built-in applications is higher than that of third-party applications, that is, the notification priority of system built-in applications is higher than that of third-party applications.

[0080] For example, the notification priority of any application can be determined based on the access frequency of the application. The access frequency is positively correlated with the notification priority. The higher the access frequency, the higher the user's attention. A higher notification priority can be set so that priority notification can be given when the notification area resources of the local operating system 100 are insufficient. Conversely, a lower access frequency indicates that the user pays less attention, so a lower notification priority can be set.

[0081] Of course, the access priority of an application can also be determined by combining both the real-time requirement and the access frequency. For example, different weights can be set for the real-time requirement and the access frequency, and the access priority of the application can be determined by weighted summation. This embodiment does not impose any restrictions on this. For example, the user can also set different notification priorities for different applications of the remote operating system 200 according to their own needs.

[0082] The notification events in the remote operating system 200 come from different applications in the remote operating system 200, and different applications have different notification priorities. After receiving the notification data sent by the remote connection controlled terminal 20, if the remote connection control terminal 10 detects that there are multiple notification messages corresponding to the notification data and that they come from different applications, it can first determine the target number of display positions required for the multiple notification messages corresponding to the notification data in the notification area of ​​the local operating system 100, and obtain the remaining number of display positions in the notification area of ​​the local operating system 100; if the remaining number of display positions in the notification area of ​​the local operating system 100 is less than the target number, it can select target notification data from the notification data according to the remaining number and the notification priorities of the different applications to which the notification data belongs, the notification priority of the application to which the target notification data belongs is higher than the notification priority of the applications to which the remaining notification data belongs; and then call the notification function of the local operating system 100 according to the target notification data to display the notification message corresponding to the target notification data in the notification area of ​​the local operating system 100. In this embodiment, when the display resources of the notification area of ​​the local operating system 100 are insufficient, notification messages with high notification priorities are displayed first. Notification messages with high notification priorities are messages that the user is concerned about or needs to be processed immediately, thereby meeting the user's needs.

[0083] In some embodiments, after the remote connection control end 10 calls the notification function of the local operating system 100 according to the notification data to display the notification message corresponding to the notification data in the notification area of ​​the local operating system 100, the remote connection control end 10 can, in response to the notification message being triggered, place the layer where the remote desktop display window maintained by the remote connection control end 10 is located on the top layer to display the remote desktop display content in the remote desktop display window; and notify the local operating system 100 to delete the notification message displayed in the notification area.

[0084] For example, after the notification message corresponding to the notification data is displayed in the notification area of ​​the local operating system 100, the user can perform an operation to trigger the notification message according to actual needs. The operation to trigger the notification message includes but is not limited to a click-to-view operation or a long press-to-open display window operation performed by the user at the display location of the notification message, etc. After the user performs any of the above operations to trigger the notification message, the remote connection control end 10 can display the remote desktop display content in the remote desktop display window in response to the notification message being triggered; however, this embodiment does not impose any restrictions on this.

[0085] The remote desktop display content is generated by the remote operating system 200 and sent by the remote connection controlled terminal 20 to the remote connection control terminal 10. For example, the remote connection controlled terminal 20 may mirror the remote desktop display content generated by the remote operating system 200, then encode the mirrored remote desktop display content, and then send the encoded code stream to the remote connection control terminal 10. After decoding the code stream, the remote connection control terminal 10 displays the mirrored remote desktop display content in the remote desktop display window.

[0086] In other embodiments, in order to avoid occupying the notification resources of the notification area of ​​the local operating system 100 for a long time, in response to the notification message not being triggered within the preset time period, the remote connection control terminal 10 can notify the local operating system 100 to delete the notification message displayed in the notification area, thereby realizing the rational use of the notification resources of the local operating system 100. It is understandable that the preset time period can be specifically set according to the actual application scenario, and this embodiment does not impose any restrictions on this. For example, the triggering data of the user's response to the notification message in the notification area within a historical time period can be obtained. The triggering data records the time elapsed from the display of the notification message to the triggering. The preset time period can be determined by counting the time period recorded in the triggering data. For example, the preset time period is the average, median or maximum value of the time period recorded in the triggering data, thereby realizing the setting of a personalized preset time period for the user to meet the user's triggering habits.

[0087] It is not difficult to understand that the solutions described in the above embodiments can be combined when there is no conflict, and they are not listed one by one in the embodiments of this specification.

[0088] Accordingly, see Figure 5 The present specification also provides a notification message display method, which is applied to a remote connection control terminal, wherein the remote connection control terminal is in communication with a remote connection controlled terminal, the remote connection control terminal runs in a local operating system, and the remote connection controlled terminal runs in a remote operating system; the method includes:

[0089] In step S201, notification data sent by a remote connection controlled terminal is received, wherein the notification data is obtained by the remote connection controlled terminal monitoring a notification event in a remote operating system.

[0090] In step S202, based on the notification data, the notification function of the local operating system is called to display a notification message corresponding to the notification data in the notification area of ​​the local operating system; wherein the notification message is at least used to prompt: there is a notification event in the remote operating system.

[0091] In this embodiment, the remote connection control terminal implements displaying a notification message corresponding to the notification data in the remote operating system in the notification area of ​​the local operating system, so that the notification message corresponding to the notification data in the remote operating system is visible to the user under any circumstances, so that the user can promptly be informed of the existence of a notification event in the remote operating system. In some embodiments, calling the notification function of the local operating system based on the notification data to display the notification message corresponding to the notification data in the notification area of ​​the local operating system includes: detecting the display state of the remote desktop display window maintained by the remote connection control terminal; if the display state of the remote desktop display window is invisible to the user, calling the notification function of the local operating system based on the notification data to display the notification message corresponding to the notification data in the notification area of ​​the local operating system; otherwise, not displaying the notification message corresponding to the notification data in the notification area of ​​the local operating system.

[0092] In some embodiments, detecting the display status of the remote desktop display window maintained by the remote connection control end includes: detecting whether the remote desktop display window maintained by the remote connection control end is minimized to the system tray or blocked by other display windows; if so, determining that the display status of the remote desktop window is a user-invisible state; otherwise, determining that the display status of the remote desktop window is a user-visible state.

[0093] In some embodiments, the notification data includes notification parameters corresponding to the notification message. Calling a notification function of the local operating system based on the notification data to display the notification message corresponding to the notification data in the notification area of ​​the local operating system includes calling a notification interface of the local operating system to set notification parameters, thereby displaying a notification message based on the notification parameters in the notification area of ​​the local operating system.

[0094] In some embodiments, after calling the notification function of the local operating system according to the notification data to display the notification message corresponding to the notification data in the notification area of ​​the local operating system, it also includes: in response to the notification message being triggered, placing the layer where the remote desktop display window maintained by the remote connection control end is located on the top layer to display the remote desktop display content in the remote desktop display window, wherein the remote desktop display content is generated by the remote operating system and sent by the remote connection controlled end to the remote connection control end; and, notifying the local operating system to delete the notification message displayed in the notification area; and / or in response to the notification message not being triggered within a preset time period, notifying the local operating system to delete the notification message displayed in the notification area.

[0095] In some embodiments, the notification events in the remote operating system come from different applications in the remote operating system, and different applications have different notification priorities. The method of calling the notification function of the local operating system based on the notification data to display the notification message corresponding to the notification data in the notification area of ​​the local operating system includes: when there are multiple notification messages corresponding to the notification data and they come from different applications, determining the target number of display positions required for the multiple notification messages corresponding to the notification data in the notification area of ​​the local operating system; if the remaining number of display positions in the notification area of ​​the local operating system is less than the target number, selecting target notification data from the notification data according to the remaining number and the notification priorities of the different applications to which the notification data belongs, the notification priority of the application to which the target notification data belongs is higher than the notification priority of the applications to which the remaining notification data belong; calling the notification function of the local operating system based on the target notification data to display the notification message corresponding to the target notification data in the notification area of ​​the local operating system.

[0096] In some embodiments, the notification priority of an application is determined based on the real-time requirements of the application, which are positively correlated with the notification priority; and / or the notification priority of an application is determined based on the access frequency of the application, which are positively correlated with the notification priority.

[0097] Accordingly, see Figure 6 The present specification also provides a notification message display method, which is applied to a remote connection controlled terminal, wherein the remote connection controlled terminal is in communication with a remote connection control terminal, the remote connection control terminal runs in a local operating system, and the remote connection controlled terminal runs in a remote operating system; the method includes:

[0098] In step S301 , a notification event in a remote operating system is monitored to obtain notification data.

[0099] In step S302, the notification data is sent to the remote connection control terminal, so that the remote connection control terminal calls the notification function of the local operating system according to the notification data and displays the notification message corresponding to the notification data in the notification area of ​​the local operating system.

[0100] In this embodiment, the remote connection controlled end monitors the notification events in the remote operating system so as to obtain notification data and send it to the remote connection control end, so that the remote connection control end can display the notification message corresponding to the notification data in the remote operating system in the notification area of ​​the local operating system, so that the notification message corresponding to the notification data in the remote operating system is visible to the user under any circumstances, so that the user can promptly know that there is a notification event in the remote operating system.

[0101] In another possible implementation, step S301 may also be performed by a notification acquisition application, and the notification acquisition application may send the acquired notification data to the remote connected controlled terminal, which is not limited in this embodiment.

[0102] In some embodiments, notification data of an application in a remote operating system is written to a notification database by the remote operating system after the application invokes a notification function of the remote operating system. Monitoring notification events in the remote operating system to obtain notification data includes monitoring data write events in the notification database and obtaining notification data corresponding to the data write events.

[0103] The implementation process of the corresponding steps of the above method is detailed in the functions and effects of each component in the above system, which will not be repeated here.

[0104] Accordingly, an embodiment of this specification further provides an electronic device, including:

[0105] processor;

[0106] a memory for storing processor-executable instructions;

[0107] The processor implements any of the above methods by running the executable instructions.

[0108] Exemplarily, the processor includes but is not limited to a central processing unit (CPU), a digital signal processor (DSP), an application specific integrated circuit (ASIC), or a field-programmable gate array (FPGA).

[0109] Exemplarily, the memory may include at least one type of storage medium, including flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disk, etc.

[0110] For example, Figure 7 This is a schematic structural diagram of a device provided by an exemplary embodiment. Figure 7At the hardware level, the device includes a processor 702, an internal bus 704, a network interface 706, a memory 708, and a non-volatile memory 710. Of course, it may also include hardware required for other services. One or more embodiments of this specification can be implemented based on software, such as by the processor 702 reading the corresponding computer program from the non-volatile memory 710 into the memory 708 and then running it. Of course, in addition to software implementation, one or more embodiments of this specification do not exclude other implementation methods, such as logic devices or a combination of software and hardware.

[0111] Accordingly, embodiments of this specification also provide a computer-readable storage medium having computer instructions stored thereon, which, when executed by a processor, implement the steps of any of the above methods. For example, the computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, or optical data storage device.

[0112] Accordingly, an embodiment of this specification also provides a computer program product, including a computer program, which is used to implement the above-mentioned notification message display method when executed by a processor.

[0113] The systems, devices, modules, or units described in the above embodiments may be implemented by computer chips or entities, or by products having certain functions. A typical implementation device is a computer, which may be in the form of a personal computer, laptop computer, cellular phone, camera phone, smartphone, personal digital assistant, media player, navigation device, email transceiver, game console, tablet computer, wearable device, or any combination of these devices.

[0114] In a typical configuration, a computer includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0115] Memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.

[0116] Computer-readable media include permanent and non-permanent, removable and non-removable media that can be used to store information using any method or technology. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, disk storage, quantum memory, graphene-based storage media or other magnetic storage devices, or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory media such as modulated data signals and carrier waves.

[0117] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.

[0118] The foregoing description of this specification describes specific embodiments. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in an order different from that described in the embodiments and still achieve the desired results. Furthermore, the processes depicted in the accompanying drawings do not necessarily require the specific order shown or the sequential order to achieve the desired results. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0119] The terms used in one or more embodiments of this specification are for the purpose of describing specific embodiments only and are not intended to limit one or more embodiments of this specification. The singular forms "a," "an," "the," and "the" used in one or more embodiments of this specification and the appended claims are also intended to include plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.

[0120] It should be understood that although the terms first, second, third, etc. may be used to describe various information in one or more embodiments of this specification, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of one or more embodiments of this specification, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Depending on the context, the word "if" as used herein may be interpreted as "when..." or "when..." or "in response to determining."

[0121] The above description is merely a preferred embodiment of one or more embodiments of this specification and is not intended to limit one or more embodiments of this specification. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of one or more embodiments of this specification shall be included in the scope of protection of one or more embodiments of this specification.

Claims

1. A notification message display method, applied to a remote connection control terminal, wherein the remote connection control terminal is in communication with a remote connection controlled terminal, the remote connection control terminal running in a local operating system, and the remote connection controlled terminal running in a remote operating system; the method comprising: Receiving notification data sent by a remotely connected controlled end, the notification data being obtained by the remotely connected controlled end monitoring a notification event in a remote operating system, the notification data including notification parameters corresponding to the notification message; Based on the notification data, a notification function of the local operating system is called to display a notification message corresponding to the notification data in a notification area of ​​the local operating system; wherein the notification message is at least used to prompt that a notification event exists in the remote operating system; specifically including: The notification message is displayed in the remote desktop display content displayed in the remote desktop display window maintained by the remote connection control terminal; Detecting the display status of the remote desktop display window; If the display state of the remote desktop display window is invisible to the user, calling the notification function of the local operating system according to the notification data to display the notification message corresponding to the notification data in the notification area of ​​the local operating system; calling the notification function of the local operating system according to the notification data to display the notification message corresponding to the notification data in the notification area of ​​the local operating system includes: calling the notification interface of the local operating system to set notification parameters to display the notification message corresponding to the notification data in the notification area of ​​the local operating system; After calling the notification function of the local operating system according to the notification data to display the notification message corresponding to the notification data in the notification area of ​​the local operating system, the method further includes: In response to the notification message being triggered, placing the layer where the remote desktop display window maintained by the remote connection control end is located at the top layer to display the remote desktop display content in the remote desktop display window, wherein the remote desktop display content is generated by the remote operating system and sent by the remote connection controlled end to the remote connection control end; and notifying the local operating system to delete the notification message displayed in the notification area.

2. The method according to claim 1, wherein detecting the display status of the remote desktop display window maintained by the remote connection control terminal comprises: Check whether the remote desktop display window maintained by the remote connection control end is minimized to the system tray or blocked by other display windows; If so, determine that the display state of the remote desktop window is invisible to the user.

3. The method according to any one of claims 1 to 2, In response to the notification message not being triggered within a preset time period, the local operating system is notified to delete the notification message displayed in the notification area.

4. The method according to any one of claims 1 to 2, wherein the notification events in the remote operating system come from different applications in the remote operating system, and different applications have different notification priorities; The calling of a notification function of the local operating system according to the notification data to display a notification message corresponding to the notification data in a notification area of ​​the local operating system includes: In a case where there are multiple notification messages corresponding to the notification data and the notification messages come from different applications, determining a target number of display positions required for the multiple notification messages corresponding to the notification data in the notification area of ​​the local operating system; If the remaining number of display locations in the notification area of ​​the local operating system is less than the target number, selecting target notification data from the notification data according to the remaining number and the notification priorities of different applications to which the notification data belong, the notification priority of the application to which the target notification data belongs being higher than the notification priority of the applications to which the remaining notification data belong; A notification function of the local operating system is called according to the target notification data, so as to display a notification message corresponding to the target notification data in a notification area of ​​the local operating system.

5. The method according to claim 4, wherein the notification priority of the application is determined according to the real-time requirement of the application, and the real-time requirement is positively correlated with the notification priority; and / or The notification priority of an application is determined by the access frequency of the application, and the access frequency is positively correlated with the notification priority.

6. A notification message display method, applied to a remotely connected controlled terminal, wherein the remotely connected controlled terminal is in communication with a remotely connected control terminal, the remotely connected control terminal runs on a local operating system, and the remotely connected controlled terminal runs on a remote operating system; the method comprising: Monitor notification events in the remote operating system to obtain notification data, wherein the notification data includes notification parameters corresponding to the notification message; Sending the notification data to the remote connection control terminal, so that the remote connection control terminal calls the notification function of the local operating system according to the notification data and displays the notification message corresponding to the notification data in the notification area of ​​the local operating system; specifically including: The notification message is displayed in the remote desktop display content displayed in the remote desktop display window maintained by the remote connection control terminal; Detecting the display status of the remote desktop display window; If the display state of the remote desktop display window is invisible to the user, calling a notification function of the local operating system according to the notification data to display a notification message corresponding to the notification data in a notification area of ​​the local operating system, wherein calling the notification function of the local operating system according to the notification data to display a notification message corresponding to the notification data in the notification area of ​​the local operating system includes: calling a notification interface of the local operating system to set notification parameters to display a notification message corresponding to the notification data in the notification area of ​​the local operating system; After calling the notification function of the local operating system according to the notification data to display the notification message corresponding to the notification data in the notification area of ​​the local operating system, the method further includes: In response to the notification message being triggered, placing the layer where the remote desktop display window maintained by the remote connection control end is located at the top layer to display the remote desktop display content in the remote desktop display window, wherein the remote desktop display content is generated by the remote operating system and sent by the remote connection controlled end to the remote connection control end; and notifying the local operating system to delete the notification message displayed in the notification area.

7. A remote connection system comprising a remote connection control terminal and a remote connection controlled terminal, wherein the remote connection control terminal and the remote connection controlled terminal are communicatively connected, the remote connection control terminal runs on a local operating system, and the remote connection controlled terminal runs on a remote operating system; The remote connection controlled end is used to monitor notification events in the remote operating system to obtain notification data; and send the notification data to the remote connection control end, wherein the notification data includes notification parameters corresponding to the notification message; The remote connection control terminal is used to receive notification data sent by the remote connection controlled terminal; Based on the notification data, a notification function of the local operating system is called to display a notification message corresponding to the notification data in a notification area of ​​the local operating system; wherein the notification message is at least used to prompt that a notification event has occurred in the remote operating system, specifically including: The notification message is displayed in the remote desktop display content displayed in the remote desktop display window maintained by the remote connection control terminal; Detecting the display status of the remote desktop display window; If the display state of the remote desktop display window is invisible to the user, calling a notification function of the local operating system according to the notification data to display a notification message corresponding to the notification data in a notification area of ​​the local operating system, wherein calling the notification function of the local operating system according to the notification data to display the notification message corresponding to the notification data in the notification area of ​​the local operating system includes: calling a notification interface of the local operating system to set notification parameters to display the notification message corresponding to the notification data in the notification area of ​​the local operating system; After calling the notification function of the local operating system according to the notification data to display the notification message corresponding to the notification data in the notification area of ​​the local operating system, the method further includes: In response to the notification message being triggered, placing the layer where the remote desktop display window maintained by the remote connection control end is located at the top layer to display the remote desktop display content in the remote desktop display window, wherein the remote desktop display content is generated by the remote operating system and sent by the remote connection controlled end to the remote connection control end; and notifying the local operating system to delete the notification message displayed in the notification area.

8. An electronic device comprising: processor; a memory for storing processor-executable instructions; The processor implements the method according to any one of claims 1 to 5 by running the executable instructions.

9. A computer-readable storage medium having computer instructions stored thereon, which, when executed by a processor, implement the steps of the method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Managing and using remote applications on a mobile device

    CN105453048A

  • Triggering event notifications based on messages to application users

    CN113170283A