CN116974680B - 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 PDFInfo
- Publication number
- CN116974680B CN116974680B CN202310973952.0A CN202310973952A CN116974680B CN 116974680 B CN116974680 B CN 116974680B CN 202310973952 A CN202310973952 A CN 202310973952A CN 116974680 B CN116974680 B CN 116974680B
- Authority
- CN
- China
- Prior art keywords
- computer
- mouse
- remote control
- data
- cursor
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 58
- 230000002093 peripheral effect Effects 0.000 title claims abstract description 32
- 230000033001 locomotion Effects 0.000 claims abstract description 26
- 230000004044 response Effects 0.000 claims description 11
- 230000005540 biological transmission Effects 0.000 claims description 9
- 238000004590 computer program Methods 0.000 claims description 8
- 230000000875 corresponding effect Effects 0.000 claims description 7
- 238000012545 processing Methods 0.000 claims description 7
- 238000004891 communication Methods 0.000 claims description 5
- 230000008569 process Effects 0.000 abstract description 11
- 238000013461 design Methods 0.000 description 19
- 238000005516 engineering process Methods 0.000 description 5
- 230000006399 behavior Effects 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 230000002411 adverse Effects 0.000 description 2
- 238000012790 confirmation Methods 0.000 description 2
- 230000001276 controlling effect Effects 0.000 description 2
- 238000012217 deletion Methods 0.000 description 2
- 230000037430 deletion Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 208000016285 Movement disease Diseases 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
- G06F9/452—Remote windowing, e.g. X-Window System, desktop virtualisation
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Position Input By Displaying (AREA)
Abstract
The invention 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
Technical Field
The invention 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 invention 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 invention 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 invention 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 invention 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 invention 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 invention 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 invention 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 invention 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 invention, 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 invention or the technical solutions in the prior art, the present invention 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 invention, 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 invention, but is not intended to limit the present invention.
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 invention.
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 may 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, refer to a multipurpose computer with a size, price and performance suitable for Personal use, and desktop, notebook to small notebook, tablet, ultrabook, etc. belong to Personal computers), a smart phone, a Personal digital assistant (Personal DIGITAL ASSISTANT, PDA), or 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-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 invention and is not intended to limit the scope of the invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (7)
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, firstly moving the local cursor according to a mouse event 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 controlled computer executes corresponding actions according to the remote control data to obtain a mouse key operation result, and refreshing a computer desktop of the controlled computer according to the mouse key operation result;
after transmitting the remote control data generated according to the mouse key event data to the controlled computer, the method further comprises: 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;
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.
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 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.
3. The computer desktop remote control method of claim 2, wherein 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.
4. The computer desktop remote control method of claim 2, wherein 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.
5. 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-4.
6. 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 4.
7. 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-4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310973952.0A CN116974680B (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 CN116974680B (en) | 2023-08-02 | 2023-08-02 | Computer desktop remote control method, device and equipment based on peripheral mouse keys |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116974680A CN116974680A (en) | 2023-10-31 |
CN116974680B true CN116974680B (en) | 2024-06-18 |
Family
ID=88481131
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310973952.0A Active CN116974680B (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) | CN116974680B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101447998A (en) * | 2008-12-25 | 2009-06-03 | 广东威创视讯科技股份有限公司 | Desktop sharing method and system |
CN104111742A (en) * | 2013-04-18 | 2014-10-22 | 宏正自动科技股份有限公司 | Remote control system, multi-computer switcher and mouse cursor display method |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1614577B (en) * | 2004-12-02 | 2010-11-24 | 中国科学院计算技术研究所 | Graphic terminal method and system based on long-range direct memory access |
CN103631551A (en) * | 2012-08-27 | 2014-03-12 | 深圳市蓝韵网络有限公司 | Local display method for remote desktop in medical consultation system |
US9396002B2 (en) * | 2013-01-18 | 2016-07-19 | Dell Products, Lp | Synchronizing a cursor from a managed system with a cursor from a remote system |
GB2518206B (en) * | 2013-09-13 | 2021-03-31 | Realvnc Ltd | System and method for remote computer control |
CN105045408B (en) * | 2015-07-13 | 2017-12-08 | 山东超越数控电子股份有限公司 | A kind of notebook computer and its KVM switching methods with KVM key mouses |
CN107066173B (en) * | 2017-03-28 | 2018-06-05 | 腾讯科技(深圳)有限公司 | 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 |
-
2023
- 2023-08-02 CN CN202310973952.0A patent/CN116974680B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101447998A (en) * | 2008-12-25 | 2009-06-03 | 广东威创视讯科技股份有限公司 | Desktop sharing method and system |
CN104111742A (en) * | 2013-04-18 | 2014-10-22 | 宏正自动科技股份有限公司 | Remote control system, multi-computer switcher and mouse cursor display method |
Also Published As
Publication number | Publication date |
---|---|
CN116974680A (en) | 2023-10-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3951595A1 (en) | Method and apparatus for graphics rendering | |
JP7167222B2 (en) | APPLET DATA ACQUISITION METHOD, APPARATUS, DEVICE, AND STORAGE MEDIUM | |
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 | |
WO2022048329A1 (en) | Menu display method and apparatus | |
CN107220020B (en) | Display method and electronic equipment | |
CN111263175A (en) | Interaction control method and device for live broadcast platform, storage medium 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 | |
US20240184434A1 (en) | Display method and apparatus | |
US10886948B2 (en) | Method for determining a decoding task and apparatus | |
CN114237482A (en) | Handwriting display processing method, device, system, equipment and storage medium | |
CN116974680B (en) | Computer desktop remote control method, device and equipment based on peripheral mouse keys | |
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 | |
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 | |
CN114095758B (en) | Cloud image intercepting method and related device | |
EP4167110A1 (en) | Method and apparatus for displaying information flow, device, and medium | |
CN113836455A (en) | Special effect rendering method, device, equipment, storage medium and computer program product | |
CN113617020A (en) | Game control method, device, storage medium, server and terminal | |
CN115334159B (en) | Method, apparatus, device and medium for processing stream data | |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |