CN116974680A - Computer desktop remote control method, device and equipment based on peripheral mouse keys - Google Patents

Computer desktop remote control method, device and equipment based on peripheral mouse keys Download PDF

Info

Publication number
CN116974680A
CN116974680A CN202310973952.0A CN202310973952A CN116974680A CN 116974680 A CN116974680 A CN 116974680A CN 202310973952 A CN202310973952 A CN 202310973952A CN 116974680 A CN116974680 A CN 116974680A
Authority
CN
China
Prior art keywords
mouse
computer
cursor
remote control
data
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
CN202310973952.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.)
Button Digital Intelligent Technology Shenzhen Group Co ltd
Original Assignee
Button Digital Intelligent Technology Shenzhen Group 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 Button Digital Intelligent Technology Shenzhen Group Co ltd filed Critical Button Digital Intelligent Technology Shenzhen Group Co ltd
Priority to CN202310973952.0A priority Critical patent/CN116974680A/en
Publication of CN116974680A publication Critical patent/CN116974680A/en
Pending legal-status Critical Current

Links

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
    • G06F9/452Remote windowing, e.g. X-Window System, desktop virtualisation

Abstract

The application discloses a computer desktop remote control method, device and equipment based on peripheral mouse keys, and relates to the technical field of remote control. According to the method, a local cursor is drawn according to current data of a computer desktop mouse cursor from a controlled computer, the local cursor is output and displayed, then when mouse key event data generated by a peripheral mouse key due to user operation is obtained, the local cursor is moved according to mouse events in the mouse key event data, remote control data generated according to the mouse key event data are sent to the controlled computer, and therefore the mouse cursor is replaced with a local cursor to be displayed on a client side through a remote desktop mouse, the influence of movement smoothness caused by movement body feeling delay and movement data loss of the mouse in the mouse key operation process of a user can be reduced, the client side can receive operation feedback in time, further remote control user experience under the condition of weak network can be improved, and practical application and popularization are facilitated.

Description

Computer desktop remote control method, device and equipment based on peripheral mouse keys
Technical Field
The application belongs to the technical field of remote control, and particularly relates to a computer desktop remote control method, device and equipment based on peripheral mouse keys.
Background
Remote control generally refers to controlling a remote computer or other hardware device via a network. At present, the computer end can be shared by a desktop, and when an operator uses the master control computer to control the controlled computer, the computer end can start an application program of the controlled computer just like operating the computer of the host computer to control the computer of the controlled end. Typically, remote control software is a tool designed for a particular platform or system and having specialized uses. However, the present remote control is not limited to end-to-end computer control, and the remote control technology has been widely applied to various electronic devices, such as remote control actions of remote operation, remote management, remote monitoring, etc. on various embedded devices. Likewise, the need for cross-platform control terminals has arisen in today's society; for example, in recent years, with the advent of the mobile internet and the 5G era, some technologies related to controlling a computer end by a mobile end, such as a cloud computer and a cloud game, have appeared, and a user can remotely control a computer at a far end to perform remote office or free play through the mobile terminal. Existing remote control applications are generally divided into a client program (client) and a Server program (Server), where the client program is usually installed on a master control device and the Server program is installed on a controlled device. When the remote control system is used, the client-side main control equipment sends a control command to the server-side controlled equipment, and the controlled equipment is controlled to respond correspondingly, so that the remote control function is realized.
The prior remote control technical scheme is mainly characterized in that a client master control device records the click position of a user click event and sends the click position to a server controlled device; after the server controlled device receives the click position, the click event is simulated on the current screen to trigger, and then the current picture is pushed to the client main control device, so that the next operation is performed according to the control result. However, the pushing of the picture to the client master control device has unavoidable delay, especially in the case of weak network, such as a scene with stronger operation consistency like mouse movement, the client cannot receive the operation feedback in time, and the remote control user experience is greatly adversely affected.
Disclosure of Invention
The application aims to provide a computer desktop remote control method and device based on peripheral mouse keys, a computer desktop remote control system, computer equipment and a computer readable storage medium, which are used for solving the problem that a client cannot timely receive mouse movement operation feedback due to picture transmission delay in the existing remote control technical scheme, so that the remote control user experience is adversely affected greatly.
In order to achieve the above purpose, the present application adopts the following technical scheme:
in a first aspect, a remote control method for a computer desktop based on a peripheral mouse button is provided, which is executed by a client master control device remotely connected to a controlled computer and near-field connected to the peripheral mouse button, and includes:
receiving current data of a computer desktop mouse cursor from the controlled computer, wherein the current data of the computer desktop mouse cursor is sent in real time by the controlled computer after the remote connection is established;
drawing a local cursor according to the current data of the computer desktop mouse cursor, and outputting and displaying the local cursor;
when mouse key event data generated by the operation of a user of the peripheral mouse key is obtained, the local cursor is moved according to mouse events in the mouse key event data, remote control data generated according to the mouse key event data are sent to the controlled computer, so that the controlled computer can execute corresponding actions according to the remote control data to obtain mouse key operation results, and the computer desktop of the controlled computer is refreshed according to the mouse key operation results.
Based on the above summary, a new scheme of computer desktop remote control capable of timely performing near-field presentation on mouse movement operation is provided, namely, a local cursor is drawn according to current data of a computer desktop mouse cursor from a controlled computer, the local cursor is output and displayed, then when mouse key event data generated by a peripheral mouse key due to user operation is obtained, the local cursor is moved according to a mouse event in the mouse key event data, and then remote control data generated according to the mouse key event data is sent to the controlled computer, so that the mouse cursor is replaced by a local cursor to be displayed on a client side by a remote desktop mouse, the influence of mouse movement motion sense delay and movement data loss on movement smoothness can be reduced in the process of the user mouse key operation, the client side can timely receive operation feedback, further the remote control user experience under the condition of weak network can be improved, and practical application and popularization are facilitated.
In one possible design, after transmitting the remote control data generated according to the mouse key event data to the controlled computer, the method further includes:
starting a first timer;
before the timing value of the first timer reaches a first preset duration, if new current data of the computer desktop mouse cursor from the controlled computer is received, refreshing and displaying the local cursor according to the new current data of the computer desktop mouse cursor is refused, wherein the first preset duration is less than or equal to twice the remote transmission delay plus response processing delay of the remote control data;
after the timing value of the first timer reaches the first preset duration, if new current data of the computer desktop mouse cursor from the controlled computer is received, refreshing and displaying the local cursor according to the new current data of the computer desktop mouse cursor.
In one possible design, after starting the first timer, the method further comprises:
and when the timing value of the first timer reaches a second preset time length, if the current data of the computer desktop mouse cursor from the controlled computer is not received yet and is new, resetting the local cursor to a position before moving according to the mouse event, wherein the second preset time length is longer than the first preset time length.
In one possible design, after transmitting the remote control data generated according to the mouse key event data to the controlled computer, the method further includes:
starting a second timer;
before the timing value of the second timer reaches a third preset duration, if control completion indicating data which is from the controlled computer and corresponds to the remote control data is received, the position of the local cursor is maintained unchanged, wherein the third preset duration is longer than twice of the remote transmission time delay of the remote control data plus response processing time delay, and the data size of the control completion indicating data is smaller than the current data size of the computer desktop mouse cursor.
In one possible design, after starting the second timer, the method further comprises:
and when the timing value of the second timer reaches the third preset time length, if the control completion indication data from the controlled computer is not received yet, resetting the local cursor to the position before the movement according to the mouse event.
In one possible design, after starting the second timer, the method further comprises:
before the timing value of the second timer reaches the third preset duration, if control failure indication data which is from the controlled computer and corresponds to the remote control data is received, resetting the local cursor to a position before movement according to the mouse event, wherein the data size of the control failure indication data is smaller than the data size of the current data of the computer desktop mouse cursor.
In a second aspect, a computer desktop remote control device based on a peripheral mouse button is provided, which is suitable for being arranged in a client master control device which is remotely connected with a controlled computer and is in near-field connection with the peripheral mouse button, and comprises a cursor data receiving module, a cursor drawing display module and a mouse button operation response module which are sequentially in communication connection;
the cursor data receiving module is used for receiving current data of a computer desktop mouse cursor from the controlled computer, wherein the current data of the computer desktop mouse cursor is sent in real time by the controlled computer after the remote connection is established;
the cursor drawing and displaying module is used for drawing a local cursor according to the current data of the computer desktop mouse cursor and outputting and displaying the local cursor;
and the mouse key operation response module is used for firstly moving the local cursor according to a mouse event in the mouse key event data when the mouse key event data generated by the external mouse key due to user operation is acquired, and then sending remote control data generated according to the mouse key event data to the controlled computer, so that the controlled computer can execute corresponding actions according to the remote control data to obtain a mouse key operation result, and refreshing the computer desktop of the controlled computer according to the mouse key operation result.
In a third aspect, the application provides a computer desktop remote control system, which comprises a controlled computer, a peripheral mouse button and a client master control device, wherein the controlled computer is remotely connected with the client master control device, and the peripheral mouse button is in near-field connection with the client master control device;
the client master control device is configured to execute the computer desktop remote control method according to the first aspect or any of the possible designs of the first aspect.
In a fourth aspect, the present application provides a computer device comprising a memory, a processor and a transceiver in communication connection in turn, wherein the memory is configured to store a computer program, the transceiver is configured to send and receive messages, and the processor is configured to read the computer program, and perform the computer desktop remote control method according to the first aspect or any of the possible designs of the first aspect.
In a fifth aspect, the present application provides a computer readable storage medium having instructions stored thereon which, when executed on a computer, perform a computer desktop remote control method as described in the first aspect or any of the possible designs of the first aspect.
In a sixth aspect, the present application provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the computer desktop remote control method of the first aspect or any of the possible designs of the first aspect.
The beneficial effect of above-mentioned scheme:
(1) The application creatively provides a new computer desktop remote control scheme capable of timely and near-field presenting mouse moving operation, namely, a local cursor is drawn according to current data of a computer desktop mouse cursor from a controlled computer, the local cursor is output and displayed, then when mouse key event data generated by a peripheral mouse key due to user operation is obtained, the local cursor is moved according to mouse events in the mouse key event data, and then remote control data generated according to the mouse key event data is sent to the controlled computer, so that the mouse cursor is replaced by a local cursor to be displayed on a client side of a remote desktop mouse, the influence of delay of mouse moving body feeling and loss of moving data on moving smoothness can be reduced in the process of the mouse key operation of a user, the client side can timely receive operation feedback, further remote control user experience under the condition of weak network can be improved, and practical application and popularization are facilitated.
Drawings
In order to more clearly illustrate the embodiments of the application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a computer desktop remote control method according to an embodiment of the present application.
Fig. 2 is a schematic structural diagram of a computer desktop remote control device according to an embodiment of the present application.
Fig. 3 is a schematic structural diagram of a computer desktop remote control system according to an embodiment of the present application.
Fig. 4 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the present application will be briefly described below with reference to the accompanying drawings and the description of the embodiments or the prior art, and it is obvious that the following description of the structure of the drawings is only some embodiments of the present application, and other drawings can be obtained according to these drawings without inventive effort to a person skilled in the art. It should be noted that the description of these examples is for aiding in understanding the present application, but is not intended to limit the present application.
It should be understood that although the terms first and second, etc. may be used herein to describe various objects, these objects should not be limited by these terms. These terms are only used to distinguish one object from another. For example, a first object may be referred to as a second object, and similarly a second object may be referred to as a first object, without departing from the scope of example embodiments of the application.
It should be understood that for the term "and/or" that may appear herein, it is merely one association relationship that describes an associated object, meaning that there may be three relationships, e.g., a and/or B, may represent: three cases of A alone, B alone or both A and B exist; as another example, A, B and/or C, can represent the presence of any one of A, B and C or any combination thereof; for the term "/and" that may appear herein, which is descriptive of another associative object relationship, it means that there may be two relationships, e.g., a/and B, it may be expressed that: the two cases of A and B exist independently or simultaneously; in addition, for the character "/" that may appear herein, it is generally indicated that the context associated object is an "or" relationship.
Examples:
as shown in fig. 1, the computer desktop remote control method provided in the first aspect of the present embodiment and based on the peripheral mouse button may be performed by, but not limited to, a client host device having a certain computing resource, remotely connected to a controlled computer, and near-field connected to the peripheral mouse button, for example, a personal computer (Personal Computer, PC, a multipurpose computer with a size, price and performance suitable for personal use; desktop, notebook to small notebook, tablet, ultrabook, etc. all belong to personal computers), a smart phone, a personal digital assistant (Personal Digital Assistant, PDA), or an electronic device such as a wearable device. As shown in FIG. 1, the computer desktop remote control method may include, but is not limited to, the following steps S1 to S3.
S1, receiving current data of a computer desktop mouse cursor from the controlled computer, wherein the current data of the computer desktop mouse cursor is sent in real time by the controlled computer after the remote connection is established.
In the step S1, the current data of the computer desktop mouse cursor specifically includes, but is not limited to, information such as the current position/current style of the computer desktop mouse cursor, which can be obtained and remotely transmitted in real time by the controlled computer in a conventional manner. In addition, the specific establishment mode of the remote connection is also the prior conventional technology.
S2, drawing a local cursor according to the current data of the computer desktop mouse cursor, and outputting and displaying the local cursor.
In the step S2, because the current data of the computer desktop mouse cursor includes information such as the current position/current style of the computer desktop mouse cursor, the local cursor can be drawn conventionally according to the information, and the local cursor is output and displayed to the user through a man-machine interaction interface (such as a mobile phone display screen) of the local device.
S3, when mouse key event data generated by the operation of a user of the peripheral mouse key is obtained, the local cursor is moved according to a mouse event in the mouse key event data, remote control data generated according to the mouse key event data are sent to the controlled computer, so that the controlled computer executes corresponding actions according to the remote control data to obtain a mouse key operation result, and the computer desktop of the controlled computer is refreshed according to the mouse key operation result.
In the step S3, the peripheral mouse button includes, but is not limited to, a conventional mouse, a keyboard, etc., so that after the user operates, the mouse button event data specifically includes, but is not limited to, a mouse event (specifically, a mouse movement event, a mouse click event, etc.), a carriage return button event, a delete button event, other function button event, etc. Specifically, the specific process of moving the local cursor according to the mouse event in the mouse key event data may be, but is not limited to,: and determining the latest position of the local cursor according to the moving direction information, the moving speed information and the like in the mouse moving event, then moving the local cursor to the latest position, and updating and displaying. The specific generation process of the remote control data is the conventional technology, for example, a file opening control instruction is generated according to a mouse click event, a text input control instruction is generated according to a carriage return key event, a file deletion control instruction is generated according to a deletion key event, and the like. In addition, the specific process of the controlled computer executing corresponding actions according to the remote control data to obtain the mouse key operation result is also the prior conventional technology.
The computer desktop remote control method based on the steps S1-S3 provides a new computer desktop remote control scheme capable of timely performing near-field presentation on mouse movement operation, namely, firstly, drawing a local cursor according to current data of a computer desktop mouse cursor from a controlled computer, outputting and displaying the local cursor, then, when mouse key event data generated by a peripheral mouse key due to user operation is obtained, firstly, moving the local cursor according to mouse events in the mouse key event data, and then, sending remote control data generated according to the mouse key event data to the controlled computer, so that the mouse cursor is replaced by a local cursor to be displayed on a client side by a remote desktop mouse, the influence of mouse movement motion sense delay and movement data loss on movement smoothness can be reduced in the user mouse key operation process, the client side can timely receive operation feedback, further, the remote control user experience under the condition of weak network can be improved, and practical application and popularization are facilitated.
The present embodiment further provides a possible design of how to refresh the display local cursor after the remote control data is sent, that is, after sending the remote control data generated according to the mouse key event data to the controlled computer, the method further includes, but is not limited to, the following steps S411 to S414.
S411, starting a first timer.
S412, before the timing value of the first timer reaches a first preset duration, if new current data of the computer desktop mouse cursor from the controlled computer is received, refreshing and displaying the local cursor according to the new current data of the computer desktop mouse cursor is refused, wherein the first preset duration is less than or equal to twice of the remote transmission delay of the remote control data plus response processing delay.
In the step S412, since the first preset duration is less than or equal to twice the remote transmission delay of the remote control data plus the response processing delay, the received and new current data of the mouse cursor on the desktop of the computer is not necessarily the mouse key operation result obtained by executing the corresponding action according to the remote control data, and the local cursor does not need to be refreshed accordingly, so as to avoid the phenomenon of movement disorder of the local cursor.
S413, after the timing value of the first timer reaches the first preset duration, if new current data of the computer desktop mouse cursor from the controlled computer is received, refreshing and displaying the local cursor according to the new current data of the computer desktop mouse cursor.
S414, resetting the local cursor to a position before movement according to the mouse event if new current data of the computer desktop mouse cursor from the controlled computer is not received when the timing value of the first timer reaches a second preset time length, wherein the second preset time length is longer than the first preset time length.
In step S414, if the new current data of the mouse cursor on the desktop of the computer is not received after the timeout, it indicates that there may be a temporary interruption in the remote connection, so that the controlled computer may not receive the remote control data, and therefore the local cursor needs to be reset, so that the user may re-operate the mouse button on the peripheral device.
Based on the first possible design, the display local cursor can be correctly refreshed after the remote control data is sent, so that the whole computer desktop remote control scheme can be continuously performed.
Based on the technical solution of the first aspect, the present embodiment further provides a second possible design of how to refresh and display the local cursor after the remote control data is sent, that is, after sending the remote control data generated according to the mouse key event data to the controlled computer, the method further includes, but is not limited to, the following steps S421 to S424.
S421, starting a second timer.
S422, before the timing value of the second timer reaches a third preset duration, if control completion instruction data which is from the controlled computer and corresponds to the remote control data is received, the position of the local cursor is maintained unchanged, wherein the third preset duration is longer than twice of the remote transmission time delay of the remote control data plus response processing time delay, and the data size of the control completion instruction data is smaller than the current data size of the computer desktop mouse cursor.
In the step S422, the control completion instruction data is used to confirm that the movement behavior of the local cursor is consistent with the movement behavior of the mouse cursor on the controlled computer side, so that the position of the local cursor can be maintained unchanged until the peripheral mouse button generates the next mouse button event data due to the user operation. In addition, the data volume of the control completion indication data is smaller than the data volume of the current data of the computer desktop mouse cursor, so that the success rate of transmitting the confirmation information can be increased, the required transmission time of the confirmation information can be reduced, and the method is further suitable for the weak network condition.
S423, before the timing value of the second timer reaches the third preset duration, if control failure indication data which is from the controlled computer and corresponds to the remote control data is received, resetting the local cursor to a position before movement according to the mouse event, wherein the data size of the control failure indication data is smaller than the data size of the current data of the computer desktop mouse cursor.
In the step S423, the control failure indication data is used to confirm that the movement behavior of the local cursor is inconsistent with the movement behavior of the mouse cursor on the controlled computer side, so that the local cursor needs to be reset in order for the user to re-operate the peripheral mouse button.
S424, when the timing value of the second timer reaches the third preset duration, if the control completion instruction data from the controlled computer is not received yet, resetting the local cursor to the position where the local cursor is located before moving according to the mouse event.
In step S424, if the control completion instruction data is not received over time, it indicates that there may be a temporary interruption in the remote connection, so that the controlled computer may not receive the remote control data, and therefore the local cursor needs to be reset, so that the user may re-operate the peripheral mouse button.
Based on the second possible design, the local cursor can be correctly refreshed and displayed after the remote control data is sent, so that the whole computer desktop remote control scheme can be continuously performed, and the method is further suitable for the weak network condition.
As shown in fig. 2, a second aspect of the present embodiment provides a virtual device implementing the computer desktop remote control method of the first aspect or any one of the first aspect, which is suitable for being disposed in a client master control device that is remotely connected to a controlled computer and is near-field connected to a peripheral mouse button, and includes a cursor data receiving module, a cursor drawing display module, and a mouse button operation response module that are sequentially connected in communication;
the cursor data receiving module is used for receiving current data of a computer desktop mouse cursor from the controlled computer, wherein the current data of the computer desktop mouse cursor is sent in real time by the controlled computer after the remote connection is established;
the cursor drawing and displaying module is used for drawing a local cursor according to the current data of the computer desktop mouse cursor and outputting and displaying the local cursor;
and the mouse key operation response module is used for firstly moving the local cursor according to a mouse event in the mouse key event data when the mouse key event data generated by the external mouse key due to user operation is acquired, and then sending remote control data generated according to the mouse key event data to the controlled computer, so that the controlled computer can execute corresponding actions according to the remote control data to obtain a mouse key operation result, and refreshing the computer desktop of the controlled computer according to the mouse key operation result.
The working process, working details and technical effects of the foregoing device provided in the second aspect of the present embodiment may refer to the first aspect or any one of the first aspect may design the computer desktop remote control method, which is not described herein again.
As shown in fig. 3, a third aspect of the present embodiment provides a computer desktop remote control system applying the computer desktop remote control method of the first aspect or any one of the first aspect, including a controlled computer, a peripheral mouse button and a client master control device, where the controlled computer is remotely connected to the client master control device, and the peripheral mouse button is near-field connected to the client master control device;
the client master control device is configured to execute the computer desktop remote control method according to the first aspect or any one of the possible designs in the first aspect.
The working process, working details and technical effects of the foregoing system provided in the third aspect of the present embodiment may refer to the first aspect or any one of the first aspect may design the computer desktop remote control method, which is not described herein.
As shown in fig. 4, a fourth aspect of the present embodiment provides a computer device for executing the computer desktop remote control method according to the first aspect or any one of the first aspects, where the computer device includes a memory, a processor, and a transceiver, which are sequentially connected in communication, where the memory is configured to store a computer program, the transceiver is configured to send and receive a message, and the processor is configured to read the computer program, and execute the computer desktop remote control method according to the first aspect or any one of the first aspects. By way of specific example, the Memory may include, but is not limited to, random-Access Memory (RAM), read-Only Memory (ROM), flash Memory (Flash Memory), first-in first-out Memory (First Input First Output, FIFO), and/or first-in last-out Memory (First Input Last Output, FILO), etc.; the processor may be, but is not limited to, a microprocessor of the type STM32F105 family. In addition, the computer device may include, but is not limited to, a power module, a display screen, and other necessary components.
The working process, working details and technical effects of the foregoing computer device provided in the fourth aspect of the present embodiment may refer to the first aspect or any one of the first aspect may design the computer desktop remote control method, which is not described herein.
A fifth aspect of the present embodiment provides a computer readable storage medium storing instructions comprising the computer desktop remote control method according to the first aspect or any one of the first aspects, i.e. the computer readable storage medium has instructions stored thereon, which when executed on a computer, perform the computer desktop remote control method according to the first aspect or any one of the first aspects. The computer readable storage medium refers to a carrier for storing data, and may include, but is not limited to, a floppy disk, an optical disk, a hard disk, a flash Memory, and/or a Memory Stick (Memory Stick), where the computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable devices.
The working process, working details and technical effects of the foregoing computer readable storage medium provided in the fifth aspect of the present embodiment may refer to the computer desktop remote control method as described in the first aspect or any one of the possible designs of the first aspect, which are not described herein again.
A sixth aspect of the present embodiment provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the computer desktop remote control method of the first aspect or any one of the possible designs of the first aspect. Wherein the computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus.
Finally, it should be noted that: the foregoing description is only of the preferred embodiments of the application and is not intended to limit the scope of the application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (10)

1. The computer desktop remote control method based on the peripheral mouse key is characterized by being executed by a client-side main control device which is remotely connected with a controlled computer and is connected with the peripheral mouse key in a near field, and comprising the following steps:
receiving current data of a computer desktop mouse cursor from the controlled computer, wherein the current data of the computer desktop mouse cursor is sent in real time by the controlled computer after the remote connection is established;
drawing a local cursor according to the current data of the computer desktop mouse cursor, and outputting and displaying the local cursor;
when mouse key event data generated by the operation of a user of the peripheral mouse key is obtained, the local cursor is moved according to mouse events in the mouse key event data, remote control data generated according to the mouse key event data are sent to the controlled computer, so that the controlled computer can execute corresponding actions according to the remote control data to obtain mouse key operation results, and the computer desktop of the controlled computer is refreshed according to the mouse key operation results.
2. The computer desktop remote control method according to claim 1, further comprising, after transmitting remote control data generated from the mouse key event data to the controlled computer:
starting a first timer;
before the timing value of the first timer reaches a first preset duration, if new current data of the computer desktop mouse cursor from the controlled computer is received, refreshing and displaying the local cursor according to the new current data of the computer desktop mouse cursor is refused, wherein the first preset duration is less than or equal to twice the remote transmission delay plus response processing delay of the remote control data;
after the timing value of the first timer reaches the first preset duration, if new current data of the computer desktop mouse cursor from the controlled computer is received, refreshing and displaying the local cursor according to the new current data of the computer desktop mouse cursor.
3. The computer desktop remote control method of claim 2, wherein after starting the first timer, the method further comprises:
and when the timing value of the first timer reaches a second preset time length, if the current data of the computer desktop mouse cursor from the controlled computer is not received yet and is new, resetting the local cursor to a position before moving according to the mouse event, wherein the second preset time length is longer than the first preset time length.
4. The computer desktop remote control method according to claim 1, further comprising, after transmitting remote control data generated from the mouse key event data to the controlled computer:
starting a second timer;
before the timing value of the second timer reaches a third preset duration, if control completion indicating data which is from the controlled computer and corresponds to the remote control data is received, the position of the local cursor is maintained unchanged, wherein the third preset duration is longer than twice of the remote transmission time delay of the remote control data plus response processing time delay, and the data size of the control completion indicating data is smaller than the current data size of the computer desktop mouse cursor.
5. The computer desktop remote control method of claim 4, further comprising, after starting the second timer:
and when the timing value of the second timer reaches the third preset time length, if the control completion indication data from the controlled computer is not received yet, resetting the local cursor to the position before the movement according to the mouse event.
6. The computer desktop remote control method of claim 4, further comprising, after starting the second timer:
before the timing value of the second timer reaches the third preset duration, if control failure indication data which is from the controlled computer and corresponds to the remote control data is received, resetting the local cursor to a position before movement according to the mouse event, wherein the data size of the control failure indication data is smaller than the data size of the current data of the computer desktop mouse cursor.
7. The computer desktop remote control device based on the peripheral mouse key is characterized by being suitable for being arranged in a client-side main control device which is remotely connected with a controlled computer and is connected with the peripheral mouse key in a near field mode, and comprising a cursor data receiving module, a cursor drawing display module and a mouse key operation response module which are sequentially in communication connection;
the cursor data receiving module is used for receiving current data of a computer desktop mouse cursor from the controlled computer, wherein the current data of the computer desktop mouse cursor is sent in real time by the controlled computer after the remote connection is established;
the cursor drawing and displaying module is used for drawing a local cursor according to the current data of the computer desktop mouse cursor and outputting and displaying the local cursor;
and the mouse key operation response module is used for firstly moving the local cursor according to a mouse event in the mouse key event data when the mouse key event data generated by the external mouse key due to user operation is acquired, and then sending remote control data generated according to the mouse key event data to the controlled computer, so that the controlled computer can execute corresponding actions according to the remote control data to obtain a mouse key operation result, and refreshing the computer desktop of the controlled computer according to the mouse key operation result.
8. The computer desktop remote control system is characterized by comprising a controlled computer, a peripheral mouse button and a client master control device, wherein the controlled computer is remotely connected with the client master control device, and the peripheral mouse button is in near-field connection with the client master control device;
the client-side main control equipment is used for executing the computer desktop remote control method according to any one of claims 1-6.
9. A computer device comprising a memory, a processor and a transceiver in communication connection in sequence, wherein the memory is configured to store a computer program, the transceiver is configured to send and receive messages, and the processor is configured to read the computer program and perform the computer desktop remote control method according to any one of claims 1 to 6.
10. A computer readable storage medium having instructions stored thereon which, when executed on a computer, perform the computer desktop remote control method of any of claims 1-6.
CN202310973952.0A 2023-08-02 2023-08-02 Computer desktop remote control method, device and equipment based on peripheral mouse keys Pending CN116974680A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310973952.0A CN116974680A (en) 2023-08-02 2023-08-02 Computer desktop remote control method, device and equipment based on peripheral mouse keys

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310973952.0A CN116974680A (en) 2023-08-02 2023-08-02 Computer desktop remote control method, device and equipment based on peripheral mouse keys

Publications (1)

Publication Number Publication Date
CN116974680A true CN116974680A (en) 2023-10-31

Family

ID=88481131

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310973952.0A Pending CN116974680A (en) 2023-08-02 2023-08-02 Computer desktop remote control method, device and equipment based on peripheral mouse keys

Country Status (1)

Country Link
CN (1) CN116974680A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1614577A (en) * 2004-12-02 2005-05-11 中国科学院计算技术研究所 Graphic terminal method and system based on long-range direct memory access
CN101447998A (en) * 2008-12-25 2009-06-03 广东威创视讯科技股份有限公司 Desktop sharing method and system
CN103631551A (en) * 2012-08-27 2014-03-12 深圳市蓝韵网络有限公司 Local display method for remote desktop in medical consultation system
US20140204026A1 (en) * 2013-01-18 2014-07-24 Dell Products, Lp Synchronizing A Cursor from a Managed System with a Cursor from a Remote System
CN104111742A (en) * 2013-04-18 2014-10-22 宏正自动科技股份有限公司 Remote control system, multi-computer switcher and mouse cursor display method
CN105045408A (en) * 2015-07-13 2015-11-11 山东超越数控电子有限公司 Notebook computer with KVM (Keyboard Video Mouse) keyboard and mouse and KVM switching method for notebook computer
CN107066173A (en) * 2017-03-28 2017-08-18 腾讯科技(深圳)有限公司 Method of controlling operation thereof and device
CN109701265A (en) * 2018-12-04 2019-05-03 上海达龙信息科技有限公司 Remote desktop cursor mode switching method, system, client and remote server
US20220066798A1 (en) * 2020-08-30 2022-03-03 Timothy L. Kelly Remote Support Device
CN114153321A (en) * 2021-10-26 2022-03-08 河北汉光重工有限责任公司 Method for realizing remote control of virtual keyboard and mouse

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1614577A (en) * 2004-12-02 2005-05-11 中国科学院计算技术研究所 Graphic terminal method and system based on long-range direct memory access
CN101447998A (en) * 2008-12-25 2009-06-03 广东威创视讯科技股份有限公司 Desktop sharing method and system
CN103631551A (en) * 2012-08-27 2014-03-12 深圳市蓝韵网络有限公司 Local display method for remote desktop in medical consultation system
US20140204026A1 (en) * 2013-01-18 2014-07-24 Dell Products, Lp Synchronizing A Cursor from a Managed System with a Cursor from a Remote System
CN104111742A (en) * 2013-04-18 2014-10-22 宏正自动科技股份有限公司 Remote control system, multi-computer switcher and mouse cursor display method
CN105045408A (en) * 2015-07-13 2015-11-11 山东超越数控电子有限公司 Notebook computer with KVM (Keyboard Video Mouse) keyboard and mouse and KVM switching method for notebook computer
CN107066173A (en) * 2017-03-28 2017-08-18 腾讯科技(深圳)有限公司 Method of controlling operation thereof and device
CN109701265A (en) * 2018-12-04 2019-05-03 上海达龙信息科技有限公司 Remote desktop cursor mode switching method, system, client and remote server
US20220066798A1 (en) * 2020-08-30 2022-03-03 Timothy L. Kelly Remote Support Device
CN114153321A (en) * 2021-10-26 2022-03-08 河北汉光重工有限责任公司 Method for realizing remote control of virtual keyboard and mouse

Similar Documents

Publication Publication Date Title
JP7167222B2 (en) APPLET DATA ACQUISITION METHOD, APPARATUS, DEVICE, AND STORAGE MEDIUM
EP3951595A1 (en) Method and apparatus for graphics rendering
US9680761B2 (en) Consolidating messages in a message queue
KR20190082297A (en) App data processing method and apparatus, and storage medium
WO2021169236A1 (en) Rendering method and apparatus
US20230215076A1 (en) Image frame display method, apparatus, device, storage medium, and program product
WO2022048329A1 (en) Menu display method and apparatus
CN107220020B (en) Display method and electronic equipment
CN110992112A (en) Method and device for processing advertisement information
EP2824566A1 (en) Data processing method and device
US10191618B2 (en) Hand-held electronic apparatus having function of activating application program of electronic apparatus, and method thereof
CN113312119B (en) Information synchronization method and device, computer readable storage medium and electronic equipment
US20160301736A1 (en) Systems and methods for providing remote access to an application
CN114510308B (en) Method, device, equipment and medium for storing application page by mobile terminal
CN116974680A (en) Computer desktop remote control method, device and equipment based on peripheral mouse keys
CN114422572B (en) Cloud mobile phone control method and device, electronic equipment and storage medium
CN114911402B (en) Dragging interaction method and system between remote application and local system
CN111857902A (en) Application display method, device, equipment and readable storage medium
US20240095141A1 (en) Displaying information flow
CN114237482A (en) Handwriting display processing method, device, system, equipment and storage medium
CN113407044A (en) Method, device, equipment and storage medium for simulating terminal handle input
CN112836153A (en) Page processing method and device for hosted application, electronic device and readable storage medium
CN115334159B (en) Method, apparatus, device and medium for processing stream data
CN112671970B (en) Control method and control device for mobile equipment and cloud mobile phone, electronic equipment, mobile equipment, cloud server and medium
WO2024067319A1 (en) Method and system for creating stickers from user-generated content

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