Cursor control method, device, storage medium and video processing equipment
By generating a target virtual screen and determining the target node in the seat matrix of a distributed network, the problem of inaccurate cursor positioning in the seat matrix is solved, efficient multi-device control is achieved, and the user experience is improved.
Patent Information
- Application Number
- CN202210487863.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-06
- Publication Date
- 2025-09-09
- Estimated Expiration
- 2042-05-06
AI Technical Summary
In the existing technology, it is difficult to efficiently control multiple devices with one mouse in a distributed network seat matrix, resulting in inaccurate cursor positioning, unstable link communication, and a poor user experience.
By receiving the motion data of the physical mouse, utilizing the network connection between the first decoding node and the second decoding node, generating the target virtual screen according to the configuration parameters of the display device, determining the target node, and sending the motion data of the physical mouse to the target node, the cursor can be accurately controlled on multiple sets of devices.
It enables efficient control of multiple devices through one set of mouse in a distributed network seat matrix, improving the accuracy of cursor roaming and user experience.
Smart Images

Figure CN114967952B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer control, and in particular to a cursor control method, device, storage medium and video processing equipment. Background Art
[0002] Mouse roaming is a key feature in distributed products. This allows a single mouse and keyboard on the decoder side to simultaneously control multiple computers on the encoder side. The key to this feature is the implementation of mouse positioning across multiple encoders. A good user experience is only possible with accurate mouse positioning and stable and reliable link communication. However, existing technologies lack reliable and efficient mouse control solutions.
[0003] To address the above-mentioned problems, no effective solutions have been proposed so far. Summary of the Invention
[0004] Embodiments of the present invention provide a cursor control method, apparatus, computer-readable storage medium, and video processing device to at least solve the technical problem of difficulty in efficiently controlling multiple devices in a seat matrix using a distributed network using a single mouse.
[0005] According to one aspect of an embodiment of the present invention, a cursor control method is provided, comprising: receiving action data of a physical mouse, wherein the physical mouse is connected to a first decoding node, the first decoding node is respectively connected to a first display device and at least one second decoding node, the first decoding node and the second decoding node are connected to form a group of seat nodes via a network connection device, and the second decoding node is correspondingly connected to a second display device; determining a target virtual screen according to first configuration parameters of the first display device and second configuration parameters of the second display device; determining a target node in the second decoding node according to position information of the virtual cursor in the target virtual screen and at least one of the action data of the physical mouse; and sending the action data of the physical mouse to the target node.
[0006] Through the above cursor control method, a technical effect of efficiently controlling multiple sets of equipment in a seat matrix using a distributed network through a set of mice is achieved.
[0007] Optionally, determining the target virtual screen based on the first configuration parameters of the first display device and the second configuration parameters of the second display device includes: obtaining the relative position relationship between the first display device and the second display device; generating a first virtual screen corresponding to the first display device and a second virtual screen corresponding to the second display device according to the first configuration parameters and the second configuration parameters; and splicing the first virtual screen and the second virtual screen into the target virtual screen according to the relative position relationship.
[0008] In the above optional method, by reasonably configuring the target virtual screen, the target node is accurately determined, thereby improving the accuracy of the cursor roaming results in the seat matrix and enhancing the user experience.
[0009] Optionally, determining the target node based on the position information of the virtual cursor in the target virtual screen and the action data of the physical mouse includes: reading the physical displacement of the physical mouse from the action data of the physical mouse, wherein the physical displacement is determined based on the current position of the physical mouse and the position of the physical mouse before movement; determining the displacement correspondence between the physical displacement and the virtual displacement, wherein the virtual displacement is the displacement of the virtual cursor in the target virtual screen; determining the target position of the virtual cursor in the target virtual screen based on the position information, the physical displacement and the displacement correspondence, and determining the second decoding node corresponding to the target position as the target node, wherein the target node corresponds to the target display device connected to the second display device, and the target position is located within the virtual screen range of the target display device.
[0010] Optionally, determining the target position of the virtual cursor in the target virtual screen according to the position information, the physical displacement and the displacement correspondence, and determining the second decoding node corresponding to the target position as the target node, includes: determining the virtual displacement of the virtual cursor in the target virtual screen according to the physical displacement and the displacement correspondence; determining the target position of the virtual cursor in the target virtual screen according to the virtual displacement; in the target virtual screen, determining the second display device corresponding to the virtual screen where the target position is located as the target display device; and determining the second decoding node connected to the target display device as the target node.
[0011] Optionally, sending the motion data of the physical mouse to the target node includes: sending the motion data of the physical mouse to the target node via UDP communication.
[0012] Optionally, the above method further includes: acquiring data from an input device, wherein the input device is connected to the first decoding node; and sending the data from the input device to the target node via UDP communication.
[0013] Optionally, the above method also includes: detecting the connection status of the physical mouse; when the physical mouse is disconnected from the first decoding node, sending a master node determination instruction to the second decoding node, wherein the master node determination instruction is used to determine the decoding node in the seat node to which the physical mouse is connected as the master node.
[0014] Optionally, the above method also includes: creating a virtual mouse in the target node; the target node inputs the action data of the physical mouse into the virtual mouse, and controls the cursor in the target display device through the virtual mouse, wherein the target display device is one of the second display devices and is correspondingly connected to the target node.
[0015] Optionally, the target node inputs the action data of the physical mouse into the virtual mouse, and controls the cursor in the target display device through the virtual mouse, including: the target node inputs the action data of the physical mouse into the virtual mouse to obtain virtual mouse data; the target node sends the virtual mouse data to the target processing node, wherein the target processing node is used to execute the virtual mouse data.
[0016] Optionally, the above method also includes: the target node obtains the target processing data generated by the target processing node, wherein the target processing data is data generated by the target processing node based on the virtual mouse data; the target node transmits the target processing data to the target display device, so that the target display device displays the screen according to the target processing data.
[0017] Optionally, the target node obtains the target image data generated by the target processing node, including: when the target processing node is a target encoding node, the target node receives the target image data sent by the target encoding node, wherein the target image data is obtained by the target encoding node processing the initial image data based on the virtual mouse data, and the target processing data includes the target image data.
[0018] According to another aspect of an embodiment of the present invention, a cursor control method is also provided, including: a first decoding node receives action data of a physical mouse connected to it, wherein the first decoding node is respectively connected to a first display device and at least one second decoding node, the first decoding node and the second decoding node are connected and configured as a group of seat nodes through a network connection device, and the second decoding node is correspondingly connected to a second display device; the first decoding node determines a target virtual screen based on a first configuration parameter of the first display device and a second configuration parameter of the second display device; the first decoding node determines a target node in the second decoding node based on position information of the virtual cursor in the target virtual screen and at least one of the action data of the physical mouse; the target node receives the action data sent by the first decoding node, and controls the cursor in the target display device according to the action data, wherein the target display device is one of the second display devices and is correspondingly connected to the target node.
[0019] Through the above cursor control method, the technical effect of using one set of mice to efficiently control multiple sets of equipment in a distributed network seat matrix is achieved, and the convenience of cursor operation in the distributed seat matrix is improved.
[0020] According to another aspect of an embodiment of the present invention, a cursor control device is also provided, including: a first receiving module for receiving action data of a physical mouse, wherein the physical mouse is connected to a first decoding node, the first decoding node is respectively connected to a first display device and a second decoding node, the first decoding node and the second decoding node are connected and configured as a group of seat nodes, and the second decoding node is correspondingly connected to a second display device; a first determination module for determining a target virtual screen according to a first configuration parameter of the first display device and a second configuration parameter of the second display device; a second determination module for determining a target node in the second decoding node according to position information of the virtual cursor in the target virtual screen and at least one of the action data of the physical mouse; and a sending module for sending the action data of the physical mouse to the target node.
[0021] According to another aspect of an embodiment of the present invention, a cursor control device is also provided, including: a second receiving module, used for a first decoding node to receive action data of a physical mouse connected to it, wherein the first decoding node is respectively connected to a first display device and at least one second decoding node, the first decoding node and the second decoding node are connected and configured as a group of seat nodes through a network connection device, and the second decoding node is correspondingly connected to a second display device; a third determination module, used for the first decoding node to determine a target virtual screen according to a first configuration parameter of the first display device and a second configuration parameter of the second display device; a fourth determination module, used for the first decoding node to determine a target node in the second decoding node according to position information of the virtual cursor in the target virtual screen and at least one of the action data of the physical mouse; a control module, used for the target node to receive the action data sent by the first decoding node and control the cursor in the target display device according to the action data, wherein the target display device is one of the second display devices and is correspondingly connected to the target node.
[0022] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided, which includes a stored program, wherein when the program is run, the device where the computer-readable storage medium is located is controlled to execute any one of the above-mentioned cursor control methods.
[0023] According to another aspect of the embodiments of the present invention, a video processing device is provided, including a processor, wherein the processor is configured to run a program, wherein the program executes any one of the above-mentioned cursor control methods when running.
[0024] According to another aspect of an embodiment of the present invention, a distributed system is also provided, which includes: a physical mouse, a first decoding node, at least one second decoding node, a network connection device, a first display device and a second display device, wherein the physical mouse is connected to the first decoding node and is used to generate action data; the first decoding node is connected to the first display device via a data connection line, and is connected to the second decoding node via the network connection device to form a group of seat nodes; the second decoding node is connected to the second display device via a data connection line, and the target node in the second decoding node is used to receive the action data of the physical mouse sent by the first decoding node, and the distributed system is used to execute any of the above-mentioned cursor control methods.
[0025] In an embodiment of the present invention, a first decoding node is matched with at least one second decoding node to form a group of seat nodes and a physical mouse is connected to the first decoding node. The first decoding node generates a target virtual screen through the configuration parameters of the first display device and the second display device, and then determines the target node in the second decoding node based on the position information of the virtual cursor of the current cursor in the target virtual screen and the action data of the physical mouse. The action data of the physical mouse is then transmitted to the target node. The subsequent target node can control the target display device based on the received physical mouse action data, thereby achieving the purpose of efficiently and accurately determining the transmission target node of the physical mouse action data, thereby realizing the technical effect of efficiently controlling multiple sets of equipment in the seat through one set of mouse in the seat matrix using a distributed network, and thus solving the technical problem that it is difficult to efficiently control multiple sets of equipment in the seat through one set of mouse in the seat matrix using a distributed network. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0027] Figure 1 is a flow chart of a cursor control method 1 provided according to an embodiment of the present invention;
[0028] Figure 2 is a schematic diagram of a target virtual screen provided according to an optional embodiment of the present invention;
[0029] Figure 3is a schematic diagram of a process of remote control of a mouse according to an optional embodiment of the present invention;
[0030] Figure 4 is a flow chart of a second cursor control method according to an embodiment of the present invention;
[0031] Figure 5 is a structural block diagram of a cursor control device according to an embodiment of the present invention;
[0032] Figure 6 2 is a structural block diagram of a second cursor control device provided according to an embodiment of the present invention. DETAILED DESCRIPTION
[0033] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of the present invention.
[0034] It should be noted that the terms "first", "second", etc. in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0035] First, some nouns or terms that appear in the description of the embodiments of this application are subject to the following interpretations:
[0036] A distributed network, also called a mesh network, is composed of node machines distributed in different locations and with multiple terminals. Any point in the network is connected to at least two lines.
[0037] The seat matrix is a way of arranging and using display screens. A group of display screens are spatially arranged together to form a seat. The number and arrangement of the display screens constitute the seat matrix. A seat refers to a user seat that operates the group of display screens. The multiple operating systems corresponding to the group of display screens can realize interactive actions such as mouse roaming.
[0038] User Datagram Protocol, UDP for short, is an Internet protocol that supports a method of sending encapsulated IP data packets without establishing a connection.
[0039] On-The-Go, referred to as OTG, is mainly used for data exchange between different devices or mobile devices.
[0040] Example 1
[0041] According to an embodiment of the present invention, a remote control method embodiment is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0042] Figure 1 FIG. 1 is a flow chart of a cursor control method according to an embodiment of the present invention. Figure 1 As shown, the method includes the following steps:
[0043] Step S102, receiving action data of a physical mouse, wherein the physical mouse is connected to a first decoding node, the first decoding node is respectively connected to a first display device and at least one second decoding node, the first decoding node and the second decoding node are connected to form a group of seat nodes via a network connection device, and the second decoding node is correspondingly connected to a second display device.
[0044] In this step, the action data of the physical mouse can be data used to record mouse sliding or mouse button pressing. The data for recording mouse sliding can be called the displacement data of the physical mouse, and the data for recording mouse button pressing can be called the enabling data of the physical mouse. The second decoding node can be one or more nodes, and each second decoding node corresponds to a second display device. Optionally, the first decoding node and the second decoding node can be decoding end devices. The decoding end devices have data processing capabilities and can decode the encoded video stream transmitted from the encoding end device, and can also process data from external devices inserted therein, such as mouse data. At this time, the first decoding node and the second decoding node can also become KVM (Keyboard Video Mouse, abbreviated as KVM) nodes. In the embodiment of the present invention, after the first decoding node and the second decoding node are matched to a group of seat nodes, by inserting a physical mouse on the first decoding node, mouse roaming on different display devices in the seat node is realized, and the display device corresponding to any decoding node in the seat is controlled by a unique physical mouse. It should be noted that the first decoding node and the second decoding node can communicate data through a network connection device. For example, the network connection device can be a switch, a router or an intelligent gateway. The first decoding node establishes a physical channel with the network connection device through a data connection line, and the second decoding node can also use a data connection line to establish a physical channel with the network connection device. Based on the network connection device and the above-mentioned physical channel, the function of matching the first decoding node and at least one second decoding node as seat nodes for linkage action is realized.
[0045] Optionally, the first display device and at least one second display device can form a seat matrix. When there is only one second display device, the display screen matrix can be in the form of 1×2 or 2×1; when there are three second display devices, they can form a display device matrix in various forms such as 1×4, 2×2, or 4×1 with the first display device, and so on.
[0046] It should be noted that each display device in the seat matrix corresponds to a decoding node, and the display device can obtain the decoded video stream data through the corresponding decoding node, and then present the video image on the display device. Optionally, the video stream obtained by the decoding node can come from the encoding node, or from the large-screen output node, the system switch or other seat nodes. The encoding node can directly connect to the video source, encode the video source data and send it to the decoding node; the large-screen output node can be the output node of the LED display screen, and the large-screen output node can transmit the picture data of its own operating system to the decoding node; similarly, the switch and other seat nodes can also transmit the picture data of their own operating system to the decoding node, and the decoding node decodes the picture data and transmits it to the display device, which displays it. In addition, all decoding nodes are located in a distributed network to facilitate the subsequent interaction between multi-screen operating systems. Within the seat matrix, there is only one cursor on multiple display devices at the same time. The physical mouse can control the cursor to move in the current display device to interact with the operating system or encoding node presented in the display device, thereby controlling the encoding node, large-screen output node, switch or seat node. The cursor can also be controlled to move to other display devices, that is, mouse roaming.
[0047] Step S104 : determining a target virtual screen according to the first configuration parameters of the first display device and the second configuration parameters of the second display device.
[0048] Different display devices have different parameters such as size, resolution, etc. When connecting multiple display devices together to form a seat matrix, they need to be configured according to the parameters of different display devices, thereby ensuring that the movement of the cursor remains consistent in different display devices. Optionally, the multiple display devices that constitute the display screen matrix can be analyzed based on the configuration parameters of the display devices to generate a target virtual screen representing all display devices of the entire seat node. Any display device in the seat node can find the corresponding area in the target virtual screen. The function of the target virtual screen is to help determine which display device in the seat matrix the cursor should appear in. Among them, the configuration parameters may include the size, resolution, etc. of the display device, thereby ensuring accurate cursor positioning, stable and reliable link communication, and giving users a good operating experience.
[0049] Step S106 : determining a target node in the second decoding node according to at least one of the position information of the virtual cursor in the target virtual screen and the motion data of the physical mouse.
[0050] The virtual cursor can be a mapping of the cursors on the display devices within the seating matrix to the target virtual screen. The position of the virtual cursor on the target virtual screen can be determined based on the position of the cursors on the display devices within the seating matrix. For example, if the cursor is on display device A in the second display device and is located in the upper right corner of display device A, the area corresponding to display device A on the target virtual screen can be first determined, and then the upper right corner of this area can be determined as the position of the virtual cursor on the target virtual screen.
[0051] Optionally, step S106 provides at least two following methods for determining the target node.
[0052] For example, if the virtual cursor's position information includes the current position of the virtual mouse on the target virtual screen, which is the final position of the virtual mouse on the target virtual screen, and the physical mouse's action data only includes the physical mouse's enable data, then because the user does not manipulate the physical mouse to slide, the cursor on the in-seat display device will not move, and the virtual cursor will not move on the target virtual screen either. In this case, the target node is the second decoding node connected to the second display device where the cursor is located. Therefore, the target node can be determined based on the current position information of the virtual cursor on the target virtual screen.
[0053] For another example, the position information of the virtual cursor includes the position of the virtual mouse in the target virtual screen at the current moment, which is the starting position of the virtual mouse in the target virtual screen. In this case, the action data of the physical mouse includes the displacement data of the physical mouse, or includes both displacement data and enable data, indicating that the user manipulates the physical mouse to slide, so the cursor on the display device should also be displaced accordingly. The cursor may roam from the current display device to other display devices, so the target node can be determined based on the position information of the virtual cursor and the action data of the physical mouse. At this time, the action data of the physical mouse can be used to move the virtual cursor in the target virtual screen. Based on the action data and the position information of the virtual cursor, it can be determined to which position the virtual cursor will move, and then the node corresponding to the position can be determined as the target node. The target node is the node that the action of the physical mouse should actually manipulate.
[0054] Step S108: Sending the motion data of the physical mouse to the target node. By sending the data to the target node, the user can control the target node through the physical mouse connected to the first decoding node.
[0055] Through the above steps, the purpose of efficiently and accurately determining the transmission target node of the physical mouse action data is achieved, thereby realizing the technical effect of efficiently controlling multiple sets of equipment in an agent matrix using a distributed network through a set of mice, thereby solving the technical problem that it is difficult to efficiently control multiple sets of equipment in an agent matrix using a distributed network through a set of mice.
[0056] As an optional embodiment, the target virtual screen can be determined based on the first configuration parameters of the first display device and the second configuration parameters of the second display device in the following manner: obtaining the relative position relationship between the first display device and the second display device; generating a first virtual screen corresponding to the first display device and a second virtual screen corresponding to the second display device based on the first configuration parameters and the second configuration parameters; and splicing the first virtual screen and the second virtual screen into the target virtual screen based on the relative position relationship.
[0057] This embodiment provides a method for constructing a target virtual screen. Optionally, in a virtual space, a virtual screen corresponding to each display device can be generated according to the principle of keeping the virtual screen size of each display device consistent, and then multiple virtual screens can be spliced into a target virtual screen according to the spatial position relationship of each display device in reality.
[0058] like Figure 2 As shown, the target virtual screen is composed of the virtual screens of four display devices spliced in a 2×2 format, and supports the target virtual screen to establish absolute coordinates by establishing a coordinate system, where the coordinates of the upper left corner are set to (0,0) and the coordinates of the lower right corner are set to (32768*2, 32768*2).
[0059] Optionally, this embodiment can use the absolute coordinates of the mouse to control the cursor. Mouse coordinate control is divided into absolute coordinates and relative coordinates. Absolute coordinates are the X / Y coordinates of the current mouse position in the entire screen, and relative coordinates are the physical displacement of the current mouse position relative to the last mouse position. Absolute coordinates are accurate, but some operating systems do not support extended screens on the same host well, and the native driver supports at most one extended screen. Relative coordinates can support multiple extended screens, but because the operating system has a mouse acceleration function, the relative coordinates are not as accurate as the absolute coordinates.
[0060] The target virtual screen can be in the form of X / Y coordinates (i.e., absolute coordinates), and the virtual screens of multiple display devices can be processed into a uniform size and then spliced into a target virtual screen. For example, based on the first configuration parameters of the first display device and the second configuration parameters of the second display device, the maximum circumscribed rectangle of the target virtual screen and the coordinate values of any position in each display device in the target virtual screen can be determined, that is, a coordinate system is established. A target virtual screen in this form can directly correspond the position coordinates in the display device to the position in the target virtual screen, so that the position of the cursor in the display device can be directly determined based on the coordinates of the virtual cursor in the target virtual screen, thereby supporting the physical mouse to control the cursor in an absolute coordinate manner.
[0061] As an optional embodiment, the target node can be determined in the following manner: reading the physical displacement of the physical mouse from the action data of the physical mouse, wherein the physical displacement is determined based on the current position of the physical mouse and the position of the physical mouse before movement; determining the displacement correspondence between the physical displacement and the virtual displacement, wherein the virtual displacement is the displacement of the virtual cursor in the target virtual screen; determining the target position of the virtual cursor in the target virtual screen based on the position information, the physical displacement and the displacement correspondence, and determining the second decoding node corresponding to the target position as the target node, wherein the target node corresponds to the target display device in the second display device, and the target position is located within the virtual screen range of the target display device.
[0062] The physical displacement of the physical mouse in this optional embodiment can be represented as a relative coordinate representation, directly read from the physical mouse's motion data. After acquiring the physical displacement of the physical mouse, i.e., its relative coordinates, the target position to which the virtual cursor should be moved based on the physical displacement of the physical mouse can be determined based on a pre-set correspondence between the physical displacement and the virtual displacement, as well as the current position of the virtual cursor on the target virtual screen. The target position is then determined to fall within the virtual screen area of a display device on the target virtual screen. This display device is then identified as the target display device, and the second decoding node connected to the target display device is the target node. Therefore, the physical mouse's motion data should be sent to the target node for processing to enable mouse roaming within the seating matrix.
[0063] As an optional embodiment, determining the target position of the virtual cursor in the target virtual screen based on position information, physical displacement, and displacement correspondence, and determining the second decoding node corresponding to the target position as the target node, can include the following steps: determining the virtual displacement of the virtual cursor in the target virtual screen based on the physical displacement of the physical mouse and the displacement correspondence; determining the target position of the virtual cursor in the target virtual screen based on the virtual displacement; in the target virtual screen, determining the second display device corresponding to the virtual screen where the target position is located as the target display device; and determining the second decoding node connected to the target display device as the target node. Through this optional embodiment, a relationship between the actual displacement of the physical mouse and the virtual displacement of the virtual cursor in the target virtual screen can be established, and the movement of the physical mouse can be efficiently converted into the movement of the virtual cursor in the target virtual screen, thereby quickly locating which display device the cursor in the real display device should appear on. After that, the data of the physical mouse can be sent to the corresponding target display device, realizing roaming of the cursor in multiple display devices.
[0064] As an optional embodiment, the motion data of the physical mouse can be sent to the target node via UDP communication, which is called User Datagram Protocol and supports sending encapsulated IP data packets without establishing a connection.
[0065] As an optional embodiment, data from input devices other than the physical mouse can also be obtained, wherein the input device is connected to the first decoding node; and then the data from the input device is sent to the target node via UDP communication. The input device may include a keyboard, an eye tracker, or a microphone, etc. For example, when the first decoding node is connected to the physical mouse, it can also be connected to the physical keyboard at the same time, so that the first decoding node can receive data from the user manipulating the physical mouse and the physical keyboard; after the seat matrix determines the target node based on the action data of the physical mouse and the cursor position, the first decoding node can package the data of the physical mouse and the data of the physical keyboard together and send them to the target node, thereby realizing the control of the display device corresponding to the third node.
[0066] As an optional embodiment, the connection status of the physical mouse can also be detected. When the physical mouse is disconnected from the first decoding node, a master node determination instruction is sent to the second decoding node, wherein the master node determination instruction is used to determine the decoding node in the seat node to which the physical mouse is connected as the master node.
[0067] Optionally, when creating a new seat matrix, the decoding node corresponding to the display device in the upper left corner can be configured as the master node by default; then the physical mouse access status of the master node is periodically sent to the slave node through UDP communication; then the slave node periodically monitors the master node's online status, the master node's mouse access status, and the current node's mouse access status. When the master node has no mouse access and the current node has a mouse access, the current node can be promoted to the master node, and all nodes in the seat can be notified to dynamically switch the master node according to the physical mouse access position.
[0068] As an optional embodiment, in order to achieve control of other devices in the seat matrix, the following steps may also be included: creating a virtual mouse in the target node; the target node inputs the action data of the physical mouse into the virtual mouse, and controls the cursor in the target display device through the virtual mouse, wherein the target display device is one of the second display devices and is correspondingly connected to the target node.
[0069] Because no physical mouse is connected to any of the second decoding nodes other than the first decoding node, the cursor movement and actions on the second display device cannot be directly controlled. By creating a virtual mouse in the target node, the screen coordinates of the cursor on the target display device can be determined based on the virtual cursor's target position. The screen coordinates are then written to the virtual mouse created in the target node, allowing the cursor movement on the target display device to be controlled via the virtual mouse.
[0070] A virtual mouse can be created in the target node using pure software or a combination of software and hardware. Several methods are provided below as optional embodiments for creating a virtual mouse. It should be noted that the following examples do not constitute a limitation on the implementation methods of this application.
[0071] For example, a virtual mouse can be created using a method such as Uinput, and a mouse can be virtualized in the target node to achieve cross-screen roaming of the mouse cursor. Uinput is a kernel module that can support simulating input devices from user space. By writing to the / dev / uinput device, a process can create a virtual input device with specific functions. After creating the virtual input device, the process can also send events through the virtual device, and these events will be passed to the user space and kernel space. In this optional embodiment, the target node can input the action data of the physical mouse into the virtual mouse created using uinput. The virtual mouse parses the action data of the physical mouse into the displacement action or enable action of the physical mouse, and then passes the displacement action or enable action as an "event" to the kernel space and kernel space of the target node. Further, the target node can complete the control of the cursor in the target display device based on these "events."
[0072] For another example, a hardware device with functions such as a microprocessor with an integrated USB2.0 transceiver, an SIE serial interface engine, a microcontroller, and a peripheral interface can be used. The hardware device is provided with a corresponding hardware chip that can create a virtual mouse. The hardware chip is configured (including but not limited to configuration parameters, such as device type, manufacturer number, communication format, etc.) through the protocol supported by the hardware chip (including but not limited to the OTG2.0 protocol) to achieve enumeration of the device as a mouse device of the target node. Optionally, through the hardware device, the creation of a virtual keyboard can also be achieved by enumerating it as a composite device including a keyboard.
[0073] For example, QT software can be directly used for interaction. By modifying the software framework, the QT software can directly receive the format of mouse and keyboard data and respond directly. The concept of mouse and keyboard devices can be omitted, and the software can be used to simulate the functions of a physical mouse and keyboard. The adjustment parameters include but are not limited to the data communication path and the response processing of the QT framework software to the data.
[0074] As an optional embodiment, the target node inputs the action data of the physical mouse into the virtual mouse, and controls the cursor in the target display device through the virtual mouse. The following method can be adopted: the target node inputs the action data of the physical mouse into the virtual mouse to obtain virtual mouse data; the target node sends the virtual mouse data to the target processing node, where the target processing node is used to execute the virtual mouse data.
[0075] In this optional embodiment, the target processing node can be a variety of nodes in the LED display system, such as an encoding node, a large screen output node, a system switch, or other agent nodes. The encoding node can directly connect to the video source and encode the video source data and send it to the decoding node. The large screen output node can be the output node of the LED display large screen. The large screen output node can transmit the screen data of its own operating system to the decoding node. Similarly, the switch and other agent nodes can also transmit the screen data of their own operating system to the decoding node. The decoding node decodes the screen data and transmits it to the display device for display. The target node sends the virtual mouse data to the target processing node. The target processing node can perform actions based on the virtual mouse data, such as controlling its operating system based on the virtual mouse data, thereby realizing remote control of the device of the target processing node.
[0076] As an optional embodiment, after the target processing node executes the virtual mouse data, the target node can also obtain the target processing data generated by the target processing node, wherein the target processing data is the data generated by the target processing node based on the virtual mouse data; the target node transmits the target processing data to the target display device so that the target display device displays the screen according to the target processing data.
[0077] The target processing node can encode its operating system's screen data and transmit it to the target node. The target node decodes the data and sends it to the target display device, which then displays the target processing node's operating system screen. Therefore, after the target processing node performs an action based on the virtual mouse data, such as controlling the cursor movement in the operating system, the target processing node can transmit the corresponding screen data back to the target node, which is then displayed on the target display device corresponding to the target node.
[0078] As an optional embodiment, the target node obtains the target image data generated by the target processing node, which can include the following steps: when the target processing node is a target encoding node, the target node receives the target image data sent by the target encoding node, wherein the target image data is obtained by the target encoding node processing the initial image data based on the virtual mouse data, and the target processing data includes the target image data.
[0079] It should be noted that the virtual mouse data is the data obtained by simulating the movement of a physical mouse using a virtual mouse. For example, in an optional embodiment of creating a virtual mouse using Uinput, the virtual mouse data can be the mouse events sent by the virtual mouse device. The target encoding node can be the image source encoding device of the target display device, which is used to run the operating system and process the image source data, and transmit the processed image data to the seat node for image echo. For example, the target encoding node can perform segmentation, correction and other processing on the image source. After receiving the virtual mouse data, the target encoding node can change the processing method of the image source according to the virtual mouse data to obtain the target image data, and then encode the target image data and transmit it to the target node. The target node decodes the target image data and sends it to the target display device for screen display.
[0080] Optionally, after the target node and target display device are determined, the target node can first send virtual mouse data for controlling the cursor to an external physical device of the target processing node or target display device, and the external physical device is connected to the target processing node or target display device through the OTG port, thereby controlling the operating system in the target processing node or target display device. In this optional implementation, the external physical device can be disguised as a physical mouse connected to the target coding node or target display device through the OTG port, that is, the target coding node or target display device can identify the above-mentioned external physical device as a mouse device. Therefore, the external physical device can act as a disguised physical mouse to control the operating system of the target processing node or target display device.
[0081] Figure 2 is a schematic diagram of a target virtual screen provided according to an optional embodiment of the present invention, such as Figure 2As shown, the target virtual screen is composed of four display devices' virtual screens spliced together in a 2×2 format. The target virtual screen supports establishing absolute coordinates using a coordinate system, where the upper-left corner is set to (0,0) and the lower-right corner is set to (32768*2, 32768*2). Once the absolute coordinates of the target mouse position are determined based on the mouse's physical displacement, the cursor can be moved directly to the absolute coordinates, ensuring absolute accuracy.
[0082] Furthermore, after obtaining the absolute coordinates of the target position of the virtual cursor in the entire target virtual screen, and the display device corresponding to the target position, namely the target display device, the absolute coordinates of the target position in the target display device can be further determined, that is, the coordinates of the target position are converted into the absolute coordinates of the operating system of the sub-window to which the cursor belongs, and then this absolute coordinate is sent to the encoding end device where the operating system is located, thereby realizing the control of the cursor in the operating system.
[0083] Figure 3 : is a flowchart of a mouse remote control according to an optional embodiment of the present invention, such as Figure 3 As shown, the decoding end may include a display screen and a display screen node, and the encoding end may include a terminal device and a host or server. The process may include the following steps:
[0084] S1, user operation roaming function configuration interface;
[0085] S2, connects all controlled encoding terminals;
[0086] S3: The encoding end starts the UDP service and waits for data;
[0087] S4, collecting mouse and keyboard data, and determining which encoding end the mouse and keyboard are operating on;
[0088] S5, pack the mouse and keyboard data according to the protocol and send it to the corresponding encoding end;
[0089] S6, the encoding end receives the packaged mouse and keyboard data;
[0090] S7 converts the received data into a standard control protocol and writes it into the OTG node to complete the control of the encoding end.
[0091] Figure 4 FIG. 1 is a flow chart of a second cursor control method according to an embodiment of the present invention. Figure 4 As shown, the method includes the following steps:
[0092] Step S402: A first decoding node receives motion data from a physical mouse connected thereto, wherein the first decoding node is connected to a first display device and at least one second decoding node, the first decoding node and the second decoding node are connected to form a group of seat nodes via a network connection device, and the second decoding node is correspondingly connected to a second display device.
[0093] Step S404: The first decoding node determines a target virtual screen according to the first configuration parameters of the first display device and the second configuration parameters of the second display device.
[0094] Step S406: the first decoding node determines a target node in the second decoding node according to at least one of the position information of the virtual cursor in the target virtual screen and the motion data of the physical mouse;
[0095] In step S408 , the target node receives the action data sent by the first decoding node, and controls a cursor in a target display device according to the action data, wherein the target display device is one of the second display devices and is connected to the target node.
[0096] Through the above steps, the purpose of efficiently and accurately determining the transmission target node of the physical mouse action data is achieved, thereby realizing the technical effect of efficiently controlling multiple sets of equipment in an agent matrix using a distributed network through a set of mice, thereby solving the technical problem that it is difficult to efficiently control multiple sets of equipment in an agent matrix using a distributed network through a set of mice.
[0097] Example 2
[0098] According to an embodiment of the present invention, a cursor control device 1 for implementing the above-mentioned cursor control method 1 is further provided. Figure 5 FIG. 1 is a structural block diagram of a cursor control device according to an embodiment of the present invention. Figure 5 As shown, the cursor control device 50 includes: a first receiving module 52, a first determining module 54, a second determining module 56 and a sending module 58. The cursor control device 50 is described below.
[0099] A first receiving module 52 is configured to receive motion data of a physical mouse, wherein the physical mouse is connected to a first decoding node, which is respectively connected to a first display device and a second decoding node, the first decoding node and the second decoding node are connected to form a group of seat nodes, and the second decoding node is correspondingly connected to a second display device;
[0100] A first determining module 54 is connected to the receiving module 52 and is used to determine a target virtual screen according to first configuration parameters of the first display device and second configuration parameters of the second display device;
[0101] A second determining module 56, connected to the first determining module 54, is configured to determine a target node in the second decoding node according to at least one of the position information of the virtual cursor in the target virtual screen and the motion data of the physical mouse;
[0102] The sending module 58 is connected to the second determining module 56 and is used to send the motion data of the physical mouse to the target node.
[0103] It should be noted here that the above-mentioned first receiving module 52, first determination module 54, second determination module 56 and sending module 58 correspond to steps S102 to S108 in Example 1, and the instances and application scenarios implemented by multiple modules and corresponding steps are the same, but are not limited to the contents disclosed in the above-mentioned Example 1.
[0104] Example 3
[0105] According to an embodiment of the present invention, a second cursor control device for implementing the second cursor control method is also provided. Figure 6 is a structural block diagram of a second cursor control device according to an embodiment of the present invention. Figure 6 As shown, the second cursor control device 60 includes: a second receiving module 62, a third determining module 64, a fourth determining module 66 and a control module 68. The second cursor control device 60 is described below.
[0106] A second receiving module 62 is configured for a first decoding node to receive motion data of a physical mouse connected thereto, wherein the first decoding node is respectively connected to a first display device and at least one second decoding node, the first decoding node and the second decoding node are connected to form a group of seat nodes via a network connection device, and the second decoding node is correspondingly connected to a second display device;
[0107] A third determining module 64 is connected to the second receiving module 62 and is used by the first decoding node to determine the target virtual screen according to the first configuration parameters of the first display device and the second configuration parameters of the second display device;
[0108] A fourth determining module 66, connected to the third determining module 64, is used for the first decoding node to determine the target node in the second decoding node according to at least one of the position information of the virtual cursor in the target virtual screen and the motion data of the physical mouse;
[0109] The control module 68 is connected to the fourth determination module 66 and is used for the target node to receive the action data sent by the first decoding node and control the cursor in the target display device according to the action data, wherein the target display device is one of the second display devices and corresponds to the connected target node.
[0110] It should be noted here that the above-mentioned second receiving module 62, third determination module 64, fourth determination module 66 and control module 68 correspond to steps S402 to S408 in Example 1, and the instances and application scenarios implemented by multiple modules and corresponding steps are the same, but are not limited to the contents disclosed in the above-mentioned Example 1.
[0111] Example 4
[0112] An embodiment of the present invention may provide a computer device. Optionally, in this embodiment, the computer device may be located in at least one of a plurality of network devices in a computer network. The computer device includes a memory and a processor.
[0113] The memory can be used to store software programs and modules, such as the program instructions / modules corresponding to the cursor control method and device in the embodiments of the present invention. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory, that is, implementing the above-mentioned cursor control method. The memory may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include a memory remotely located relative to the processor, and these remote memories may be connected to the computer terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0114] The processor can call the information and application stored in the memory through the transmission device to perform the following steps: receiving the action data of the physical mouse, wherein the physical mouse is connected to the first decoding node, the first decoding node is respectively connected to the first display device and at least one second decoding node, the first decoding node and the second decoding node are connected to a group of seat nodes through a network connection device, and the second decoding node is correspondingly connected to the second display device; determining the target virtual screen according to the first configuration parameters of the first display device and the second configuration parameters of the second display device; determining the target node in the second decoding node according to the position information of the virtual cursor in the target virtual screen and at least one of the action data of the physical mouse; and sending the action data of the physical mouse to the target node.
[0115] A person skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing the hardware related to the terminal device through a program, and the program can be stored in a computer-readable storage medium, which may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0116] Example 5
[0117] The embodiment of the present invention further provides a computer-readable storage medium. Optionally, in this embodiment, the computer-readable storage medium can be used to store the program code executed by the cursor control method provided in the first embodiment.
[0118] Optionally, in this embodiment, the computer-readable storage medium may be located in any computer terminal in a computer terminal group in a computer network, or in any mobile terminal in a mobile terminal group.
[0119] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for performing the following steps: receiving action data of a physical mouse, wherein the physical mouse is connected to a first decoding node, the first decoding node is respectively connected to a first display device and at least one second decoding node, the first decoding node and the second decoding node are connected to a group of seat nodes through a network connection device, and the second decoding node is correspondingly connected to the second display device; determining the target virtual screen according to the first configuration parameters of the first display device and the second configuration parameters of the second display device; determining the target node in the second decoding node according to the position information of the virtual cursor in the target virtual screen and at least one of the action data of the physical mouse; and sending the action data of the physical mouse to the target node.
[0120] The serial numbers of the above embodiments of the present invention are for description only and do not represent the advantages or disadvantages of the embodiments.
[0121] In the above embodiments of the present invention, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0122] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only exemplary. For example, the division of units can be a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0123] Units described as separate components may or may not be physically separate, and components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple units. Some or all of the units may be selected to achieve the purpose of the present embodiment according to actual needs.
[0124] In addition, the functional units in the various embodiments of the present invention may be integrated into a single processing unit, each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0125] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk, etc. Various media that can store program codes.
[0126] The above are only preferred embodiments of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A cursor control method, characterized in that: include: Receiving motion data of a physical mouse, wherein the physical mouse is connected to a first decoding node, the first decoding node is respectively connected to a first display device and at least one second decoding node, the first decoding node and the second decoding node are connected to form a group of seat nodes via a network connection device, and the second decoding node is correspondingly connected to a second display device; determining a target virtual screen according to first configuration parameters of the first display device and second configuration parameters of the second display device; determining a target node in the second decoding nodes according to at least one of position information of a virtual cursor in the target virtual screen and motion data of the physical mouse; Sending the motion data of the physical mouse to the target node; The method of determining the target node in the second decoding node according to at least one of the position information of the virtual cursor in the target virtual screen and the action data of the physical mouse includes: in response to the position information including the final position of the virtual cursor in the target virtual screen at the current moment, and the action data including the enabling data of the physical mouse, determining the target node based on the final position, wherein the enabling data is data recording the buttons of the physical mouse; In response to the position information including the starting position of the virtual cursor at the current moment in the target virtual screen, and the action data including the displacement data of the physical mouse, the final moving position of the virtual cursor is determined based on the action data and the position information, and the node corresponding to the final moving position is determined as the target node, wherein the displacement data is data recording the sliding of the physical mouse.
2. The method according to claim 1, characterized in that The determining the target virtual screen according to the first configuration parameter of the first display device and the second configuration parameter of the second display device includes: Acquire a relative positional relationship between the first display device and the second display device; generating a first virtual screen corresponding to the first display device and a second virtual screen corresponding to the second display device according to the first configuration parameter and the second configuration parameter; According to the relative position relationship, the first virtual screen and the second virtual screen are spliced into the target virtual screen according to the relative position relationship.
3. The method according to claim 1, characterized in that The determining the target node according to the position information of the virtual cursor in the target virtual screen and the motion data of the physical mouse includes: Reading a physical displacement of the physical mouse from the motion data of the physical mouse, wherein the physical displacement is determined according to a current position of the physical mouse and a position of the physical mouse before movement; determining a displacement correspondence between the physical displacement and a virtual displacement, wherein the virtual displacement is a displacement of the virtual cursor in the target virtual screen; Based on the position information, the physical displacement and the displacement correspondence, the target position of the virtual cursor in the target virtual screen is determined, and the second decoding node corresponding to the target position is determined as the target node, wherein the target node corresponds to the target display device connected to the second display device, and the target position is within the virtual screen range of the target display device.
4. The method according to claim 3, characterized in that The determining, based on the position information, the physical displacement, and the displacement correspondence, of a target position of the virtual cursor in the target virtual screen, and determining a second decoding node corresponding to the target position as the target node, includes: determining a virtual displacement of the virtual cursor on the target virtual screen according to the physical displacement and the displacement correspondence; determining a target position of the virtual cursor on the target virtual screen according to the virtual displacement; In the target virtual screen, determining that the second display device corresponding to the virtual screen where the target position is located is the target display device; A second decoding node connected to the target display device is determined as the target node.
5. The method according to claim 1, wherein The sending of the motion data of the physical mouse to the target node includes: sending the motion data of the physical mouse to the target node via UDP communication.
6. The method according to claim 5, characterized in that Also includes: acquiring data from an input device, wherein the input device is connected to the first decoding node; The data of the input device is sent to the target node via UDP communication.
7. The method according to claim 1, characterized in that Also includes: Detecting the connection status of the physical mouse; When the physical mouse is disconnected from the first decoding node, a master node determination instruction is sent to the second decoding node, wherein the master node determination instruction is used to determine the decoding node connected to the physical mouse in the seat node as the master node.
8. The method according to any one of claims 1 to 7, characterized in that Also includes: Creating a virtual mouse in the target node; The target node inputs the motion data of the physical mouse into the virtual mouse, and controls the cursor in the target display device through the virtual mouse, wherein the target display device is one of the second display devices and is correspondingly connected to the target node.
9. The method according to claim 8, characterized in that The target node inputs the motion data of the physical mouse into the virtual mouse, and controls the cursor of the target display device through the virtual mouse, including: The target node inputs the motion data of the physical mouse into the virtual mouse to obtain virtual mouse data; The target node sends the virtual mouse data to a target processing node, wherein the target processing node is configured to execute the virtual mouse data.
10. The method according to claim 9, characterized in that Also includes: The target node acquires target processing data generated by the target processing node, wherein the target processing data is data generated by the target processing node according to the virtual mouse data; The target node transmits the target processed data to the target display device, so that the target display device performs screen display according to the target processed data.
11. The method according to claim 10, characterized in that The target node acquires the target image data generated by the target processing node, including: In the case where the target processing node is a target encoding node, the target node receives target image data sent by the target encoding node, wherein the target image data is obtained by the target encoding node processing the initial image data according to the virtual mouse data, and the target processing data includes the target image data.
12. A cursor control method, characterized in that: include: A first decoding node receives motion data of a physical mouse connected to the first decoding node, wherein the first decoding node is connected to a first display device and at least one second decoding node, the first decoding node and the second decoding node are connected to form a group of seat nodes via a network connection device, and the second decoding node is correspondingly connected to a second display device; The first decoding node determines a target virtual screen according to a first configuration parameter of the first display device and a second configuration parameter of the second display device; The first decoding node determines the target node in the second decoding node according to at least one of position information of the virtual cursor in the target virtual screen and motion data of the physical mouse; The target node receives the action data sent by the first decoding node, and controls a cursor in a target display device according to the action data, wherein the target display device is one of the second display devices and is correspondingly connected to the target node; The first decoding node determines the target node in the second decoding node according to at least one of the position information of the virtual cursor in the target virtual screen and the action data of the physical mouse, including: in response to the position information including the final position of the virtual cursor in the target virtual screen at the current moment, and the action data including the enabling data of the physical mouse, determining the target node based on the final position, wherein the enabling data is data recording the buttons of the physical mouse; In response to the position information including the starting position of the virtual cursor at the current moment in the target virtual screen, and the action data including the displacement data of the physical mouse, the final moving position of the virtual cursor is determined based on the action data and the position information, and the node corresponding to the final moving position is determined as the target node, wherein the displacement data is data recording the sliding of the physical mouse.
13. A cursor control device, characterized in that: include: a first receiving module, configured to receive motion data of a physical mouse, wherein the physical mouse is connected to a first decoding node, the first decoding node is respectively connected to a first display device and a second decoding node, the first decoding node and the second decoding node are connected to form a group of seat nodes, and the second decoding node is correspondingly connected to a second display device; a first determining module, configured to determine a target virtual screen according to first configuration parameters of the first display device and second configuration parameters of the second display device; a second determining module, configured to determine a target node in the second decoding nodes according to at least one of position information of a virtual cursor in the target virtual screen and motion data of the physical mouse; A sending module, configured to send the motion data of the physical mouse to the target node; The second determining module is used to perform the following steps to determine the target node: The position information includes the final position of the virtual cursor in the target virtual screen at the current moment, and the action data includes enabling data of the physical mouse. The target node is determined based on the final position, wherein the enabling data is data recording the physical mouse button. In response to the position information including the starting position of the virtual cursor at the current moment in the target virtual screen, and the action data including the displacement data of the physical mouse, the final moving position of the virtual cursor is determined based on the action data and the position information, and the node corresponding to the final moving position is determined as the target node, wherein the displacement data is data recording the sliding of the physical mouse.
14. A cursor control device, characterized in that: include: a second receiving module, configured for a first decoding node to receive motion data of a physical mouse connected thereto, wherein the first decoding node is respectively connected to a first display device and at least one second decoding node, the first decoding node and the second decoding node are connected to form a group of seat nodes via a network connection device, and the second decoding node is correspondingly connected to a second display device; a third determining module, configured for the first decoding node to determine a target virtual screen according to the first configuration parameters of the first display device and the second configuration parameters of the second display device; a fourth determining module, configured for the first decoding node to determine a target node in the second decoding node according to at least one of position information of the virtual cursor in the target virtual screen and motion data of the physical mouse; a control module, configured to receive, at the target node, the action data sent by the first decoding node, and control a cursor in a target display device according to the action data, wherein the target display device is one of the second display devices and is correspondingly connected to the target node; The fourth determining module is used to perform the following steps to determine the target node: The position information includes the final position of the virtual cursor on the target virtual screen at the current moment, and the action data includes enabling data of the physical mouse. The target node is determined based on the final position, wherein the enabling data is data recording the buttons of the physical mouse. In response to the position information including the starting position of the virtual cursor at the current moment in the target virtual screen, and the action data including the displacement data of the physical mouse, the final moving position of the virtual cursor is determined based on the action data and the position information, and the node corresponding to the final moving position is determined as the target node, wherein the displacement data is data recording the sliding of the physical mouse.
15. A computer-readable storage medium, characterized in that The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the cursor control method according to any one of claims 1 to 12.
16. A video processing device, characterized in that: The method comprises a processor, wherein the processor is used to run a program, wherein the cursor control method according to any one of claims 1 to 12 is executed when the program is run.
17. A distributed system, characterized in that: The distributed system includes: a physical mouse, a first decoding node, at least one second decoding node, a network connection device, a first display device and a second display device, wherein: The physical mouse is connected to the first decoding node and is used to generate motion data; The first decoding node is connected to the first display device via a data connection line, and is connected to the second decoding node via the network connection device to form a group of seat nodes; The second decoding node is connected to the second display device via a data connection line, and the target node in the second decoding node is used to receive the action data of the physical mouse sent by the first decoding node; The distributed system is used to execute the cursor control method described in any one of claims 1 to 12.
Citation Information
Patent Citations
Data processing method and device, equipment and system
CN113407043A