CN112732105B - Mouse jitter control method and device - Google Patents

Mouse jitter control method and device Download PDF

Info

Publication number
CN112732105B
CN112732105B CN202011640942.8A CN202011640942A CN112732105B CN 112732105 B CN112732105 B CN 112732105B CN 202011640942 A CN202011640942 A CN 202011640942A CN 112732105 B CN112732105 B CN 112732105B
Authority
CN
China
Prior art keywords
mouse
signal
coordinate
moving signal
current
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
Application number
CN202011640942.8A
Other languages
Chinese (zh)
Other versions
CN112732105A (en
Inventor
李运福
任文康
李启光
解锐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guiyang Gloud Technology Co ltd
Original Assignee
Guiyang Gloud Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guiyang Gloud Technology Co ltd filed Critical Guiyang Gloud Technology Co ltd
Priority to CN202011640942.8A priority Critical patent/CN112732105B/en
Publication of CN112732105A publication Critical patent/CN112732105A/en
Application granted granted Critical
Publication of CN112732105B publication Critical patent/CN112732105B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/038Control and interface arrangements therefor, e.g. drivers or device-embedded control circuitry
    • G06F3/0383Signal control means within the pointing device
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/20Input arrangements for video game devices
    • A63F13/21Input arrangements for video game devices characterised by their sensors, purposes or types
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/60Methods for processing data by generating or executing the game program
    • A63F2300/66Methods for processing data by generating or executing the game program for rendering three dimensional images

Abstract

The invention relates to a mouse jitter control method and a device, which are applied to a server side, wherein the method comprises the following steps: receiving a shaking mouse moving signal; determining the acceleration and the speed of the shaking mouse moving signal according to the shaking mouse moving signal; judging whether a next mouse moving signal is received within a preset time length of the received jittering mouse moving signal; if the next mouse moving signal is not received, determining the current mouse coordinate after being corrected as the shaking mouse moving signal according to the acceleration and the speed of the shaking mouse moving signal; and rendering the game picture according to the current mouse coordinate and sending the rendered picture to the client. According to the technical scheme, the server-side carries out jitter compensation on the current mouse coordinate of the received jittered mouse moving signal to obtain a smooth mouse moving track, so that the influence of network fluctuation or blockage on mouse jitter is reduced, and the user experience is improved.

Description

Mouse jitter control method and device
Technical Field
The invention relates to the technical field of mouse jitter prevention, in particular to a mouse jitter control method and device.
Background
With the rapid development of the game industry, intelligent terminal technology and wireless networks, such as 5G networks, in recent years, games have become an indispensable internet application and recreation mode in people's lives. With the gradual maturity of cloud computing technology, a system architecture mode that terminal configuration is reduced and a terminal is transplanted to a cloud is promoted, in this mode, a terminal device of a user originally used for running a highly-configured game is transplanted to a cloud server, and an offline terminal device only needs to receive and display a game picture, that is, through the cloud game technology, a user can enjoy different games only by installing a client, game application does not need to be installed on a client machine, actual game running is stored in the cloud server, and the user can access the game at any place and at any time through any terminal device (such as a smart phone, a tablet computer, a smart wearable device and the like), so that the game playing threshold of the user is reduced; moreover, the user client can transmit the user operation signal to the cloud server through network connection only by capturing basic data (such as mouse click, keyboard click, handle keys and the like) of the user operation, and the game server replays the user operation and renders the game effect after receiving the user operation signal; the user only needs to be able to receive and decode the video code stream, thereby greatly reducing the user's requirement for high-end machine configuration.
However, in such a background, the mouse movement signal of the client may not be smoothly continuous when being transmitted to the server due to the fluctuation and the blockage of the network connection. After the server applies the mouse movement signal which is not smooth enough to the game, renders the picture and then returns, the picture behavior received by the client may be jumpy, thereby causing the game experience to be degraded.
Disclosure of Invention
In order to overcome the problems in the related art, the invention provides a method and a device for controlling mouse shaking.
According to a first aspect of the embodiments of the present invention, there is provided a mouse shaking control method, applied to a server, the method including:
receiving a shaking mouse moving signal;
determining the acceleration and the speed of the shaking mouse moving signal according to the shaking mouse moving signal;
judging whether a next mouse moving signal is received within a preset time length of the received jittering mouse moving signal;
if the next mouse moving signal is not received, determining the current mouse coordinate corrected as the jittering mouse moving signal according to the acceleration and the speed of the jittering mouse moving signal;
and rendering the game picture according to the current mouse coordinate and sending the rendered picture to the client.
Wherein the method further comprises: and if the next mouse moving signal is received, determining the current mouse coordinate after being corrected as the jittering mouse moving signal according to the acceleration and the speed of the jittering mouse moving signal and the position information of the next mouse moving signal.
Wherein the determining the current mouse coordinate corrected as the shake mouse movement signal according to the acceleration and the speed of the shake mouse movement signal and the position information of the next mouse movement signal comprises:
and performing interpolation operation on the current mouse movement coordinate of the jitter mouse movement signal according to the acceleration and the speed of the jitter mouse movement signal and the position information of the next mouse movement signal, and taking the current mouse movement coordinate obtained by the interpolation operation as the current mouse coordinate after the jitter mouse movement signal is corrected.
Wherein the method further comprises:
and when the mouse moving signal is not received at the preset sampling point, determining the mouse moving signal as the jitter mouse moving signal.
Wherein the method further comprises:
and storing the current mouse coordinate to a historical track queue.
According to a second aspect of the embodiments of the present invention, there is provided a mouse shaking control apparatus, applied to a server, the apparatus including:
the receiving module is used for receiving the shaking mouse moving signal;
the first determining module is used for determining the acceleration and the speed of the shaking mouse moving signal according to the shaking mouse moving signal;
the judging module is used for judging whether the next mouse moving signal is received within the preset time length of the jitter mouse moving signal;
the second determining module is used for determining the current mouse coordinate after being corrected as the shake mouse moving signal according to the acceleration and the speed of the shake mouse moving signal when the judging module judges that the next mouse moving signal is not received;
and the rendering module is used for rendering the game picture according to the current mouse coordinate and sending the rendered picture to the client.
The second determining module is further configured to determine, if the next mouse movement signal is received, a current mouse coordinate corrected as the jittered mouse movement signal according to the acceleration and the speed of the jittered mouse movement signal and the position information of the next mouse movement signal.
The second determining module is further configured to perform interpolation operation on the current mouse movement coordinate of the dither mouse movement signal according to the acceleration and the speed of the dither mouse movement signal and the position information of the next mouse movement signal, and use the current mouse movement coordinate obtained through the interpolation operation as the current mouse coordinate after the dither mouse movement signal is corrected.
The receiving module is further configured to determine that the mouse moving signal is the jittered mouse moving signal when the mouse moving signal is not received at the preset sampling point.
Wherein the apparatus further comprises:
and the storage module is used for storing the current mouse coordinates to the historical track queue.
The technical scheme provided by the embodiment of the invention can have the following beneficial effects:
when the server end receives a mouse moving signal sent by the client end, judges that the mouse moving signal sent by the client end is a jittering mouse moving signal, and further judges whether a next mouse moving signal is received within a certain time period from the moment of receiving the jittering mouse moving signal, so that a corresponding correction mode is provided for the current mouse coordinate of the jittering mouse moving signal according to the receiving condition of the next mouse moving signal, the jittering compensation is carried out on the current mouse coordinate of the received mouse moving signal, the influence of network fluctuation or network blockage on the mouse jittering is reduced, and the user experience is improved. In addition, the game picture is rendered according to the corrected current mouse coordinate and sent to the client, so that the difference between the mouse movement feedback of the user and the cloud game picture is reduced.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a schematic diagram of a client shown in the related art collecting sampling information of a mouse movement signal.
Fig. 2 is a schematic diagram of a server shown in the related art receiving sample information of a mouse movement signal transmitted by a client.
FIG. 3 is a flowchart illustrating a mouse shake control method according to an exemplary embodiment.
FIG. 4 is a flow chart illustrating a method of mouse shaking control according to an exemplary embodiment.
FIG. 5 is a block diagram illustrating a mouse shake control apparatus according to an exemplary embodiment.
FIG. 6 is a block diagram illustrating a computer device according to an example embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention. It should be noted that the embodiments and features of the embodiments in the present application may be arbitrarily combined with each other without conflict.
The cloud game is a game mode based on cloud computing, all games run at a server side in a running mode of the cloud game, and a rendered game picture is compressed and then transmitted to a user through a network.
Network delay: network delay refers to the transmission of various data in a network medium through a network protocol (such as TCP, UDP), and if the amount of information is too large and not limited, the excessive network traffic will cause the device to react slowly, resulting in network delay.
Network fluctuation: if the network is congested, queuing delays will affect end-to-end delays and cause packet delays transmitted over the same connection to vary, resulting in unstable data transmission.
The user uses the cloud game service, the client acquires mouse control signals of the user and sends the mouse control signals to the server, the server receives the mouse control signals and then maps the corresponding control information to the mouse control of the system, remote mouse control operation from the user to the remote server is completed, and as shown in fig. 1, the client acquires mouse movement signals 1 'according to constant acquisition frequency 2'. However, due to network fluctuation or congestion, the mouse movement signal sent to the server by the user is not the mouse movement signal acquired by the client, as shown in fig. 2, the time sequence of the mouse movement signal 1 received by the server does not arrive according to the time sequence acquired by the client due to network fluctuation 2, and at this time, the user can obviously feel the jitter of mouse operation, and the user experience is reduced.
In order to solve the technical problem, the invention provides a mouse jitter control method, which is characterized in that the current mouse coordinate of a received mouse movement signal is subjected to jitter compensation at a server side to obtain a smooth mouse movement track, thereby reducing the influence of network fluctuation or blockage on mouse jitter and improving user experience.
According to an exemplary embodiment, as shown in fig. 3, the method in the embodiment of the present invention is applied to a server, and the server may be a cloud server. The method in this embodiment comprises the steps of:
step S301, receiving a shaking mouse moving signal.
In this step, the client sends a mouse movement signal to the server, and the client may be an electronic device such as a computer, a smart phone, a tablet computer, and a smart wearable device. The server receives a mouse movement signal sent by the client, and needs to judge whether the received mouse movement signal is a jittering mouse movement signal, that is, a mouse movement signal sent when the mouse movement signal is a mouse jitter.
Step S302, according to the shaking mouse moving signal, determining the acceleration and the speed of the shaking mouse moving signal.
In the step, the server only needs to determine the acceleration and the speed of the mouse movement signal when the mouse shakes, so that the current mouse coordinate of the mouse movement signal can be corrected according to the movement trend of the mouse, and shake compensation can be timely performed when the mouse shakes.
Step S303, judging whether the next mouse moving signal is received within the preset time length of the received jittered mouse moving signal.
In this step, the server receives a mouse movement signal sent by the client when the mouse movement signal is a mouse movement signal sent by the client when the mouse is jittered, and determines whether a next mouse movement signal is received within a preset time period after the time when the jittered mouse movement signal is received, so as to correct the current mouse coordinate of the jittered mouse movement signal according to the receiving condition of the next mouse movement signal, wherein the preset time period can be flexibly set as required, and is not specifically limited herein.
And step S304, if the next mouse moving signal is not received, determining the current mouse coordinate after being used as the shake mouse moving signal correction according to the acceleration and the speed of the shake mouse moving signal.
In the step, the server does not receive the next mouse moving signal within the preset time length of receiving the jittering mouse moving signal, that is, the data transmission is unstable due to reasons of packet loss, network delay, network fluctuation, blocking and the like, the server does not receive the next mouse moving signal in time, the server determines the acceleration and the speed of the jittering mouse moving signal, that is, determines the mouse moving trend of the current mouse moving signal, and corrects the current mouse coordinate of the jittering mouse moving signal according to the mouse moving trend so as to realize the jittering compensation of the current mouse coordinate.
In one example, the current mouse movement coordinate is predicted according to the acceleration and the speed of the shake mouse movement signal, and the predicted current mouse movement coordinate is determined as the current mouse coordinate after the shake mouse movement signal is corrected.
And S305, rendering the game picture according to the current mouse coordinate and sending the rendered picture to the client.
In the step, the server corrects the current mouse coordinate of the mouse movement signal to finish the smooth processing of mouse shake, renders a game picture according to the current mouse coordinate, sends the rendered picture to the client, optimizes the picture feedback of the mouse movement signal by the server, effectively reduces the difference between the mouse movement feedback of the user and the cloud game picture, and improves the user experience.
In the embodiment of the invention, the server receives a mouse movement signal sent by the client and determines that the received mouse movement signal is a jittering mouse movement signal, the mouse movement signal sent by the client is transmitted to the server within a certain time due to the blockage of network connection, the server cannot receive the next mouse movement signal, the server predicts the current mouse coordinate of the jittering mouse movement signal according to the acceleration and the speed of the jittering mouse movement signal, the predicted current mouse coordinate is used as the current mouse coordinate after the jittering mouse movement signal is corrected, a game picture is rendered according to the corrected current mouse coordinate and the rendered picture is sent to the client, and the difference between the mouse movement feedback of the user and the cloud game picture is reduced. The embodiment of the invention only corrects the current mouse moving coordinate in time when the mouse shakes, effectively improves the mouse shaking sense of the client caused by network problems and improves the game experience.
According to an exemplary embodiment, as shown in fig. 4, the method in the embodiment of the present invention is applied to a server. The method in the embodiment of the invention comprises the following steps:
and S401, receiving a mouse moving signal.
In this step, the server receives a mouse movement signal sent by the client, where the current mouse movement signal may be a mouse movement signal sent when the client mouse shakes.
Step S402, judging whether a mouse moving signal is received at a preset sampling point or not; if not, executing step S403; if yes, go to step S408.
In the step, when the server is connected to a mouse moving signal sent by the client, whether the moment of receiving the mouse moving signal is the moment of a preset sampling point is judged to determine whether the mouse moving signal is the mouse moving signal sent when the mouse shakes, when the mouse moving signal is not the mouse moving signal sent when the mouse shakes, a game picture can be directly rendered according to the mouse moving signal, and when the mouse moving signal is judged to be the mouse moving signal sent when the mouse shakes, shake compensation needs to be carried out on the mouse moving signal, so that the shake sense of mouse control felt by a user is reduced, and the user experience is improved.
The preset sampling point can be set according to the constant acquisition frequency when the client acquires the mouse movement signal, for example, the preset sampling point is the same as the constant acquisition frequency of the client, the service judges whether the mouse movement signal is received at the preset sampling point, that is, the server judges whether the received mouse movement signal arrives according to the time sequence of acquiring the mouse movement signal by the client, if the mouse movement signal arrives according to the time sequence of acquiring the mouse movement signal by the client, the mouse of the user generates a shaking sense, and if the mouse movement signal does not arrive according to the time sequence of acquiring the mouse movement signal by the client, the mouse of the user is shaken.
Step S403, determining the mouse movement signal as a jittered mouse movement signal.
In the step, the server judges that the moment of receiving the mouse moving signal is inconsistent with the moment of the preset sampling point, and determines that the mouse moving signal is a jittered mouse moving signal, namely the mouse is jittered.
And S404, determining the acceleration and the speed of the shaking mouse moving signal according to the shaking mouse moving signal.
Step S405, judging whether a next mouse moving signal is received within a preset time length since the jittered mouse moving signal is received; if not, go to step S406; if yes, go to step S407.
And step S406, determining the current mouse coordinate corrected as the shaking mouse moving signal according to the acceleration and the speed of the shaking mouse moving signal.
Step S405 is the same as step S303, and step S406 is the same as step S304, which are described in step S303 and step S304, and are not repeated herein.
And step S407, determining the current mouse coordinate corrected as the shaking mouse movement signal according to the acceleration and the speed of the shaking mouse movement signal and the position information of the next mouse movement signal.
In the step, the server may receive a next mouse moving signal in advance from within a preset time period during which the jittered mouse moving signal is received, the server determines the acceleration and the speed of the jittered mouse moving signal and the position information of the next mouse moving signal, that is, determines the mouse moving trend of the current mouse moving signal, and corrects the current mouse coordinate of the jittered mouse moving signal in time according to the mouse moving trend and the position information of the next mouse moving signal, so that the mouse moving coordinate is smoothly processed at the server, and the continuity of the mouse moving signal of the server is optimized.
In one example, the current mouse movement coordinate of the shake mouse movement signal is interpolated according to the acceleration and the speed of the shake mouse movement signal and the position information of the next mouse movement signal, and the current mouse movement coordinate obtained by the interpolation is used as the current mouse coordinate after the shake mouse movement signal is corrected. In this embodiment, the server receives a mouse movement signal sent by the client and determines that the received mouse movement signal is a jittered mouse movement signal, and when the mouse movement signal sent by the client is transmitted to the server within a certain time, the server receives a next mouse movement signal, and according to the acceleration and the speed of the jittered mouse movement signal and the position information of the next mouse movement signal, the server performs interpolation operation on the current mouse coordinate of the jittered mouse movement signal to obtain a corrected current mouse coordinate, renders a game picture according to the corrected current mouse coordinate, and sends the rendered picture to the client, so as to reduce the difference between the mouse movement feedback of the user and the cloud game picture, and improve the game experience of the user.
And step S408, rendering the game picture according to the current mouse coordinate and sending the rendered picture to the client.
Step S408 is the same as step S305, and is described in step S305, which is not described herein again.
And step S409, storing the current mouse coordinates to a historical track queue.
In the step, the server corrects the mouse moving signal sent when the mouse shakes, then caches and utilizes the corrected mouse moving signal, provides compensation reference information for the compensation and correction of the shaking mouse moving signal generated when the mouse shakes again, and provides more accurate data for mouse track prediction through the historical track of the mouse.
In the embodiment of the invention, when the server is connected to the mouse moving signal sent by the client and judges that the mouse moving signal sent by the client is a jittering mouse moving signal, whether the next mouse moving signal is received or not within a certain time length from the moment of receiving the jittering mouse moving signal is further judged, so that a corresponding correction mode is provided for the current mouse coordinate of the jittering mouse moving signal according to the receiving condition of the next mouse moving signal, the jittering compensation is carried out on the current mouse coordinate of the received mouse moving signal, the influence of network fluctuation or blockage on the mouse jittering is reduced, and the user experience is improved.
According to an exemplary embodiment, as shown in fig. 5, the apparatus in the embodiment of the present invention is applied to a server. The device in the embodiment of the invention comprises:
a receiving module 501, configured to receive a shake mouse movement signal;
a first determining module 502, configured to determine an acceleration and a speed of the jittered mouse movement signal according to the jittered mouse movement signal;
the judging module 503 is configured to judge whether a next mouse moving signal is received within a preset time length since the jittered mouse moving signal is received;
a second determining module 504, configured to determine, according to the acceleration and the speed of the shake mouse movement signal, a current mouse coordinate after being modified as the shake mouse movement signal when the determining module determines that the next mouse movement signal is not received;
and a rendering module 505, configured to render the game screen according to the current mouse coordinate and send the rendered screen to the client.
The second determining module 504 is further configured to determine, if a next mouse movement signal is received, a current mouse coordinate corrected as the jittered mouse movement signal according to the acceleration and the speed of the jittered mouse movement signal and the position information of the next mouse movement signal.
The second determining module 504 is further configured to perform interpolation operation on the current mouse movement coordinate of the shake mouse movement signal according to the acceleration and the speed of the shake mouse movement signal and the position information of the next mouse movement signal, and use the current mouse movement coordinate obtained through the interpolation operation as the current mouse coordinate after the shake mouse movement signal is corrected.
The receiving module 501 is further configured to determine that the mouse moving signal is a jittered mouse moving signal when the mouse moving signal is not received at the preset sampling point.
Wherein, the device still includes:
and the storage module 506 is used for storing the current mouse coordinates to the historical track queue.
An embodiment of the present invention provides a computer device, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to execute the executable instructions in the memory to implement the mouse shaking control method described above.
FIG. 6 is a block diagram illustrating a computer device 600 according to an example embodiment. For example, the computer device 600 may be provided as a server. Referring to fig. 6, the computer device 600 includes a processor 601, and the number of processors may be set to one or more as necessary. The computer device 600 also has a memory 602 for storing instructions, such as application programs, that are executable by the processor 601. The number of the memories can be set to one or more according to requirements. Which may store one or more applications. The processor 601 is configured to execute instructions to perform the mouse shaking control method described above.
Embodiments of the present invention also provide a non-transitory computer-readable storage medium including instructions stored thereon, where the executable instructions, when executed by a processor, implement the method for eliminating lens impact noise. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus (device), or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media having computer-usable program code embodied in the medium. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, including, but not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by the computer, and the like. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.
The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (devices) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that an article or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such article or apparatus. Without further limitation, an element defined by the phrases "comprising 8230; \8230;" 8230; "does not exclude the presence of additional like elements in an article or device comprising the element.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including the preferred embodiment and all changes and modifications that fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, it is intended that the present invention cover the modifications and variations of this invention provided they come within the scope of the appended claims and their equivalents.

Claims (8)

1. A mouse shaking control method is applied to a server side, and is characterized by comprising the following steps:
receiving a jittering mouse moving signal, wherein when the mouse moving signal is not received at a preset sampling point, the mouse moving signal is determined to be the jittering mouse moving signal;
determining the acceleration and the speed of the shaking mouse moving signal according to the shaking mouse moving signal;
judging whether a next mouse moving signal is received within a preset time length of the received jittering mouse moving signal;
if the next mouse moving signal is not received, predicting the current mouse moving coordinate according to the acceleration and the speed of the jittering mouse moving signal, and taking the predicted current mouse moving coordinate as the current mouse coordinate after the jittering mouse moving signal is corrected;
and rendering the game picture according to the current mouse coordinate and sending the rendered picture to the client.
2. The control method of claim 1, wherein the method further comprises: and if the next mouse moving signal is received, determining the current mouse coordinate corrected by the jittering mouse moving signal according to the acceleration and the speed of the jittering mouse moving signal and the position information of the next mouse moving signal.
3. The method of claim 2, wherein determining the modified current mouse coordinates of the jittered mouse movement signal based on the acceleration, velocity, and position information of the next mouse movement signal comprises:
and performing interpolation operation on the current mouse movement coordinate of the dither mouse movement signal according to the acceleration and the speed of the dither mouse movement signal and the position information of the next mouse movement signal, and taking the current mouse movement coordinate obtained by the interpolation operation as the current mouse coordinate after the dither mouse movement signal is corrected.
4. The control method of claim 1, wherein the method further comprises:
and storing the current mouse coordinate to a historical track queue.
5. A mouse shaking control device is applied to a server side, and is characterized by comprising:
the receiving module is used for receiving the shaking mouse moving signal;
the receiving module is further configured to determine that the mouse moving signal is the jittering mouse moving signal when the mouse moving signal is not received at the preset sampling point;
the first determining module is used for determining the acceleration and the speed of the shaking mouse moving signal according to the shaking mouse moving signal;
the judging module is used for judging whether the next mouse moving signal is received within the preset time length of the jitter mouse moving signal;
the second determination module is used for predicting the current mouse movement coordinate according to the acceleration and the speed of the jittering mouse movement signal when the judgment module judges that the next mouse movement signal is not received, and taking the predicted current mouse movement coordinate as the current mouse coordinate after the jittering mouse movement signal is corrected;
and the rendering module is used for rendering the game picture according to the current mouse coordinate and sending the rendered picture to the client.
6. The control apparatus of claim 5,
and the second determining module is further configured to determine, if the next mouse movement signal is received, a current mouse coordinate after the correction of the dither mouse movement signal according to the acceleration and the speed of the dither mouse movement signal and the position information of the next mouse movement signal.
7. The control device of claim 6,
the second determining module is further configured to perform interpolation operation on the current mouse movement coordinate of the dither mouse movement signal according to the acceleration and the speed of the dither mouse movement signal and the position information of the next mouse movement signal, and use the current mouse movement coordinate obtained through the interpolation operation as the current mouse coordinate after the dither mouse movement signal is corrected.
8. The control apparatus of claim 5, wherein the apparatus further comprises:
and the storage module is used for storing the current mouse coordinates to the historical track queue.
CN202011640942.8A 2020-12-31 2020-12-31 Mouse jitter control method and device Active CN112732105B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011640942.8A CN112732105B (en) 2020-12-31 2020-12-31 Mouse jitter control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011640942.8A CN112732105B (en) 2020-12-31 2020-12-31 Mouse jitter control method and device

Publications (2)

Publication Number Publication Date
CN112732105A CN112732105A (en) 2021-04-30
CN112732105B true CN112732105B (en) 2023-03-28

Family

ID=75609082

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011640942.8A Active CN112732105B (en) 2020-12-31 2020-12-31 Mouse jitter control method and device

Country Status (1)

Country Link
CN (1) CN112732105B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0375116A2 (en) * 1988-09-26 1990-06-27 Sharp Kabushiki Kaisha Input device and method for a document-preparing system
CN103220339A (en) * 2013-03-27 2013-07-24 北京奇虎科技有限公司 Method, device and system for displaying cursor path in remote operation
CN106373171A (en) * 2015-07-22 2017-02-01 鸿合科技有限公司 Drafting prediction compensation method and system
CN106657071A (en) * 2016-12-26 2017-05-10 东莞市丰润计算机有限公司 E-sports game keyboard and mouse device applied to cloud games and use method thereof
CN106648155A (en) * 2016-12-29 2017-05-10 深圳Tcl数字技术有限公司 Remote control air mouse anti-shake method and device
CN107820110A (en) * 2017-10-31 2018-03-20 北京四达时代软件技术股份有限公司 A kind of method, client and the server of flying squirrel remote control
CN109358760A (en) * 2018-09-07 2019-02-19 视联动力信息技术股份有限公司 A kind of mouse control method and device
CN110007787A (en) * 2019-03-21 2019-07-12 深圳点猫科技有限公司 A kind of interpolation method under the network coordinate system based on artificial intelligence, storage medium and system
CN110559651A (en) * 2019-09-16 2019-12-13 网易(杭州)网络有限公司 Control method and device of cloud game, computer storage medium and electronic equipment
CN110898426A (en) * 2019-11-13 2020-03-24 贵阳动视云科技有限公司 Game control method and device and protective shell of mobile terminal
CN111682988A (en) * 2020-06-18 2020-09-18 西安万像电子科技有限公司 Remote control method, device, storage medium and processor

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100891100B1 (en) * 2007-07-27 2009-03-31 삼성전자주식회사 Trajectory estimation apparatus and method based on pen-type optical mouse
US9292108B2 (en) * 2012-06-28 2016-03-22 Dell Products Lp Systems and methods for remote mouse pointer management
CN103841442B (en) * 2012-11-22 2017-06-27 华为技术有限公司 A kind of method for controlling air mouse, air mouse and Set Top Box
JP6515787B2 (en) * 2015-11-02 2019-05-22 富士通株式会社 Virtual desktop program, virtual desktop processing method, and virtual desktop system

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0375116A2 (en) * 1988-09-26 1990-06-27 Sharp Kabushiki Kaisha Input device and method for a document-preparing system
CN103220339A (en) * 2013-03-27 2013-07-24 北京奇虎科技有限公司 Method, device and system for displaying cursor path in remote operation
CN106373171A (en) * 2015-07-22 2017-02-01 鸿合科技有限公司 Drafting prediction compensation method and system
CN106657071A (en) * 2016-12-26 2017-05-10 东莞市丰润计算机有限公司 E-sports game keyboard and mouse device applied to cloud games and use method thereof
CN106648155A (en) * 2016-12-29 2017-05-10 深圳Tcl数字技术有限公司 Remote control air mouse anti-shake method and device
CN107820110A (en) * 2017-10-31 2018-03-20 北京四达时代软件技术股份有限公司 A kind of method, client and the server of flying squirrel remote control
CN109358760A (en) * 2018-09-07 2019-02-19 视联动力信息技术股份有限公司 A kind of mouse control method and device
CN110007787A (en) * 2019-03-21 2019-07-12 深圳点猫科技有限公司 A kind of interpolation method under the network coordinate system based on artificial intelligence, storage medium and system
CN110559651A (en) * 2019-09-16 2019-12-13 网易(杭州)网络有限公司 Control method and device of cloud game, computer storage medium and electronic equipment
CN110898426A (en) * 2019-11-13 2020-03-24 贵阳动视云科技有限公司 Game control method and device and protective shell of mobile terminal
CN111682988A (en) * 2020-06-18 2020-09-18 西安万像电子科技有限公司 Remote control method, device, storage medium and processor

Also Published As

Publication number Publication date
CN112732105A (en) 2021-04-30

Similar Documents

Publication Publication Date Title
CN108079578B (en) Code rate adjusting method and device based on cloud game and storage medium
US20210105517A1 (en) Method and system for adaptive data transmission
US11032590B2 (en) Methods, devices, and systems for providing panoramic video content to a mobile device from an edge server
US20170026713A1 (en) System and Method for Dynamic Adaptive Video Streaming Using Model Predictive Control
KR102049379B1 (en) Apparatus and method for adaptive camera control method based on predicted trajectory
CN107483401B (en) Multimedia data transmission method and equipment, storage medium and server thereof
CN115834556B (en) Data transmission method, system, device, storage medium and program product
JP2018110387A (en) Method and system for bandwidth measurement and adaptive data transmission based on buffer in real time live environment
CN109600670B (en) Big data-based car networking multimedia buffering method, storage medium and terminal
CN112203111A (en) Multimedia resource preloading method and device, electronic equipment and storage medium
US20150134846A1 (en) Method and apparatus for media segment request retry control
CN113169904A (en) Handling timestamp inaccuracy for streaming network protocols
EP3406307A1 (en) Information processing system, information processing apparatus, information processing program, and information processing method
CN112732105B (en) Mouse jitter control method and device
CN114040257A (en) Self-adaptive video stream transmission playing method, device, equipment and storage medium
CN110192181B (en) Streaming application environment with recovery of lost or delayed input events
CN114466177B (en) Quality evaluation method based on HTTP transmission video stream and electronic equipment
US10471347B2 (en) Information processing system, information processing apparatus, storage medium storing information processing program, and information processing method
EP3406312A1 (en) Information processing system, information processing apparatus, information processing program, and information processing method
CN115531865A (en) Cloud game running method, equipment, storage medium and device
CN114747225B (en) Method, system and medium for selecting a format of a streaming media content item
CN113727152A (en) Method, device and storage medium for adjusting code rate
CN108024121B (en) Voice barrage synchronization method and system
CN110933516B (en) Multimedia live broadcasting method, device and equipment
KR101932130B1 (en) Apparatus and method for improving quality of experience of remote display

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