WO2023000729A1 - System message sending method and apparatus for client - Google Patents

System message sending method and apparatus for client Download PDF

Info

Publication number
WO2023000729A1
WO2023000729A1 PCT/CN2022/087446 CN2022087446W WO2023000729A1 WO 2023000729 A1 WO2023000729 A1 WO 2023000729A1 CN 2022087446 W CN2022087446 W CN 2022087446W WO 2023000729 A1 WO2023000729 A1 WO 2023000729A1
Authority
WO
WIPO (PCT)
Prior art keywords
client
system message
display
message
preset
Prior art date
Application number
PCT/CN2022/087446
Other languages
French (fr)
Chinese (zh)
Inventor
孔剑
沈松
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2023000729A1 publication Critical patent/WO2023000729A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0489Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using dedicated keyboard keys or combinations thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines

Definitions

  • Embodiments of the present disclosure relate to the communication field, and in particular, to a method and device for sending a system message of a client.
  • Fig. 1 is a schematic diagram of sending system messages according to related technologies.
  • the information management center sends the system messages to the virtual management center (Virtual management center, referred to as VMC), and the VMC forwards them to the host, and the host host Then forward it to the virtual machine, and the virtual machine will send it to the client, and display the system message on the client.
  • VMC Virtual management center
  • This approach will increase the burden on the virtual machine. It is not accurate enough and timely, and there is a possibility of missing information.
  • Embodiments of the present disclosure provide a client system message sending method and device, to at least solve the problems in the related art that forwarding and displaying system messages through a virtual machine will increase the burden on the virtual machine, is not accurate and timely, and may cause message omissions.
  • a system message sending method of a client is provided, which is applied to a management platform, including:
  • the system message is displayed on the display interface of the client according to a preset rule.
  • displaying the system message on the display interface of the client according to preset rules includes:
  • the system message is triggered to be displayed on the display interface of the client according to the preset rule.
  • determining the current state of the client according to keyboard events and/or mouse events in the client includes:
  • judging whether the preset condition is met according to the current state includes:
  • triggering display of the system message on the display interface of the client according to a preset rule includes:
  • the system message is displayed on the display interface of the client according to the preset display manner corresponding to the message type.
  • displaying the system message on the display interface of the client according to the preset display mode corresponding to the message type includes:
  • the message type of the system message is immediate pop-up display, immediately display the system message on the display interface of the client according to the display mode corresponding to the immediate pop-up display;
  • the system message is regularly displayed on the display interface of the client according to a display mode corresponding to the timed pop-up display.
  • the method also includes:
  • a system message sending device for a client which is applied to a management platform, including:
  • the sending module is configured to send the system message to be sent to the client through the transmission channel established with the client of the cloud desktop, and perform local caching in the client;
  • the display module is configured to display the system message on the display interface of the client according to preset rules.
  • the display module includes:
  • a determining submodule configured to determine the current state of the client according to keyboard events and/or mouse events in the client;
  • the judging submodule is configured to judge whether the preset condition is met according to the current state
  • the display sub-module is configured to trigger the display of the system message on the display interface of the client according to the preset rule when the preset condition is satisfied.
  • the determining submodule is also set to
  • the judging submodule is also set to
  • the display submodule includes:
  • An acquisition unit configured to acquire the message type of the system message
  • the display unit is configured to display the system message on the display interface of the client according to the preset display mode corresponding to the message type.
  • the display unit is further configured as
  • the message type of the system message is immediate pop-up display, immediately display the system message on the display interface of the client according to the display mode corresponding to the immediate pop-up display;
  • the system message is regularly displayed on the display interface of the client according to a display mode corresponding to the timed pop-up display.
  • the device also includes:
  • the receiving module is configured to receive the result sent by the client after displaying the system message for a preset number of times and clearing the local cache;
  • the re-sending module is configured to receive the failure reason sent by the client after the system message is abnormal, and re-send the system message to the client according to the failure reason.
  • a computer-readable storage medium where a computer program is stored in the storage medium, wherein the computer program is set to execute any one of the above method embodiments when running in the steps.
  • an electronic device including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to perform any of the above Steps in the method examples.
  • the system message to be sent is sent to the client through the transmission channel established with the client of the cloud desktop, and is cached locally in the client; Displaying the system information on the display interface of the terminal can solve the problem of increasing the burden on the virtual machine through forwarding and displaying the system information through the virtual machine in the related technology, which is not accurate and timely, and may also have the problem of missing messages. It is displayed in the client according to the preset rules, which is more conducive to the timeliness and accuracy of the message.
  • Fig. 1 is a schematic diagram according to the delivery of system messages in the related art
  • FIG. 2 is a block diagram of a hardware structure of a mobile terminal according to a system message sending method of a client according to an embodiment of the present disclosure
  • FIG. 3 is a flowchart of a method for sending a system message by a client according to an embodiment of the present disclosure
  • FIG. 4 is a block diagram of a system for sending system messages according to this embodiment
  • FIG. 5 is a flow chart of client-based system message delivery according to this embodiment.
  • Fig. 6 is a block diagram of an apparatus for sending a system message of a client according to this embodiment.
  • FIG. 2 is a block diagram of the hardware structure of the mobile terminal according to the system message sending method of the client according to the embodiment of the present disclosure.
  • the mobile terminal may include one or more (in FIG. 2 only Shown is a) a processor 102 (the processor 102 may include but not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, wherein the above-mentioned mobile terminal may also include a The transmission device 106 and the input and output device 108 of the communication function.
  • FIG. 2 is only for illustration, and it does not limit the structure of the above mobile terminal.
  • the mobile terminal may also include more or fewer components than those shown in FIG. 2, or have a different configuration from that shown in FIG.
  • the memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the method for sending system messages of the client in the embodiment of the present disclosure, and the processor 102 runs the computer program stored in the memory 104, In this way, various functional applications and service chain address pool slicing processing are performed, that is, the above-mentioned method is realized.
  • the memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory.
  • the memory 104 may further include a memory that is remotely located relative to the processor 102, and these remote memories may be connected to the mobile terminal through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • the transmission device 106 is used to receive or transmit data via a network.
  • the specific example of the above network may include a wireless network provided by the communication provider of the mobile terminal.
  • the transmission device 106 includes a network interface controller (NIC for short), which can be connected to other network devices through a base station so as to communicate with the Internet.
  • the transmission device 106 may be a radio frequency (Radio Frequency, referred to as RF) module, which is used to communicate with the Internet in a wireless manner.
  • RF Radio Frequency
  • a method for sending a system message running on the above-mentioned mobile terminal or client of the network architecture is provided, which is applied to the terminal, and the terminal accesses the current host in the source area through a dual connection (Dual Connection, referred to as DC).
  • DC Dual Connection
  • the node MN cell and the current secondary node SN cell, Fig. 3 is a flowchart of a method for sending a system message of a client according to an embodiment of the present disclosure, as shown in Fig. 3 , the process includes the following steps:
  • Step S302 send the system message to be sent to the client through the transmission channel established with the client of the cloud desktop, and perform local caching in the client;
  • Step S304 displaying the system message on the display interface of the client according to a preset rule.
  • step S304 may specifically include:
  • S3041. Determine the current state of the client according to keyboard events and/or mouse events in the client;
  • step S3041 may specifically include: if there is a keyboard event and/or a mouse event in the client within a preset time period, determining that the current state is an online running state; The client does not have the keyboard event and/or the mouse event, and determines that the current state is an offline running state.
  • step S3042 may specifically include: judging whether the current state is the online running state;
  • the current state is the online running state, it is determined that the preset condition is satisfied; if the current state is the offline running state, it is determined that the preset condition is not satisfied.
  • the above step S3043 may specifically include: obtaining the message type of the system message; and displaying the system message on the display interface of the client according to a preset display mode corresponding to the message type.
  • the above step S3043 may specifically include: if the message type of the system message is immediate pop-up display, immediately displaying it on the display interface of the client according to the display mode corresponding to the immediate pop-up display
  • the system message if the message type of the system message is a timed pop-up display, regularly display the system message on the display interface of the client according to the display mode corresponding to the timing pop-up display.
  • feedback from the client may also be accepted, and further processing may be performed according to the feedback from the client. Specifically, receiving the result sent by the client after displaying the system message a preset number of times and clearing the local cache, It can be replaced by the result, indicating that the system message has been successfully delivered; or receiving the failure reason sent by the client after the system message is abnormal, and re-delivering the system message to the client according to the failure reason, through Re-deliver the system message to ensure that the client can receive it, so as to improve the timeliness of system message delivery.
  • the system information is sent to the cloud computer access terminal for local caching, and will not be sent directly to the cloud computer, so that the system process of the cloud computer will not be called and will not have any impact on performance, and the user's current status can be effectively judged through the display state (frequent online use or idle, still not connected (offline not logged in), improve cloud computer performance and improve user experience; from the perspective of development, the number of related modules involved is reduced, development costs are reduced, and agility is improved Development efficiency.
  • Scenario 1 System maintenance, system message notification; notification message before system maintenance, and message notification during maintenance.
  • a pop-up box can be displayed at the right time or when the client is opened during the implementation period.
  • Scenario 2 Active service improves user experience, recommending that users optimize items to send system messages; for message push that can be used to improve user experience, such as the user's process usage is abnormal, reminding the user to restart, etc.
  • Scenario 3 The weekly report summarizes the cloud computer usage for a week; it can avoid the peak period, download it to each terminal in advance, and pop up the frame at the right time.
  • Fig. 4 is a block diagram of the system message distribution system according to this embodiment, as shown in Fig. 4, including:
  • the cloud desktop client 41, the terminal application software needed to log in to the cloud desktop, and the receiver of the system message are displayed in a pop-up box;
  • VM 42 is a virtual machine of the cloud desktop.
  • the part actually used by the user includes various operating systems, and the current state of the user can also be judged according to the keyboard and mouse usage of the virtual machine (Virtual Machine, referred to as VM for short);
  • the management module 43 of the cloud desktop includes VMC, IRAI (Integration Remote Application Infrastructure), information management center and authentication module, mainly related to the user's login authentication, system message delivery and policy control of delivery.
  • VMC Virtual Machine
  • IRAI Intelligent Remote Application Infrastructure
  • information management center mainly related to the user's login authentication, system message delivery and policy control of delivery.
  • the management module 43 sends the system message to the client through the transmission channel established by the access authentication module in the management module and the cloud desktop client;
  • Login authentication is an authentication process for cloud desktop users. Cloud desktop users are bound to the cloud desktop, and at the same time confirm the relationship between the terminal and the user; desktop stream is a two-way data flow that the cloud desktop is used by the client login.
  • Fig. 5 is a flow chart of sending a system message based on a client according to this embodiment, as shown in Fig. 5 , including:
  • the information management center is responsible for customizing the content of system messages, controlling policies and specifying sending objects. It is the part of the entire technical solution that involves human-computer interaction on the interface;
  • the access authentication module is used as the user access authentication mode of the entire cloud desktop system, which is the most direct data interaction between the management module and the cloud desktop client, without involving other related modules in the middle.
  • the transmission of the message data flow through the authentication module is convenient and efficient;
  • the client side is responsible for receiving, downloading, saving, and processing system information, through the user logging into the cloud desktop client to the authentication module information authentication, and obtaining whether there is any system information to be received, if it exists, download and save it to the client local, return the result;
  • the system message field is defined, and the administrator customizes the display time and form of the message according to the message category and urgency.
  • the completion and exception handling mechanism can be completed several times according to the strategy, and the cloud desktop client cache will be cleared and the result will be reported. When an exception occurs, the relevant failure reason will be reported and try again.
  • This embodiment involving fewer modules, has two advantages compared to the prior art: first, the number of operating system models that need to be adapted is reduced, and the operating system of each VM virtual machine in the prior art requires one Adaptation, under the current trend of localization, there are more and more virtual machine operating systems.
  • This embodiment only needs to adapt to a few fixed types of terminals; second, the existing technology also needs to consider the environment of the host and the virtual machine. When there is a problem with the host service or the VM virtual machine, there is no way to display the system message, and the participation of the wireless host and the virtual machine in this embodiment does not have this problem. It can also notify the user in time through the bottom of the system message when there is a problem with the host and virtual machine, and provide a solution.
  • FIG. 6 is a block diagram of a system message sending device for a client according to this embodiment. As shown in FIG. 6 , it includes :
  • the sending module 62 is configured to send the system message to be sent to the client through the transmission channel established with the client of the cloud desktop, and perform local caching in the client;
  • the display module 64 is configured to display the system message on the display interface of the client according to preset rules.
  • the display module 64 includes:
  • a determining submodule configured to determine the current state of the client according to keyboard events and/or mouse events in the client;
  • the judging submodule is configured to judge whether the preset condition is met according to the current state
  • the display sub-module is configured to trigger the display of the system message on the display interface of the client according to the preset rule when the preset condition is satisfied.
  • the determining submodule is also set to
  • the judging submodule is also set to
  • the display submodule includes:
  • An acquisition unit configured to acquire the message type of the system message
  • the display unit is configured to display the system message on the display interface of the client according to the preset display mode corresponding to the message type.
  • the display unit is further configured as
  • the message type of the system message is immediate pop-up display, immediately display the system message on the display interface of the client according to the display mode corresponding to the immediate pop-up display;
  • the system message is regularly displayed on the display interface of the client according to a display mode corresponding to the timed pop-up display.
  • the device also includes:
  • the receiving module is configured to receive the result sent by the client after displaying the system message for a preset number of times and clearing the local cache;
  • the re-sending module is configured to receive the failure reason sent by the client after the system message is abnormal, and re-send the system message to the client according to the failure reason.
  • Embodiments of the present disclosure also provide a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps in any one of the above method embodiments when running.
  • the above-mentioned computer-readable storage medium may include but not limited to: U disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM) , mobile hard disk, magnetic disk or optical disk and other media that can store computer programs.
  • ROM read-only memory
  • RAM random access memory
  • mobile hard disk magnetic disk or optical disk and other media that can store computer programs.
  • Embodiments of the present disclosure also provide an electronic device, including a memory and a processor, where a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
  • the electronic device may further include a transmission device and an input and output device, wherein the transmission device is connected to the processor, and the input and output device is connected to the processor.
  • each module or each step of the above-mentioned disclosure can be realized by a general-purpose computing device, and they can be concentrated on a single computing device, or distributed in a network composed of multiple computing devices In fact, they can be implemented in program code executable by a computing device, and thus, they can be stored in a storage device to be executed by a computing device, and in some cases, can be executed in an order different from that shown here. Or described steps, or they are fabricated into individual integrated circuit modules, or multiple modules or steps among them are fabricated into a single integrated circuit module for implementation. As such, the present disclosure is not limited to any specific combination of hardware and software.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)
  • Digital Computer Display Output (AREA)

Abstract

A system message sending method and apparatus for a client, the method comprising: by means of a transmission channel established with a client of a cloud desktop, issuing to the client a system message to be sent, and performing local caching in the client; and displaying the system message on a display interface of the client according to a preset rule, which may solve the problems in the related art of forwarding and displaying system messages by means of a virtual machine increasing the burden on the virtual machine, not being accurate and prompt, and there also being the possibility of message omission. Issuing a system message to a client for local caching, and displaying same in the client according to a preset rule are very conducive to message promptness and accuracy.

Description

一种客户端的系统消息发送方法及装置Method and device for sending system message of client
相关申请的交叉引用Cross References to Related Applications
本公开基于2021年07月20日提交的发明名称为“客户端的系统消息发送方法及装置”的中国专利申请CN202110821648.5,并且要求该专利申请的优先权,通过引用将其所公开的内容全部并入本公开。This disclosure is based on the Chinese patent application CN202110821648.5 filed on July 20, 2021 with the title of "Client System Message Sending Method and Device", and claims the priority of this patent application, and the disclosed content is fully incorporated by reference incorporated into this disclosure.
技术领域technical field
本公开实施例涉及通信领域,具体而言,涉及一种客户端的系统消息发送方法及装置。Embodiments of the present disclosure relate to the communication field, and in particular, to a method and device for sending a system message of a client.
背景技术Background technique
对于系统消息的推送,目前公开技术的常规做法是将信息模块集成到虚拟机内,通过专门相关的代理驱动进行转发显示。图1是根据相关技术中系统消息下发的示意图,如图1所示,信息管理中心将系统消息发送给虚拟化管理中心(Virtual management center,简称为VMC),VMC转发给主机host,主机host再转发给虚拟机,由虚拟机下发给客户端,在客户端中展示系统消息。这种做法会增加虚拟机负担,还不够准确及时,还存在消息遗漏的可能性,并且国产化的推广,虚拟机类型越来越多,需要适配的类似也会越多。尤其在虚拟机启动运行,无法精确判断用户是否在不在使用,在不在电脑前,导致消息的种类无法按需求进行分发。For the push of system messages, the conventional practice of the current public technology is to integrate the information module into the virtual machine, and forward and display it through a special related agent driver. Fig. 1 is a schematic diagram of sending system messages according to related technologies. As shown in Fig. 1, the information management center sends the system messages to the virtual management center (Virtual management center, referred to as VMC), and the VMC forwards them to the host, and the host host Then forward it to the virtual machine, and the virtual machine will send it to the client, and display the system message on the client. This approach will increase the burden on the virtual machine. It is not accurate enough and timely, and there is a possibility of missing information. Moreover, with the promotion of localization, there are more and more types of virtual machines, and the more similar ones need to be adapted. Especially when the virtual machine is started and running, it is impossible to accurately determine whether the user is in use or not in front of the computer, resulting in that the types of messages cannot be distributed according to requirements.
针对相关技术中通过虚拟机转发显示系统消息会增加虚拟机负担,不够准确及时,还可能存在消息遗漏的问题,尚未提出解决方案。Aiming at the problems in the related technology that forwarding and displaying system messages through the virtual machine will increase the burden on the virtual machine, it is not accurate and timely enough, and there may be message omissions, and no solution has been proposed.
发明内容Contents of the invention
本公开实施例提供了一种客户端的系统消息发送方法及装置,以至少解决相关技术中通过虚拟机转发显示系统消息会增加虚拟机负担,不够准确及时,还可能存在消息遗漏的问题。Embodiments of the present disclosure provide a client system message sending method and device, to at least solve the problems in the related art that forwarding and displaying system messages through a virtual machine will increase the burden on the virtual machine, is not accurate and timely, and may cause message omissions.
根据本公开的一个实施例,提供了一种客户端的系统消息发送方法,应用于管理平台,包括:According to an embodiment of the present disclosure, a system message sending method of a client is provided, which is applied to a management platform, including:
通过与云桌面的客户端建立的传输通道将待发送的系统消息下发到所述客户端中,并在所述客户端中进行本地缓存;Send the system message to be sent to the client through the transmission channel established with the client of the cloud desktop, and perform local caching in the client;
根据预设规则在所述客户端的显示界面中展示所述系统消息。The system message is displayed on the display interface of the client according to a preset rule.
在一示例性实施例中,根据预设规则在所述客户端的显示界面展示所述系统消息包括:In an exemplary embodiment, displaying the system message on the display interface of the client according to preset rules includes:
根据所述客户端中的键盘事件和/或鼠标事件确定所述客户端的当前状态;determining the current state of the client according to keyboard events and/or mouse events in the client;
根据所述当前状态判断是否满足所述预设条件;judging whether the preset condition is met according to the current state;
在满足预设条件的情况下,根据预设规则在所述客户端的显示界面触发展示所述系统消息。When the preset condition is met, the system message is triggered to be displayed on the display interface of the client according to the preset rule.
在一示例性实施例中,根据所述客户端中的键盘事件和/或鼠标事件确定所述客户端的当前状态包括:In an exemplary embodiment, determining the current state of the client according to keyboard events and/or mouse events in the client includes:
若预设时间段内所述客户端中存在键盘事件和/或鼠标事件,确定所述当前状态为在线运 行状态;If there are keyboard events and/or mouse events in the client within the preset time period, it is determined that the current state is an online running state;
若所述预设时间段内所述客户端中不存在所述键盘事件和/或所述鼠标事件,确定所述当前状态为离线运行状态。If the keyboard event and/or the mouse event does not exist in the client within the preset time period, determine that the current state is an offline running state.
在一示例性实施例中,根据所述当前状态判断是否满足所述预设条件包括:In an exemplary embodiment, judging whether the preset condition is met according to the current state includes:
判断所述当前状态是否为所述在线运行状态;judging whether the current state is the online running state;
若所述当前状态为所述在线运行状态,确定满足所述预设条件;If the current state is the online running state, determine that the preset condition is met;
若所述当前状态为所述离线运行状态,确定不满足所述预设条件。If the current state is the offline running state, it is determined that the preset condition is not satisfied.
在一示例性实施例中,根据预设规则在所述客户端的显示界面触发展示所述系统消息包括:In an exemplary embodiment, triggering display of the system message on the display interface of the client according to a preset rule includes:
获取所述系统消息的消息类型;Obtain the message type of the system message;
根据预先设置的所述消息类型对应的显示方式在所述客户端的显示界面中展示所述系统消息。The system message is displayed on the display interface of the client according to the preset display manner corresponding to the message type.
在一示例性实施例中,根据预先设置的所述消息类型对应的显示方式在所述客户端的显示界面中展示所述系统消息包括:In an exemplary embodiment, displaying the system message on the display interface of the client according to the preset display mode corresponding to the message type includes:
若所述系统消息的消息类型为立即弹框显示,根据所述立即弹框显示对应的显示方式立即在所述客户端的显示界面中展示所述系统消息;If the message type of the system message is immediate pop-up display, immediately display the system message on the display interface of the client according to the display mode corresponding to the immediate pop-up display;
若所述系统消息的消息类型为定时弹框显示,根据所述定时弹框显示对应的显示方式定时在所述客户端的显示界面中展示所述系统消息。If the message type of the system message is a timed pop-up display, the system message is regularly displayed on the display interface of the client according to a display mode corresponding to the timed pop-up display.
在一示例性实施例中,所述方法还包括:In an exemplary embodiment, the method also includes:
接收所述客户端展示所述系统消息预设次数并清空所述本地缓存之后发送的结果;或者receiving the result sent by the client after displaying the system message a preset number of times and clearing the local cache; or
接收所述客户端展示所述系统消息异常之后发送的失败原因,根据所述失败原因重新向所述客户端下发所述系统消息。receiving the failure reason sent by the client after the system message is abnormal, and re-delivering the system message to the client according to the failure reason.
根据本公开的另一个实施例,还提供了一种客户端的系统消息发送装置,应用于管理平台,包括:According to another embodiment of the present disclosure, there is also provided a system message sending device for a client, which is applied to a management platform, including:
下发模块,设置为通过与云桌面的客户端建立的传输通道将待发送的系统消息下发到所述客户端中,并在所述客户端中进行本地缓存;The sending module is configured to send the system message to be sent to the client through the transmission channel established with the client of the cloud desktop, and perform local caching in the client;
展示模块,设置为根据预设规则在所述客户端的显示界面中展示所述系统消息。The display module is configured to display the system message on the display interface of the client according to preset rules.
在一示例性实施例中,所述展示模块包括:In an exemplary embodiment, the display module includes:
确定子模块,设置为根据所述客户端中的键盘事件和/或鼠标事件确定所述客户端的当前状态;A determining submodule, configured to determine the current state of the client according to keyboard events and/or mouse events in the client;
判断子模块,设置为根据所述当前状态判断是否满足所述预设条件;The judging submodule is configured to judge whether the preset condition is met according to the current state;
展示子模块,设置为在满足预设条件的情况下,根据预设规则在所述客户端的显示界面触发展示所述系统消息。The display sub-module is configured to trigger the display of the system message on the display interface of the client according to the preset rule when the preset condition is satisfied.
在一示例性实施例中,所述确定子模块,还设置为In an exemplary embodiment, the determining submodule is also set to
若预设时间段内所述客户端中存在键盘事件和/或鼠标事件,确定所述当前状态为在线运行状态;If there are keyboard events and/or mouse events in the client within the preset time period, determine that the current state is an online running state;
若所述预设时间段内所述客户端中不存在所述键盘事件和/或所述鼠标事件,确定所述当前状态为离线运行状态。If the keyboard event and/or the mouse event does not exist in the client within the preset time period, determine that the current state is an offline running state.
在一示例性实施例中,所述判断子模块,还设置为In an exemplary embodiment, the judging submodule is also set to
判断所述当前状态是否为所述在线运行状态;judging whether the current state is the online running state;
若所述当前状态为所述在线运行状态,确定满足所述预设条件;If the current state is the online running state, determine that the preset condition is met;
若所述当前状态为所述离线运行状态,确定不满足所述预设条件。If the current state is the offline running state, it is determined that the preset condition is not satisfied.
在一示例性实施例中,所述展示子模块包括:In an exemplary embodiment, the display submodule includes:
获取单元,设置为获取所述系统消息的消息类型;An acquisition unit configured to acquire the message type of the system message;
展示单元,设置为根据预先设置的所述消息类型对应的显示方式在所述客户端的显示界面中展示所述系统消息。The display unit is configured to display the system message on the display interface of the client according to the preset display mode corresponding to the message type.
在一示例性实施例中,所述展示单元,还设置为In an exemplary embodiment, the display unit is further configured as
若所述系统消息的消息类型为立即弹框显示,根据所述立即弹框显示对应的显示方式立即在所述客户端的显示界面中展示所述系统消息;If the message type of the system message is immediate pop-up display, immediately display the system message on the display interface of the client according to the display mode corresponding to the immediate pop-up display;
若所述系统消息的消息类型为定时弹框显示,根据所述定时弹框显示对应的显示方式定时在所述客户端的显示界面中展示所述系统消息。If the message type of the system message is a timed pop-up display, the system message is regularly displayed on the display interface of the client according to a display mode corresponding to the timed pop-up display.
在一示例性实施例中,所述装置还包括:In an exemplary embodiment, the device also includes:
接收模块,设置为接收所述客户端展示所述系统消息预设次数并清空所述本地缓存之后发送的结果;或者The receiving module is configured to receive the result sent by the client after displaying the system message for a preset number of times and clearing the local cache; or
重新下发模块,设置为接收所述客户端展示所述系统消息异常之后发送的失败原因,根据所述失败原因重新向所述客户端下发所述系统消息。The re-sending module is configured to receive the failure reason sent by the client after the system message is abnormal, and re-send the system message to the client according to the failure reason.
根据本公开的又一个实施例,还提供了一种计算机可读的存储介质,所述存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。According to yet another embodiment of the present disclosure, there is also provided a computer-readable storage medium, where a computer program is stored in the storage medium, wherein the computer program is set to execute any one of the above method embodiments when running in the steps.
根据本公开的又一个实施例,还提供了一种电子装置,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以执行上述任一项方法实施例中的步骤。According to yet another embodiment of the present disclosure, there is also provided an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to perform any of the above Steps in the method examples.
本公开实施例,通过与云桌面的客户端建立的传输通道将待发送的系统消息下发到所述客户端中,并在所述客户端中进行本地缓存;根据预设规则在所述客户端的显示界面中展示所述系统消息,可以解决相关技术中通过虚拟机转发显示系统消息会增加虚拟机负担,不够准确及时,还可能存在消息遗漏的问题,将系统消息下层到客户端本地缓存,根据预设规则在客户端中展现,更有利于消息的及时性和准确性。In the embodiment of the present disclosure, the system message to be sent is sent to the client through the transmission channel established with the client of the cloud desktop, and is cached locally in the client; Displaying the system information on the display interface of the terminal can solve the problem of increasing the burden on the virtual machine through forwarding and displaying the system information through the virtual machine in the related technology, which is not accurate and timely, and may also have the problem of missing messages. It is displayed in the client according to the preset rules, which is more conducive to the timeliness and accuracy of the message.
附图说明Description of drawings
图1是根据相关技术中系统消息下发的示意图;Fig. 1 is a schematic diagram according to the delivery of system messages in the related art;
图2是本公开实施例的客户端的系统消息发送方法的移动终端的硬件结构框图;FIG. 2 is a block diagram of a hardware structure of a mobile terminal according to a system message sending method of a client according to an embodiment of the present disclosure;
图3是根据本公开实施例的客户端的系统消息发送方法的流程图;FIG. 3 is a flowchart of a method for sending a system message by a client according to an embodiment of the present disclosure;
图4是根据本实施例的系统消息下发系统的框图;FIG. 4 is a block diagram of a system for sending system messages according to this embodiment;
图5是根据本实施例的基于客户端的系统消息下发的流程图;FIG. 5 is a flow chart of client-based system message delivery according to this embodiment;
图6是根据本实施例的客户端的系统消息发送装置的框图。Fig. 6 is a block diagram of an apparatus for sending a system message of a client according to this embodiment.
具体实施方式detailed description
下文中将参考附图并结合实施例来详细说明本公开的实施例。Hereinafter, embodiments of the present disclosure will be described in detail with reference to the drawings and in combination with the embodiments.
需要说明的是,本公开的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It should be noted that the terms "first" and "second" in the specification and claims of the present disclosure and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence.
本公开实施例中所提供的方法实施例可以在移动终端、计算机终端或者类似的运算装置中执行。以运行在移动终端上为例,图2是本公开实施例的客户端的系统消息发送方法的移动终端的硬件结构框图,如图2所示,移动终端可以包括一个或多个(图2中仅示出一个)处理器102(处理器102可以包括但不限于微处理器MCU或可编程逻辑器件FPGA等的处理装置)和用于存储数据的存储器104,其中,上述移动终端还可以包括用于通信功能的传输设备106以及输入输出设备108。本领域普通技术人员可以理解,图2所示的结构仅为示意,其并不对上述移动终端的结构造成限定。例如,移动终端还可包括比图2中所示更多或者更少的组件,或者具有与图2所示不同的配置。The method embodiments provided in the embodiments of the present disclosure may be executed in mobile terminals, computer terminals or similar computing devices. Taking running on a mobile terminal as an example, FIG. 2 is a block diagram of the hardware structure of the mobile terminal according to the system message sending method of the client according to the embodiment of the present disclosure. As shown in FIG. 2 , the mobile terminal may include one or more (in FIG. 2 only Shown is a) a processor 102 (the processor 102 may include but not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, wherein the above-mentioned mobile terminal may also include a The transmission device 106 and the input and output device 108 of the communication function. Those of ordinary skill in the art can understand that the structure shown in FIG. 2 is only for illustration, and it does not limit the structure of the above mobile terminal. For example, the mobile terminal may also include more or fewer components than those shown in FIG. 2, or have a different configuration from that shown in FIG.
存储器104可用于存储计算机程序,例如,应用软件的软件程序以及模块,如本公开实施例中的客户端的系统消息发送方法对应的计算机程序,处理器102通过运行存储在存储器104内的计算机程序,从而执行各种功能应用以及业务链地址池切片处理,即实现上述的方法。存储器104可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器104可进一步包括相对于处理器102远程设置的存储器,这些远程存储器可以通过网络连接至移动终端。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the method for sending system messages of the client in the embodiment of the present disclosure, and the processor 102 runs the computer program stored in the memory 104, In this way, various functional applications and service chain address pool slicing processing are performed, that is, the above-mentioned method is realized. The memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory that is remotely located relative to the processor 102, and these remote memories may be connected to the mobile terminal through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
传输装置106用于经由一个网络接收或者发送数据。上述的网络具体实例可包括移动终端的通信供应商提供的无线网络。在一个实例中,传输装置106包括一个网络适配器(Network Interface Controller,简称为NIC),其可通过基站与其他网络设备相连从而可与互联网进行通讯。在一个实例中,传输装置106可以为射频(Radio Frequency,简称为RF)模块,其用于通过无线方式与互联网进行通讯。The transmission device 106 is used to receive or transmit data via a network. The specific example of the above network may include a wireless network provided by the communication provider of the mobile terminal. In one example, the transmission device 106 includes a network interface controller (NIC for short), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 may be a radio frequency (Radio Frequency, referred to as RF) module, which is used to communicate with the Internet in a wireless manner.
在本实施例中提供了一种运行于上述移动终端或网络架构的客户端的系统消息发送方法,应用于终端,所述终端通过双连接(Dual Connection,简称为DC)接入源区域的当前主节点MN小区与当前辅节点SN小区,图3是根据本公开实施例的客户端的系统消息发送方法的流程图,如图3所示,该流程包括如下步骤:In this embodiment, a method for sending a system message running on the above-mentioned mobile terminal or client of the network architecture is provided, which is applied to the terminal, and the terminal accesses the current host in the source area through a dual connection (Dual Connection, referred to as DC). The node MN cell and the current secondary node SN cell, Fig. 3 is a flowchart of a method for sending a system message of a client according to an embodiment of the present disclosure, as shown in Fig. 3 , the process includes the following steps:
步骤S302,通过与云桌面的客户端建立的传输通道将待发送的系统消息下发到所述客户端中,并在所述客户端中进行本地缓存;Step S302, send the system message to be sent to the client through the transmission channel established with the client of the cloud desktop, and perform local caching in the client;
步骤S304,根据预设规则在所述客户端的显示界面中展示所述系统消息。Step S304, displaying the system message on the display interface of the client according to a preset rule.
通过上述步骤S302至S304,可以解决相关技术中通过虚拟机转发显示系统消息会增加虚拟机负担,不够准确及时,还可能存在消息遗漏的问题,将系统消息下层到客户端本地缓存,根据预设规则在客户端中展现,更有利于消息的及时性和准确性。Through the above steps S302 to S304, it is possible to solve the problem in the related art that forwarding and displaying system messages through the virtual machine will increase the burden on the virtual machine, which is not accurate enough and timely, and there may be message omissions. Rules are displayed in the client, which is more conducive to the timeliness and accuracy of messages.
本实施例中,上述步骤S304具体可以包括:In this embodiment, the above step S304 may specifically include:
S3041,根据所述客户端中的键盘事件和/或鼠标事件确定所述客户端的当前状态;S3041. Determine the current state of the client according to keyboard events and/or mouse events in the client;
进一步的,上述步骤S3041具体可以包括:若预设时间段内所述客户端中存在键盘事件和/或鼠标事件,确定所述当前状态为在线运行状态;若所述预设时间段内所述客户端中不存在所述键盘事件和/或所述鼠标事件,确定所述当前状态为离线运行状态。Further, the above step S3041 may specifically include: if there is a keyboard event and/or a mouse event in the client within a preset time period, determining that the current state is an online running state; The client does not have the keyboard event and/or the mouse event, and determines that the current state is an offline running state.
S3042,根据所述当前状态判断是否满足所述预设条件;S3042, judging whether the preset condition is satisfied according to the current state;
进一步的,上述步骤S3042具体可以包括:判断所述当前状态是否为所述在线运行状态;Further, the above step S3042 may specifically include: judging whether the current state is the online running state;
若所述当前状态为所述在线运行状态,确定满足所述预设条件;若所述当前状态为所述离线运行状态,确定不满足所述预设条件。If the current state is the online running state, it is determined that the preset condition is satisfied; if the current state is the offline running state, it is determined that the preset condition is not satisfied.
S3043,在满足预设条件的情况下,根据预设规则在所述客户端的显示界面触发展示所述系统消息。S3043. If the preset condition is met, trigger display of the system message on the display interface of the client according to a preset rule.
在一实施例中,上述步骤S3043具体可以包括:获取所述系统消息的消息类型;根据预先设置的所述消息类型对应的显示方式在所述客户端的显示界面中展示所述系统消息。In an embodiment, the above step S3043 may specifically include: obtaining the message type of the system message; and displaying the system message on the display interface of the client according to a preset display mode corresponding to the message type.
在另一实施例中,上述步骤S3043具体还可以包括:若所述系统消息的消息类型为立即弹框显示,根据所述立即弹框显示对应的显示方式立即在所述客户端的显示界面中展示所述系统消息;若所述系统消息的消息类型为定时弹框显示,根据所述定时弹框显示对应的显示方式定时在所述客户端的显示界面中展示所述系统消息。In another embodiment, the above step S3043 may specifically include: if the message type of the system message is immediate pop-up display, immediately displaying it on the display interface of the client according to the display mode corresponding to the immediate pop-up display The system message: if the message type of the system message is a timed pop-up display, regularly display the system message on the display interface of the client according to the display mode corresponding to the timing pop-up display.
在一示例性实施例中,还可以接受客户端的反馈,根据客户端的反馈做进一步处理,具体的,接收所述客户端展示所述系统消息预设次数并清空所述本地缓存之后发送的结果,可以换成结果,表示已成功下发系统消息;或者接收所述客户端展示所述系统消息异常之后发送的失败原因,根据所述失败原因重新向所述客户端下发所述系统消息,通过重新下发系统消息,确定客户端能够接收到,提高系统消息下发的及时性。In an exemplary embodiment, feedback from the client may also be accepted, and further processing may be performed according to the feedback from the client. Specifically, receiving the result sent by the client after displaying the system message a preset number of times and clearing the local cache, It can be replaced by the result, indicating that the system message has been successfully delivered; or receiving the failure reason sent by the client after the system message is abnormal, and re-delivering the system message to the client according to the failure reason, through Re-deliver the system message to ensure that the client can receive it, so as to improve the timeliness of system message delivery.
本实施例中,系统信息发送到云电脑接入终端本地进行缓存,不会直接发送给云电脑,这样不会调用云电脑的系统进程不会对性能有任何影响,通过显示可以有效判断用户目前的状态(在线使用状态频繁或者空闲,还在未连接(离线未登入),提高了云电脑性能并提升了用户体验;从开发角度,涉及的关联的模块减少,减少了开发成本,提高了敏捷开发效率。In this embodiment, the system information is sent to the cloud computer access terminal for local caching, and will not be sent directly to the cloud computer, so that the system process of the cloud computer will not be called and will not have any impact on performance, and the user's current status can be effectively judged through the display state (frequent online use or idle, still not connected (offline not logged in), improve cloud computer performance and improve user experience; from the perspective of development, the number of related modules involved is reduced, development costs are reduced, and agility is improved Development efficiency.
场景一、系统维护,系统消息通知;每当系统维护前的通知消息,以及实施维护中的消息通知。信息下沉到终端可以在适时弹框或者在实施的时间段打开客户端时弹框提醒。Scenario 1: System maintenance, system message notification; notification message before system maintenance, and message notification during maintenance. When the information sinks to the terminal, a pop-up box can be displayed at the right time or when the client is opened during the implementation period.
场景二、主动服务提升用户体验,建议用户优化项发送系统消息;对于有利用提升用户使用体验的消息推送,比如用户的进程使用异常,提醒用户重启等。Scenario 2: Active service improves user experience, recommending that users optimize items to send system messages; for message push that can be used to improve user experience, such as the user's process usage is abnormal, reminding the user to restart, etc.
场景三、周报形式汇总一周的云电脑使用情况;可以避开高峰期,提前下载到各个终端上面,适时弹框。Scenario 3: The weekly report summarizes the cloud computer usage for a week; it can avoid the peak period, download it to each terminal in advance, and pop up the frame at the right time.
图4是根据本实施例的系统消息下发系统的框图,如图4所示,包括:Fig. 4 is a block diagram of the system message distribution system according to this embodiment, as shown in Fig. 4, including:
云桌面客户端41,登录云桌面的所需要的终端应用软件,系统消息的接收者并弹框显示;The cloud desktop client 41, the terminal application software needed to log in to the cloud desktop, and the receiver of the system message are displayed in a pop-up box;
VM 42是云桌面的虚拟机,用户实际使用的部分,包括的各种操作系统,也可以根据虚拟机(Virtual Machine,简称为VM)的键盘鼠标使用情况,判断用户当前状态; VM 42 is a virtual machine of the cloud desktop. The part actually used by the user includes various operating systems, and the current state of the user can also be judged according to the keyboard and mouse usage of the virtual machine (Virtual Machine, referred to as VM for short);
云桌面的管理模块43,包括VMC、IRAI(Integration Remote Application Infrastructure)、信息管理中心及鉴权模块,主要涉及到用户的登陆鉴权、系统消息下发及下发的策略控制。The management module 43 of the cloud desktop includes VMC, IRAI (Integration Remote Application Infrastructure), information management center and authentication module, mainly related to the user's login authentication, system message delivery and policy control of delivery.
管理模块43向客户端下发系统消息,是通过管理模块中的接人鉴权模块与云桌面客户端建立的传输通道下发;The management module 43 sends the system message to the client through the transmission channel established by the access authentication module in the management module and the cloud desktop client;
登录鉴权是云桌面用户的一个认证过程,云桌面用户与云桌面进行一个绑定,同时确认了终端和用户的关系;桌面流是云桌面被客户端登陆使用的一个双向数据流。Login authentication is an authentication process for cloud desktop users. Cloud desktop users are bound to the cloud desktop, and at the same time confirm the relationship between the terminal and the user; desktop stream is a two-way data flow that the cloud desktop is used by the client login.
图5是根据本实施例的基于客户端的系统消息下发的流程图,如图5所示,包括:Fig. 5 is a flow chart of sending a system message based on a client according to this embodiment, as shown in Fig. 5 , including:
S501,信息管理中心作为系统信息的管理模块,负责定制系统消息内容、策略的控制及明确发送对象,是整个技术方案里面,涉及到界面有人机交互的地方;S501. As the management module of system information, the information management center is responsible for customizing the content of system messages, controlling policies and specifying sending objects. It is the part of the entire technical solution that involves human-computer interaction on the interface;
S502,接入鉴权模块作为整个云桌面系统用户接入认证的模式,是管理模块与云桌面客户端最直接的数据交互,中间不会涉及到其它相关模块。通过鉴权模块进行消息数据流的传输,便捷高效;S502, the access authentication module is used as the user access authentication mode of the entire cloud desktop system, which is the most direct data interaction between the management module and the cloud desktop client, without involving other related modules in the middle. The transmission of the message data flow through the authentication module is convenient and efficient;
S503,客户端侧负责对系统信息的接收、下载、保存、处理,通过用户登入云桌面客户端到鉴权模块信息认证,并从获取是否有待接收的系统信息,如果存在即下载保存至客户端本地,返回结果;S503, the client side is responsible for receiving, downloading, saving, and processing system information, through the user logging into the cloud desktop client to the authentication module information authentication, and obtaining whether there is any system information to be received, if it exists, download and save it to the client local, return the result;
S504,判断客户端的当前状态,若当前状态为在线运行状态,执行步骤S505,若当前状态为离线运行状态,执行步骤S506;S504, judging the current state of the client, if the current state is the online running state, execute step S505, if the current state is the offline running state, execute step S506;
S505,立即弹框显示系统消息;S505, immediately popping up a frame to display a system message;
S506,定时弹框显示系统消息。S506, displaying system messages in a timing pop-up box.
根据客户端状态(分在线运行和离线运行)和消息类型(分立即弹框显示和定时弹框显示),定义系统消息字段,根据消息类别和紧急程度,管理员定制消息的显示时间和形式。完成及异常处理机制,可以根据策略弹框几次完成后,云桌面客户端缓存清空并上报结果,异常时反馈相关失败原因,尝试重试。According to the client status (online operation and offline operation) and message type (immediate pop-up box display and timing pop-up box display), the system message field is defined, and the administrator customizes the display time and form of the message according to the message category and urgency. The completion and exception handling mechanism can be completed several times according to the strategy, and the cloud desktop client cache will be cleared and the result will be reported. When an exception occurs, the relevant failure reason will be reported and try again.
本实施例,涉及模块少,相比于现有技术有两点是非常有优势:其一、需要适配的操作系统型号变少,现有技术每一个VM虚拟机的操作系统就需要做一个适配,在现在国产化的趋势下虚拟机的操作系统越来越多,本实施例只要适配固定的几款终端几款;其二、现有技术还需考虑主机与虚拟机的环境,当主机服务出问题或VM虚拟机出现问题是没有办法展示系统消息,本实施例无线主机与虚拟机的参与,就不存在该问题。还可以在主机与虚拟机出现问题时,通过系统消息下方及时通知用户,提供解决方案。This embodiment, involving fewer modules, has two advantages compared to the prior art: first, the number of operating system models that need to be adapted is reduced, and the operating system of each VM virtual machine in the prior art requires one Adaptation, under the current trend of localization, there are more and more virtual machine operating systems. This embodiment only needs to adapt to a few fixed types of terminals; second, the existing technology also needs to consider the environment of the host and the virtual machine. When there is a problem with the host service or the VM virtual machine, there is no way to display the system message, and the participation of the wireless host and the virtual machine in this embodiment does not have this problem. It can also notify the user in time through the bottom of the system message when there is a problem with the host and virtual machine, and provide a solution.
根据本公开的另一个实施例,还提供了一种客户端的系统消息发送装置,应用于管理平台,图6是根据本实施例的客户端的系统消息发送装置的框图,如图6所示,包括:According to another embodiment of the present disclosure, there is also provided a system message sending device for a client, which is applied to a management platform. FIG. 6 is a block diagram of a system message sending device for a client according to this embodiment. As shown in FIG. 6 , it includes :
下发模块62,设置为通过与云桌面的客户端建立的传输通道将待发送的系统消息下发到所述客户端中,并在所述客户端中进行本地缓存;The sending module 62 is configured to send the system message to be sent to the client through the transmission channel established with the client of the cloud desktop, and perform local caching in the client;
展示模块64,设置为根据预设规则在所述客户端的显示界面中展示所述系统消息。The display module 64 is configured to display the system message on the display interface of the client according to preset rules.
在一示例性实施例中,所述展示模块64包括:In an exemplary embodiment, the display module 64 includes:
确定子模块,设置为根据所述客户端中的键盘事件和/或鼠标事件确定所述客户端的当前状态;A determining submodule, configured to determine the current state of the client according to keyboard events and/or mouse events in the client;
判断子模块,设置为根据所述当前状态判断是否满足所述预设条件;The judging submodule is configured to judge whether the preset condition is met according to the current state;
展示子模块,设置为在满足预设条件的情况下,根据预设规则在所述客户端的显示界面触发展示所述系统消息。The display sub-module is configured to trigger the display of the system message on the display interface of the client according to the preset rule when the preset condition is satisfied.
在一示例性实施例中,所述确定子模块,还设置为In an exemplary embodiment, the determining submodule is also set to
若预设时间段内所述客户端中存在键盘事件和/或鼠标事件,确定所述当前状态为在线运行状态;If there are keyboard events and/or mouse events in the client within the preset time period, determine that the current state is an online running state;
若所述预设时间段内所述客户端中不存在所述键盘事件和/或所述鼠标事件,确定所述当前状态为离线运行状态。If the keyboard event and/or the mouse event does not exist in the client within the preset time period, determine that the current state is an offline running state.
在一示例性实施例中,所述判断子模块,还设置为In an exemplary embodiment, the judging submodule is also set to
判断所述当前状态是否为所述在线运行状态;judging whether the current state is the online running state;
若所述当前状态为所述在线运行状态,确定满足所述预设条件;If the current state is the online running state, determining that the preset condition is met;
若所述当前状态为所述离线运行状态,确定不满足所述预设条件。If the current state is the offline running state, it is determined that the preset condition is not satisfied.
在一示例性实施例中,所述展示子模块包括:In an exemplary embodiment, the display submodule includes:
获取单元,设置为获取所述系统消息的消息类型;An acquisition unit configured to acquire the message type of the system message;
展示单元,设置为根据预先设置的所述消息类型对应的显示方式在所述客户端的显示界面中展示所述系统消息。The display unit is configured to display the system message on the display interface of the client according to the preset display mode corresponding to the message type.
在一示例性实施例中,所述展示单元,还设置为In an exemplary embodiment, the display unit is further configured as
若所述系统消息的消息类型为立即弹框显示,根据所述立即弹框显示对应的显示方式立即在所述客户端的显示界面中展示所述系统消息;If the message type of the system message is immediate pop-up display, immediately display the system message on the display interface of the client according to the display mode corresponding to the immediate pop-up display;
若所述系统消息的消息类型为定时弹框显示,根据所述定时弹框显示对应的显示方式定时在所述客户端的显示界面中展示所述系统消息。If the message type of the system message is a timed pop-up display, the system message is regularly displayed on the display interface of the client according to a display mode corresponding to the timed pop-up display.
在一示例性实施例中,所述装置还包括:In an exemplary embodiment, the device also includes:
接收模块,设置为接收所述客户端展示所述系统消息预设次数并清空所述本地缓存之后发送的结果;或者The receiving module is configured to receive the result sent by the client after displaying the system message for a preset number of times and clearing the local cache; or
重新下发模块,设置为接收所述客户端展示所述系统消息异常之后发送的失败原因,根据所述失败原因重新向所述客户端下发所述系统消息。The re-sending module is configured to receive the failure reason sent by the client after the system message is abnormal, and re-send the system message to the client according to the failure reason.
本公开的实施例还提供了一种计算机可读存储介质,该计算机可读存储介质中存储有计算机程序,其中,该计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。Embodiments of the present disclosure also provide a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps in any one of the above method embodiments when running.
在一个示例性实施例中,上述计算机可读存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储计算机程序的介质。In an exemplary embodiment, the above-mentioned computer-readable storage medium may include but not limited to: U disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM) , mobile hard disk, magnetic disk or optical disk and other media that can store computer programs.
本公开的实施例还提供了一种电子装置,包括存储器和处理器,该存储器中存储有计算机程序,该处理器被设置为运行计算机程序以执行上述任一项方法实施例中的步骤。Embodiments of the present disclosure also provide an electronic device, including a memory and a processor, where a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
在一个示例性实施例中,上述电子装置还可以包括传输设备以及输入输出设备,其中,该传输设备和上述处理器连接,该输入输出设备和上述处理器连接。In an exemplary embodiment, the electronic device may further include a transmission device and an input and output device, wherein the transmission device is connected to the processor, and the input and output device is connected to the processor.
本实施例中的具体示例可以参考上述实施例及示例性实施方式中所描述的示例,本实施例在此不再赘述。For specific examples in this embodiment, reference may be made to the examples described in the foregoing embodiments and exemplary implementation manners, and details will not be repeated here in this embodiment.
显然,本领域的技术人员应该明白,上述的本公开的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本公开不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that each module or each step of the above-mentioned disclosure can be realized by a general-purpose computing device, and they can be concentrated on a single computing device, or distributed in a network composed of multiple computing devices In fact, they can be implemented in program code executable by a computing device, and thus, they can be stored in a storage device to be executed by a computing device, and in some cases, can be executed in an order different from that shown here. Or described steps, or they are fabricated into individual integrated circuit modules, or multiple modules or steps among them are fabricated into a single integrated circuit module for implementation. As such, the present disclosure is not limited to any specific combination of hardware and software.
以上所述仅为本公开的优选实施例而已,并不用于限制本公开,对于本领域的技术人员来说,本公开可以有各种更改和变化。凡在本公开的原则之内,所作的任何修改、等同替换、改进等,均应包含在本公开的保护范围之内。The above descriptions are only preferred embodiments of the present disclosure, and are not intended to limit the present disclosure. For those skilled in the art, the present disclosure may have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the principle of the present disclosure shall be included in the protection scope of the present disclosure.

Claims (10)

  1. 一种客户端的系统消息发送方法,应用于管理平台,包括:A system message sending method of a client, applied to a management platform, comprising:
    通过与云桌面的客户端建立的传输通道将待发送的系统消息下发到所述客户端中,并在所述客户端中进行本地缓存;Send the system message to be sent to the client through the transmission channel established with the client of the cloud desktop, and perform local caching in the client;
    根据预设规则在所述客户端的显示界面中展示所述系统消息。The system message is displayed on the display interface of the client according to a preset rule.
  2. 根据权利要求1所述的方法,其中,根据预设规则在所述客户端的显示界面展示所述系统消息包括:The method according to claim 1, wherein displaying the system message on the display interface of the client according to preset rules comprises:
    根据所述客户端中的键盘事件和/或鼠标事件确定所述客户端的当前状态;determining the current state of the client according to keyboard events and/or mouse events in the client;
    根据所述当前状态判断是否满足所述预设条件;judging whether the preset condition is met according to the current state;
    在满足预设条件的情况下,根据预设规则在所述客户端的显示界面触发展示所述系统消息。When the preset condition is met, the system message is triggered to be displayed on the display interface of the client according to the preset rule.
  3. 根据权利要求2所述的方法,其中,根据所述客户端中的键盘事件和/或鼠标事件确定所述客户端的当前状态包括:The method according to claim 2, wherein determining the current state of the client according to keyboard events and/or mouse events in the client comprises:
    若预设时间段内所述客户端中存在键盘事件和/或鼠标事件,确定所述当前状态为在线运行状态;If there are keyboard events and/or mouse events in the client within the preset time period, determine that the current state is an online running state;
    若所述预设时间段内所述客户端中不存在所述键盘事件和/或所述鼠标事件,确定所述当前状态为离线运行状态。If the keyboard event and/or the mouse event does not exist in the client within the preset time period, determine that the current state is an offline running state.
  4. 根据权利要求3所述的方法,其中,根据所述当前状态判断是否满足所述预设条件包括:The method according to claim 3, wherein judging whether the preset condition is met according to the current state comprises:
    判断所述当前状态是否为所述在线运行状态;judging whether the current state is the online running state;
    若所述当前状态为所述在线运行状态,确定满足所述预设条件;If the current state is the online running state, determine that the preset condition is met;
    若所述当前状态为所述离线运行状态,确定不满足所述预设条件。If the current state is the offline running state, it is determined that the preset condition is not satisfied.
  5. 根据权利要求2所述的方法,其中,根据预设规则在所述客户端的显示界面触发展示所述系统消息包括:The method according to claim 2, wherein triggering display of the system message on the display interface of the client according to preset rules comprises:
    获取所述系统消息的消息类型;Obtain the message type of the system message;
    根据预先设置的所述消息类型对应的显示方式在所述客户端的显示界面中展示所述系统消息。The system message is displayed on the display interface of the client according to the preset display manner corresponding to the message type.
  6. 根据权利要求5所述的方法,其中,根据预先设置的所述消息类型对应的显示方式在所述客户端的显示界面中展示所述系统消息包括:The method according to claim 5, wherein displaying the system message on the display interface of the client according to the preset display mode corresponding to the message type comprises:
    若所述系统消息的消息类型为立即弹框显示,根据所述立即弹框显示对应的显示方式立即在所述客户端的显示界面中展示所述系统消息;If the message type of the system message is immediate pop-up display, immediately display the system message on the display interface of the client according to the display mode corresponding to the immediate pop-up display;
    若所述系统消息的消息类型为定时弹框显示,根据所述定时弹框显示对应的显示方式定时在所述客户端的显示界面中展示所述系统消息。If the message type of the system message is a timed pop-up display, the system message is regularly displayed on the display interface of the client according to a display mode corresponding to the timed pop-up display.
  7. 根据权利要求1至6中任一项所述的方法,其中,所述方法还包括:The method according to any one of claims 1 to 6, wherein the method further comprises:
    接收所述客户端展示所述系统消息预设次数并清空所述本地缓存之后发送的结果;或者receiving the result sent by the client after displaying the system message a preset number of times and clearing the local cache; or
    接收所述客户端展示所述系统消息异常之后发送的失败原因,根据所述失败原因重新向所述客户端下发所述系统消息。receiving the failure reason sent by the client after the system message is abnormal, and re-delivering the system message to the client according to the failure reason.
  8. 一种客户端的系统消息发送装置,应用于管理平台,包括:A system message sending device for a client, applied to a management platform, comprising:
    下发模块,设置为通过与云桌面的客户端建立的传输通道将待发送的系统消息下发到所述客户端中,并在所述客户端中进行本地缓存;The sending module is configured to send the system message to be sent to the client through the transmission channel established with the client of the cloud desktop, and perform local caching in the client;
    展示模块,设置为根据预设规则在所述客户端的显示界面中展示所述系统消息。The display module is configured to display the system message on the display interface of the client according to preset rules.
  9. 一种计算机可读的存储介质,所述存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行所述权利要求1至7任一项中所述的方法。A computer-readable storage medium, wherein a computer program is stored in the storage medium, wherein the computer program is configured to perform the method described in any one of claims 1 to 7 when running.
  10. 一种电子装置,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以执行所述权利要求1至7任一项中所述的方法。An electronic device, comprising a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to perform the method described in any one of claims 1 to 7.
PCT/CN2022/087446 2021-07-20 2022-04-18 System message sending method and apparatus for client WO2023000729A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110821648.5A CN115640084A (en) 2021-07-20 2021-07-20 System message sending method and device for client
CN202110821648.5 2021-07-20

Publications (1)

Publication Number Publication Date
WO2023000729A1 true WO2023000729A1 (en) 2023-01-26

Family

ID=84940055

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/087446 WO2023000729A1 (en) 2021-07-20 2022-04-18 System message sending method and apparatus for client

Country Status (2)

Country Link
CN (1) CN115640084A (en)
WO (1) WO2023000729A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117221117A (en) * 2023-07-24 2023-12-12 瞳见科技有限公司 Normalized popup window generation method, system, terminal and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102195985A (en) * 2011-05-19 2011-09-21 北京邮电大学 System and method for controlling network load of presence service
CN104113510A (en) * 2013-04-17 2014-10-22 安徽盈科智能科技有限公司 Virtual desktop system and message data transmitting method thereof
CN106330986A (en) * 2015-06-15 2017-01-11 中兴通讯股份有限公司 Method and device for transmitting message
CN107360443A (en) * 2016-05-09 2017-11-17 中兴通讯股份有限公司 A kind of cloud desktop picture processing method, cloud desktop server and client
US10147115B1 (en) * 2012-03-28 2018-12-04 Vmware, Inc. Displaying supplemental messages including advertisements or security notifications in a virtual desktop environment
CN112463276A (en) * 2020-12-03 2021-03-09 南京机敏软件科技有限公司 Cloud desktop toolbar management method based on Electron technology

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102195985A (en) * 2011-05-19 2011-09-21 北京邮电大学 System and method for controlling network load of presence service
US10147115B1 (en) * 2012-03-28 2018-12-04 Vmware, Inc. Displaying supplemental messages including advertisements or security notifications in a virtual desktop environment
CN104113510A (en) * 2013-04-17 2014-10-22 安徽盈科智能科技有限公司 Virtual desktop system and message data transmitting method thereof
CN106330986A (en) * 2015-06-15 2017-01-11 中兴通讯股份有限公司 Method and device for transmitting message
CN107360443A (en) * 2016-05-09 2017-11-17 中兴通讯股份有限公司 A kind of cloud desktop picture processing method, cloud desktop server and client
CN112463276A (en) * 2020-12-03 2021-03-09 南京机敏软件科技有限公司 Cloud desktop toolbar management method based on Electron technology

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117221117A (en) * 2023-07-24 2023-12-12 瞳见科技有限公司 Normalized popup window generation method, system, terminal and storage medium
CN117221117B (en) * 2023-07-24 2024-03-29 瞳见科技有限公司 Normalized popup window generation method, system, terminal and storage medium

Also Published As

Publication number Publication date
CN115640084A (en) 2023-01-24

Similar Documents

Publication Publication Date Title
US10897406B2 (en) Scheduling method for content delivery network, and device
US20190356596A1 (en) Service link selection control method and device
US8352546B1 (en) Contextual and location awareness for device interaction
RU2378799C2 (en) Transmission of clip schedule to mobile terminals
US10739956B2 (en) Information processing method, terminal, server, and computer storage medium
US20050229114A1 (en) User interface for receiving information via a transmission medium
US20100083255A1 (en) Notification batching based on user state
US20200118158A1 (en) Advertising monitoring method, apparatus, and system
CN103634409A (en) Method and system for realizing always-online internet application
JP6193492B2 (en) Financial product transaction system and financial product transaction control method
WO2023000729A1 (en) System message sending method and apparatus for client
CN105515941A (en) Message and event replying method and system in wechat development mode
CN110601965B (en) Message distribution method, device and system and message gateway
US11159372B2 (en) Method and apparatus for restoring network device to factory defaults, and network device
CN107203443A (en) A kind of method and apparatus of the virtual machine High Availabitity based on KVM virtualization
CN109743250B (en) Transmission method of multicast message, first network equipment and second network equipment
US20140378116A1 (en) Method And System For Sending Notification Message, Management Control Apparatus, And Terminal Device
US10608889B2 (en) High-level interface to analytics engine
US20190149460A1 (en) Optimized Message Flooding Across Nodes of a Distributed Platform
CN107528929B (en) ARP (Address resolution protocol) entry processing method and device
WO2023155685A1 (en) Communication method, system, and apparatus, storage medium, and processor
CN114928615B (en) Load balancing method, device, equipment and readable storage medium
CN108011860A (en) A kind of method and device for handling broadcast message
CN112511595B (en) Message pushing method and message service system
CN112511440B (en) Message forwarding method, system, storage medium and electronic equipment

Legal Events

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

Ref document number: 22844901

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE