CN112463276A - Cloud desktop toolbar management method based on Electron technology - Google Patents

Cloud desktop toolbar management method based on Electron technology Download PDF

Info

Publication number
CN112463276A
CN112463276A CN202011412618.0A CN202011412618A CN112463276A CN 112463276 A CN112463276 A CN 112463276A CN 202011412618 A CN202011412618 A CN 202011412618A CN 112463276 A CN112463276 A CN 112463276A
Authority
CN
China
Prior art keywords
toolbar
cloud desktop
electron
main process
mouse
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011412618.0A
Other languages
Chinese (zh)
Inventor
袁进坤
徐亚运
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing Astute Tec Co ltd
Original Assignee
Nanjing Astute Tec Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing Astute Tec Co ltd filed Critical Nanjing Astute Tec Co ltd
Priority to CN202011412618.0A priority Critical patent/CN112463276A/en
Publication of CN112463276A publication Critical patent/CN112463276A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • 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
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • 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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; Web services
    • 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
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45595Network integration; Enabling network access in virtual machine instances

Landscapes

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

Abstract

The invention discloses a cloud desktop toolbar management method based on an Electron technology, which comprises the following steps that 1), a cloud desktop client module and a toolbar module are communicated through an Electron main process; 2) setting a toolbar page as click-through by an Electron main process, and generating a timer for monitoring the position of a mouse by the Electron main process; 3) the user opens a certain application on the cloud desktop and is in a full-screen running state, and when the user moves the mouse to enable the mouse to leave the area where the toolbar is located, the toolbar is hidden; the toolbar reappears when the mouse user moves the mouse to appear in the area where the toolbar is located. According to the cloud desktop toolbar decoupling from the cloud desktop protocol, the Electron technology is utilized, the cloud desktop toolbar decoupled from the cloud desktop protocol is realized, the functions of disconnection, state display, file transmission and the like of the cloud desktop can be independently completed, and the workload of development and later maintenance is greatly reduced.

Description

Cloud desktop toolbar management method based on Electron technology
Technical Field
The invention belongs to the technical field of cloud desktops, and particularly relates to a cloud desktop toolbar management method based on an Electron technology.
Background
Cloud desktops are a typical application of the virtualization and cloud computing era. The cloud desktop is also called desktop virtualization, and the cloud computer is a new mode for replacing the traditional computer; after the cloud desktop is adopted, a user does not need to purchase a computer host, all components such as a CPU (central processing unit), a memory, a hard disk and the like contained in the computer host are virtualized in a server at the back end, and 1-50 different virtual computers can be virtualized by a single high-performance server; the front-end equipment is mostly connected with a display and a keyboard and mouse by adopting a thin client (equipment similar to a television set-top box), and a user accesses a virtual machine host on a back-end server through a specific communication protocol to realize interactive operation after installing a cloud desktop client, so that the same experience effect as that of a traditional computer is achieved; meanwhile, the cloud desktop not only supports the replacement of a traditional computer, but also supports other intelligent devices such as a mobile phone and a tablet to access the Internet, and is also the latest solution of mobile office.
However, most of the existing cloud desktop toolbars are bound with protocols, and are realized by the interior of the protocols, so that the code realization difficulty is huge, each protocol needs to realize the own toolbar independently, the development workload is large, and the later maintenance is difficult.
Disclosure of Invention
The invention aims to provide a cloud desktop toolbar management method based on an Electron technology, and the cloud desktop toolbar management method solves the technical problems that in the prior art, a plurality of cloud desktop toolbars are bound with protocols and are realized by the interior of the protocols, code realization difficulty is huge, each protocol needs to realize the own toolbar independently, development workload is large, and maintenance is difficult in the later period.
In order to solve the technical problems, the invention adopts the technical scheme that:
the cloud desktop toolbar management method based on the Electron technology comprises the following steps:
1) the cloud desktop client module and the toolbar module are communicated through an Electron main process;
2) setting a toolbar page as click-through by an Electron main process, and generating a timer for monitoring the position of a mouse by the Electron main process;
3) the user opens a certain application on the cloud desktop and is in a full-screen running state, and when the user moves the mouse to enable the mouse to leave the area where the toolbar is located, the toolbar is hidden; the toolbar reappears when the mouse user moves the mouse to appear in the area where the toolbar is located.
According to the cloud desktop toolbar decoupling from the cloud desktop protocol, the Electron technology is utilized, the cloud desktop toolbar decoupled from the cloud desktop protocol is realized, the functions of disconnection, state display, file transmission and the like of the cloud desktop can be independently completed, and the workload of development and later maintenance is greatly reduced.
Further optimization, in the step 1), the cloud desktop client module and the toolbar module perform communication through an Electron main process as follows: the user clicks a certain icon in the toolbar on the cloud desktop, the cloud desktop client sends a message of clicking the icon to the Electron main process, and the Electron main process sends the message to the toolbar after receiving the message and displays corresponding content.
Further optimized, the toolbars include, but are not limited to, "home", "full screen", "device", "Ctrl + Alt + Del", "connection quality", "disconnect/connect", and "desktop settings". The tool bar and the cloud desktop virtual machine are independently interacted, and the functions of disconnecting the interior of the virtual machine, sending Ctrl + Alt + Del and other combined keys, finishing watermark control, file transmission and the like are finished.
Further preferably, the toolbar is located in the middle position of the top of the cloud desktop interface.
Cloud desktop toolbar system based on Electron technique includes:
the device terminal is used for accessing the cloud desktop;
the cloud desktop client is used for receiving the instruction of the client and sending the instruction to an Electron main process or a cloud desktop virtual machine;
the Electron main process is used for receiving a toolbar clicking instruction sent by a user through the cloud desktop client and sending the toolbar clicking instruction to the cloud desktop toolbar;
and the cloud desktop virtual machine is used for receiving an instruction sent by a user through the cloud desktop client and sending the instruction to the corresponding application system.
The technical scheme of the invention has the beneficial effects that:
according to the cloud desktop toolbar decoupling from the cloud desktop protocol, the Electron technology is utilized, the cloud desktop toolbar decoupled from the cloud desktop protocol is realized, the functions of disconnection, state display, file transmission and the like of the cloud desktop can be independently completed, and the workload of development and later maintenance is greatly reduced.
Drawings
FIG. 1 is a schematic diagram of a cloud desktop toolbar system based on Electron technology according to the present invention;
fig. 2 is a flowchart of a cloud desktop toolbar management method based on Electron technology.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
The cloud desktop toolbar management method based on the Electron technology takes a cloud desktop toolbar system based on the Electron technology as an execution object, and the system comprises an equipment terminal 1, a cloud desktop client 2, an Electron main process 3 and a cloud desktop virtual machine 4, as shown in fig. 1; the device terminal is used for accessing a cloud desktop; the cloud desktop client is used for receiving the instruction of the client and sending the instruction to an Electron main process or a cloud desktop virtual machine; the Electron main process is used for receiving a toolbar clicking instruction sent by a user through the cloud desktop client and sending the toolbar clicking instruction to the cloud desktop toolbar; the cloud desktop virtual machine is used for receiving an instruction sent by a user through a cloud desktop client and sending the instruction to a corresponding application system.
As shown in fig. 2, the management method specifically includes the following steps:
1) the cloud desktop client module and the toolbar module are communicated through an Electron main process;
2) setting a toolbar page as click-through by an Electron main process, and generating a timer for monitoring the position of a mouse by the Electron main process;
3) the user opens a certain application on the cloud desktop and is in a full-screen running state, and when the user moves the mouse to enable the mouse to leave the area where the toolbar is located, the toolbar is hidden; the toolbar reappears when the mouse user moves the mouse to appear in the area where the toolbar is located.
According to the cloud desktop toolbar decoupling from the cloud desktop protocol, the electronic technology is utilized, the cloud desktop toolbar decoupled from the cloud desktop protocol is realized, the functions of disconnection, state display, file transmission and the like of the cloud desktop can be independently completed, and the workload of development and later maintenance is greatly reduced.
In this embodiment, in step 1), the cloud desktop client module and the toolbar module perform a communication process through an Electron host process as follows: the user clicks a certain icon in the toolbar on the cloud desktop, the cloud desktop client sends a message of clicking the icon to the Electron main process, and the Electron main process sends the message to the toolbar after receiving the message and displays corresponding content.
In this embodiment, the toolbars include, but are not limited to, "home", "full screen", "device", "Ctrl + Alt + Del", "connection quality", "disconnect/connect", and "desktop settings". The tool bar and the cloud desktop virtual machine are independently interacted, and the functions of disconnecting the interior of the virtual machine, sending Ctrl + Alt + Del and other combined keys, finishing watermark control, file transmission and the like are finished.
In this embodiment, the toolbar is located at the middle position of the top of the cloud desktop interface.
The above examples are merely illustrative for clarity and are not intended to limit the embodiments. Other variations and modifications will be apparent to persons skilled in the art in light of the above description. And are neither required nor exhaustive of all embodiments. And obvious variations or modifications therefrom are within the scope of the invention.

Claims (5)

1. The cloud desktop toolbar management method based on the Electron technology is characterized by comprising the following steps:
1) the cloud desktop client module and the toolbar module are communicated through an Electron main process;
2) setting a toolbar page as click-through by an Electron main process, and generating a timer for monitoring the position of a mouse by the Electron main process;
3) the user opens a certain application on the cloud desktop and is in a full-screen running state, and when the user moves the mouse to enable the mouse to leave the area where the toolbar is located, the toolbar is hidden; the toolbar reappears when the mouse user moves the mouse to appear in the area where the toolbar is located.
2. The cloud desktop toolbar management method based on Electron technology of claim 1, wherein in step 1), the cloud desktop client module and the toolbar module communicate through an Electron main process as follows: the user clicks a certain icon in the toolbar on the cloud desktop, the cloud desktop client sends a message of clicking the icon to the Electron main process, and the Electron main process sends the message to the toolbar after receiving the message and displays corresponding content.
3. The Electron technology based cloud desktop toolbar management method of claim 1, wherein the toolbar includes, but is not limited to, "home page", "full screen", "device", "Ctrl + Alt + Del", "connection quality", "disconnect", and "desktop settings".
4. The Electron technology-based cloud desktop toolbar management method of claim 1, wherein the toolbar is located at a top middle position of the cloud desktop interface.
5. Cloud desktop toolbar system based on Electron technique, its characterized in that includes:
the device terminal is used for accessing the cloud desktop;
the cloud desktop client is used for receiving the instruction of the client and sending the instruction to an Electron main process or a cloud desktop virtual machine;
the Electron main process is used for receiving a toolbar clicking instruction sent by a user through the cloud desktop client and sending the toolbar clicking instruction to the cloud desktop toolbar;
and the cloud desktop virtual machine is used for receiving an instruction sent by a user through the cloud desktop client and sending the instruction to the corresponding application system.
CN202011412618.0A 2020-12-03 2020-12-03 Cloud desktop toolbar management method based on Electron technology Pending CN112463276A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011412618.0A CN112463276A (en) 2020-12-03 2020-12-03 Cloud desktop toolbar management method based on Electron technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011412618.0A CN112463276A (en) 2020-12-03 2020-12-03 Cloud desktop toolbar management method based on Electron technology

Publications (1)

Publication Number Publication Date
CN112463276A true CN112463276A (en) 2021-03-09

Family

ID=74806691

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011412618.0A Pending CN112463276A (en) 2020-12-03 2020-12-03 Cloud desktop toolbar management method based on Electron technology

Country Status (1)

Country Link
CN (1) CN112463276A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023000729A1 (en) * 2021-07-20 2023-01-26 中兴通讯股份有限公司 System message sending method and apparatus for client

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110225569A1 (en) * 2010-03-10 2011-09-15 International Business Machines Corporation Automated desktop benchmarking
CN103809877A (en) * 2012-11-10 2014-05-21 姚爱军 Template type website navigation toolbar method and system
US10462216B1 (en) * 2018-05-04 2019-10-29 Citrix Systems, Inc. WebRTC API redirection with interception techniques
CN111399964A (en) * 2020-03-27 2020-07-10 重庆海云捷迅科技有限公司 Cloud desktop platform based on video streaming technology

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110225569A1 (en) * 2010-03-10 2011-09-15 International Business Machines Corporation Automated desktop benchmarking
CN103809877A (en) * 2012-11-10 2014-05-21 姚爱军 Template type website navigation toolbar method and system
US10462216B1 (en) * 2018-05-04 2019-10-29 Citrix Systems, Inc. WebRTC API redirection with interception techniques
CN111399964A (en) * 2020-03-27 2020-07-10 重庆海云捷迅科技有限公司 Cloud desktop platform based on video streaming technology

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023000729A1 (en) * 2021-07-20 2023-01-26 中兴通讯股份有限公司 System message sending method and apparatus for client

Similar Documents

Publication Publication Date Title
US10628209B2 (en) Virtual machine monitor to I/O stack conduit in virtual real memory
CA2922867C (en) Desktop-cloud-based media control method and device
CN102567074B (en) USB (universal serial bus) device redirecting method facing virtual machines
US8893013B1 (en) Method and apparatus for providing a hybrid computing environment
CN101685431A (en) Remote desktop control system using usb interface and method thereof
CN103874984A (en) Virtualizable and forward-compatible hardware-software interface
CN109413140B (en) Remote automatic upgrading method for PACS server
CN111078104B (en) Redirection method of multi-point touch equipment on cloud desktop and computer equipment
US20120235924A1 (en) Display systems, methods, and apparatus
CN112988419A (en) Method for sharing Linux input method to Android
CN113778583A (en) Method, device, equipment and medium for publishing local application of cloud desktop
CN112463276A (en) Cloud desktop toolbar management method based on Electron technology
US20100229114A1 (en) User Interface for Interaction with Virtual Machine
WO2019062019A1 (en) Data list exporting method and terminal using same
CN103067500B (en) Web browsing method based on cloud terminal
CN201039209Y (en) Router with download function
CN115357340A (en) Device and method for improving performance of virtual equipment
CN102724213B (en) A kind of virtual seamless desktop and implementation method
CN202018635U (en) Device capable of realizing switching of PS (personal system)/2 signals in KVM (kernel-based virtual machine)
CN102033834B (en) Remote control device as well as server and client applying same
CN104932820A (en) Touch screen use method and system based on USB mapping
CN113835816A (en) Virtual machine desktop display method, device, equipment and readable storage medium
Wan et al. Design ideas of mobile internet desktop system based on virtualization technology in cloud computing
CN111083130A (en) Cloud desktop system based on fat client and method for realizing system
CN112738282B (en) Remote control method and system for 5G communication virtualization network element desktop

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination