CN117599414A - Control method, control device, storage medium and system for cloud game touch operation - Google Patents

Control method, control device, storage medium and system for cloud game touch operation Download PDF

Info

Publication number
CN117599414A
CN117599414A CN202311466065.0A CN202311466065A CN117599414A CN 117599414 A CN117599414 A CN 117599414A CN 202311466065 A CN202311466065 A CN 202311466065A CN 117599414 A CN117599414 A CN 117599414A
Authority
CN
China
Prior art keywords
touch
touch operation
data
current
cloud game
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311466065.0A
Other languages
Chinese (zh)
Inventor
孙贤武
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Weiling Times Technology Co Ltd
Original Assignee
Beijing Weiling Times 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 Beijing Weiling Times Technology Co Ltd filed Critical Beijing Weiling Times Technology Co Ltd
Priority to CN202311466065.0A priority Critical patent/CN117599414A/en
Publication of CN117599414A publication Critical patent/CN117599414A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/40Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
    • A63F13/42Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Position Input By Displaying (AREA)

Abstract

The embodiment of the invention provides a control method, a control device, a storage medium and a system for cloud game touch operation, and belongs to the technical field of cloud games. The control method for cloud game touch operation comprises the following steps: when the current touch operation representing the mouse movement event is detected, corresponding current touch data are acquired; when the current touch data meets preset requirements, generating corresponding touch mobile line data based on the current touch data; and sending the touch mobile line data to the cloud end to control the cloud game. According to the embodiment of the invention, the touch operation and the touch data thereof are inserted between the touch data of the current touch operation and the touch data of the last touch operation, so that the touch mobile line data is generated, the problem of inconsistent movement and the problem of motion sensing shake of a player are solved, and the user experience is improved.

Description

Control method, control device, storage medium and system for cloud game touch operation
Technical Field
The invention relates to the technical field of cloud games, in particular to a control method, a control device, a storage medium and a system for cloud game touch operation.
Background
Cloud gaming (Cloud gaming), which may also be referred to as game on demand, is an online gaming technology based on Cloud computing technology. Cloud gaming technology enables lightweight devices (thin clients) with relatively limited graphics processing and data computing capabilities to run high quality games. In a cloud game scene, the game is not run in a player game terminal, but is run in a cloud server, the cloud server renders the game scene into a video and audio stream, and the video and audio stream is transmitted to the player game terminal through a network. The player game terminal does not need to have strong graphic operation and data processing capability, and only needs to have basic streaming media playing capability and the capability of acquiring player input or touch operation and sending the player input or touch operation to the cloud server.
At present, due to screen touch sampling of a game terminal and customization differences of an operating system, when the screen is quickly slid, touch feedback data acquired from different game terminals are different, and the display is incoherent in rotation of a cloud game visual angle, so that a player has a sense of motion shake.
Disclosure of Invention
The embodiment of the invention aims to provide a control method for cloud game touch operation, which can solve the problem that rotation of a cloud game in a cloud game view angle is incoherent.
In order to achieve the above object, an embodiment of the present invention provides a control method for cloud game touch operation, which is characterized in that the control method for cloud game touch operation includes: when the current touch operation representing the mouse movement event is detected, corresponding current touch data are acquired; when the current touch data meets preset requirements, generating corresponding touch mobile line data based on the current touch data; and sending the touch mobile line data to the cloud end to control the cloud game.
Optionally, the current touch data includes an identifier of the current touch operation, an operation end time, an endpoint pixel coordinate, a moving speed, and an identifier of an associated last touch operation.
Optionally, when the current touch data meets the following conditions, determining that the current touch data meets the preset requirements: the associated identifier of the last touch operation indicates that the current touch operation is not the first touch operation; and a time interval between the operation ending time of the current touch operation and the operation ending time of the related last touch operation is larger than a preset time interval.
Optionally, the generating the corresponding touch mobile line data based on the current touch data includes: acquiring the endpoint pixel coordinates of the last touch operation according to the associated identifier of the last touch operation; determining the number of the touch operations inserted between the last touch operation and the current touch operation according to the pixel difference between the end point pixel coordinates of the current touch operation and the end point pixel coordinates of the last touch operation; selecting an algorithm for generating touch data of the inserted touch operation according to the moving speed of the current touch operation, and generating touch data of each inserted touch operation; and generating the touch mobile line data through the generated touch data of each inserted touch operation.
Optionally, the selecting an algorithm for generating the touch data of the insert touch operation according to the moving speed of the current touch operation includes: when the moving speed of the current touch operation is smaller than a preset speed, a uniform difference method is selected, and touch data of each inserted touch operation are generated; and when the moving speed of the current touch operation exceeds the preset speed, selecting a difference method based on a fibonacci sequence, and generating touch data of each inserted touch operation.
Optionally, the selecting the uniform difference method generates touch data of each inserted touch operation, including: according to the endpoint pixel coordinate Picont of the current touch operation e (x e ,y e ) Endpoint pixel coordinate Piont with the last touch operation s (x s ,y s ) Pixel difference (|x) between e -x s |,|y e -y s I) and the determined number of insert touch operations M, calculating the step size of the incremental pixelAnd using the final pixel coordinate Picont of the last touch operation s (x s ,y s ) Touch data as a first touch operation based on a step size of the incremental pixelGenerating each insert contactTouch data of control operation iWherein i is not less than 1.
Optionally, the selecting generates touch data of each inserted touch operation based on a fibonacci number sequence difference method, including: according to the determined number M of the inserted touch operations and the fibonacci number sequence, determining touch data Piont of each inserted touch operation i i Step size ratio P of the increment pixels of (a); according to the endpoint pixel coordinate Picont of the current touch operation e (x e ,y e ) Endpoint pixel coordinate Piont with the last touch operation s (x s ,y s ) Pixel difference (|x) between e -x s |,|y e -y s I) and the step size proportion P of the increment pixels, calculating touch data Piont of each inserted touch operation i i A step length L of the increment pixel of (2); and using the final pixel coordinate Picont of the last touch operation s (x s ,y s ) As the touch data of the first touch operation, generating touch data pin of each inserted touch operation i based on the step length L of the increment pixel i
The embodiment of the invention also provides a control device for cloud game touch operation, which comprises: the cloud game touch control system comprises a memory, a processor and a computer program which is stored in the memory and can run on the processor, wherein the processor executes the computer program to realize the control method for the cloud game touch control operation.
The embodiment of the invention also provides a machine-readable storage medium, wherein the machine-readable storage medium is stored with instructions which enable a machine to execute the control method for the cloud game touch operation.
The embodiment of the invention also provides a cloud game system, which comprises a device end and a cloud end, wherein the device end comprises the control device for cloud game touch operation.
According to the technical scheme, the touch operation and the touch data thereof are inserted between the touch data of the current touch operation and the touch data of the last touch operation, so that the touch mobile line data is generated, the problem of inconsistent movement and the problem of motion sensing shake of a player are solved, and the user experience is improved.
Additional features and advantages of embodiments of the invention will be set forth in the detailed description which follows.
Drawings
The accompanying drawings are included to provide a further understanding of embodiments of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain, without limitation, the embodiments of the invention. In the drawings:
FIG. 1 is a schematic diagram of an example application environment;
fig. 2 is a flow chart of a control method for cloud game touch operation according to an embodiment of the present invention;
FIG. 3 is a flow chart diagram of an example control method; and
fig. 4 is an internal structural diagram of an example device side.
Detailed Description
The following describes the detailed implementation of the embodiments of the present invention with reference to the drawings. It should be understood that the detailed description and specific examples, while indicating and illustrating the invention, are not intended to limit the invention.
The control method for cloud game touch operation provided by the embodiment of the invention can be applied to an application environment shown in fig. 1. The device side (or terminal) 102 communicates with the cloud (or server) 104 through a network. The device side 102 may be, but not limited to, a smart phone, a tablet computer, and a portable wearable device, and the cloud end 104 may be implemented by a stand-alone server or a server cluster formed by a plurality of servers.
In cloud games, a user rotates a mouse movement event by touching a screen of a device end 104 (for example, a game terminal) to further control rotation of a cloud game view angle, and due to customized differences of screen touch sampling of the game terminal and an operating system (for example, an Android system), touch feedback data acquired from different devices during rapid sliding are different, and the rotation of the cloud game view angle is shown to be incoherent, so that a player is provided with body feeling shake.
Fig. 2 is a flowchart of a control method for cloud game touch operation according to an embodiment of the present invention, please refer to fig. 2, and the control method for cloud game touch operation according to the embodiment of the present invention is applied to the device side 104 in fig. 1 for illustration, and may include the following steps:
step S110: and when the current touch operation representing the mouse movement event is detected, acquiring corresponding current touch data.
By way of illustration, a device side (e.g., an SDK of a gaming terminal) detects a touch operation (or touch event) indicative of a mouse movement event in real time, and when detecting a current touch operation (e.g., the SDK receives a touch sample message), acquires corresponding current touch data.
The preferred current touch data in the embodiment of the present invention may include an identifier of the current touch operation, an operation end time, an endpoint pixel coordinate, a moving speed, and an identifier of an associated last touch operation.
The movement speed is represented by the number of pixels sliding per second, and is obtained by, for example, a VelocityTracker of the Android system.
Step S120: and when the current touch data meets the preset requirement, generating corresponding touch mobile line data based on the current touch data.
According to the embodiment of the invention, the touch moving line is generated by inserting the touch operation between the (terminal pixel coordinate of the) current touch operation and the (terminal pixel coordinate of the) last touch operation, so that the problem of inconsistent movement is solved. Therefore, it is first necessary to determine whether or not (the end point pixel coordinates of) the current touch operation and (the end point pixel coordinates of) the last touch operation satisfy the condition of inserting (the touch data of) the touch operation.
Preferably, when the current touch data meets the following conditions, it is determined that the current touch data meets the preset requirements: 1) The associated identifier of the last touch operation indicates that the current touch operation is not the first touch operation; 2) The time interval between the operation ending time of the current touch operation and the operation ending time of the last touch operation is larger than the preset time interval.
By way of illustration, when the SDK receives the touch sampling message, it is determined whether the condition for inserting touch data is satisfied, as follows: 1) Non-first touch operation; 2) The time interval following one touch operation > a preset time interval. When the above conditions are satisfied, it is determined that the conditions for inserting the touch data (i.e., preset requirements) are satisfied. The time interval between two touch operations of the system feedback at the device side can be calculated according to the sampling rate of the screen and the operating system, and the time interval is generally 10-20ms. The preferred preset time interval according to the embodiment of the present invention may be set according to the above time interval, for example, 40ms.
Preferably, the generating the corresponding touch mobile line data based on the current touch data may include: acquiring the endpoint pixel coordinates of the last touch operation according to the associated identifier of the last touch operation; determining the number of the touch operations inserted between the last touch operation and the current touch operation according to the pixel difference between the end point pixel coordinates of the current touch operation and the end point pixel coordinates of the last touch operation; selecting an algorithm for generating touch data of the inserted touch operation according to the moving speed of the current touch operation, and generating touch data of each inserted touch operation; and generating the touch mobile line data through the generated touch data of each inserted touch operation.
By way of illustration, the generated touch data for each insert touch operation under the condition that the insert touch data is satisfied includes: the endpoint pixel coordinate of the current touch operation is, for example, piont e (x e ,y e ) The final pixel coordinate of the last touch operation is, for example, piont s (x s ,y s ) The pixel difference (|x) between two points is calculated e -x s |,|y e -y s And I), determining the number of the touch operations inserted between the last touch operation and the current touch operation according to the pixel difference. For example, for pixel difference (|x) e -x s |,|y e -y s I) the abscissa is squared and then squared (i.e., the distance between the end of the current touch operation and the end of the last touch operation is calculated), and divided by 10, the number of inserted touch operations can be determined. Preferably, a threshold value for determining the number of inserted touch operations through testing, and exceeding the threshold value can generate visible picture delay, and the threshold value can be configured according to the equipment side. The preferred threshold value of the number of the inserted touch operations in the embodiment of the present invention is 6, that is, when the number of the inserted touch operations obtained through calculation exceeds 6, the number of the inserted touch operations is determined to be 6. Then, selecting an algorithm for generating touch data of the inserted touch operation according to the moving speed of the current touch operation, and generating touch data of each inserted touch operation; and sequentially arranging the generated touch data inserted into the touch operation to generate touch mobile line data.
Preferably, the selecting an algorithm for generating the touch data of the insert touch operation according to the moving speed of the current touch operation may include: 1) When the moving speed of the current touch operation is smaller than a preset speed, a uniform difference method is selected, and touch data of each inserted touch operation are generated; 2) And when the moving speed of the current touch operation exceeds the preset speed, selecting a difference method based on a fibonacci sequence, and generating touch data of each inserted touch operation.
The preset speed is preferably 2400px/s, which means 2400 pixels sliding per second, and the preset speed can be configured according to different equipment ends.
Preferably, 1) the selecting a uniform difference method, generating touch data of each inserted touch operation includes: according to the endpoint pixel coordinate Picont of the current touch operation e (x e ,y e ) Endpoint pixel coordinate Piont with the last touch operation s (x s ,y s ) Pixel difference (|x) between e -x s |,|y e -y s I) and the determined number of insert touch operations M, calculating the step size of the incremental pixelAnd using the final pixel coordinate Picont of the last touch operation s (x s ,y s ) Touch data as a first touch operation based on a step size of the incremental pixelGenerating touch data of each inserted touch operation iWherein i is not less than 1.
By way of example, if the movement speed of the current touch operation is less than 2400px/s, the (touch data of the) inserted touch operation is uniformly distributed between the two touch operations according to the number M of inserted touch operations calculated as above. For example, the endpoint pixel coordinate pint of the last touch operation s (100 ) sliding to the endpoint pixel coordinate Picont of the current touch operation e (200 ) the number of inserted touch operations m=14 calculated as above exceeds the threshold value 6 of the number of inserted touch operations, and therefore, the number of inserted touch operations M is determined as m=6. Thus, increment pixel based step size Obtaining (the touch data of) each inserted touch operation, wherein the increment of the increment on the abscissa is (16.6 ), and generating the touch data Piont of each inserted touch operation i i The generated touch mobile line data are as follows: piont 0 (100,100)-Piont 1 (116.6,116.6)-Piont 2 (133.2,133.2)-Piont 3 (149.9,149.9)-Piont 4 (166.4,166.4)-Piont 5 (183,183)-Piont 6 (200,200)。
Preferably, 2) the selectingSelecting a difference method based on a fibonacci sequence to generate touch data of each inserted touch operation, wherein the method comprises the following steps: according to the determined number M of the inserted touch operations and the fibonacci number sequence, determining touch data Piont of each inserted touch operation i i Step size ratio P of the increment pixels of (a); according to the endpoint pixel coordinate Picont of the current touch operation e (x e ,y e ) Endpoint pixel coordinate Piont with the last touch operation s (x s ,y s ) Pixel difference (|x) between e -x s |,|y e -y s I) and the step size proportion P of the increment pixels, calculating touch data Piont of each inserted touch operation i i A step length L of the increment pixel of (2); and using the final pixel coordinate Picont of the last touch operation s (x s ,y s ) As the touch data of the first touch operation, generating touch data pin of each inserted touch operation i based on the step length L of the increment pixel i
With the above example, if the movement speed of the current touch operation exceeds 2400px/s, the touch data pint of each inserted touch operation i is determined according to the number m=6 of inserted touch operations and fibonacci number columns (1, 2, 3, 5, 8, 13) calculated as above i Step size ratio P of incremental pixels of (2): the first touch data Piont inserted into the touch operation 1 The step size ratio P of the increment pixels of (2) is 1, and the second one is inserted with touch data Piont of touch operation 2 Step size ratio P of the increment pixels of (2), and so on, the sixth insertion touch data Piont of the touch operation 6 The step size ratio P of the increment pixels of (a) is 13. Next, obtaining 1+2+3+5+8+13=32 pixel increments according to the fibonacci sequence, and calculating touch data pint of each inserted touch operation i according to the pixel increment (3.125) corresponding to each pixel increment i Step length L of the increment pixel of (2): the first touch data Piont inserted into the touch operation 1 The step length L of the increment pixel of (5) is (3.125), and the second one is inserted with the touch data Piont of the touch operation 2 Step L of the increment pixel of (6.25), and so on, the sixth insert touch operationControl data pin 6 Step length L of increment pixel of (40.625 ) is set to be equal to or smaller than the step length L of increment pixel of each of the inserted touch operations i i Based on the step length L of the increment pixel, the generated touch mobile line data are as follows: piont 0 (100,100)-Piont 1 (103.125,103.125)-Piont 2 (109.375,109.375)-Piont 3 (118.75,118.75)-Piont 4 (134.375,134.375)-Piont 5 (159.375,159.375)-Piont 6 (200,200)。
Step S130: and sending the touch mobile line data to the cloud to control the cloud game.
And (3) sending the touch mobile line data generated in the step (S130) to the cloud to control the cloud game.
According to the embodiment of the invention, the touch operation and the touch data thereof are inserted between the touch data of the current touch operation and the touch data of the last touch operation, so that the touch mobile line data is generated, the problem of inconsistent movement and the problem of motion sensing shake of a player are solved, and the user experience is improved.
Referring to fig. 3, the embodiment of the invention further provides a development flow of a control method for cloud game touch operation: 1) When the SDK obtains the touch sampling message through step S120, determining whether a preset condition for inserting touch data is satisfied, if not, directly transmitting the obtained current touch data to the cloud, wherein the determination process refers to step S120, and details are not repeated here; 2) If the preset condition for inserting the touch data is met, determining the number M of the touch operations inserted between the last touch operation and the current touch operation, judging whether M is greater than 1, if not, directly sending the acquired current touch data to the cloud end, and determining the content of M, wherein reference is made to step S120, and details are not repeated here; 3) If M is greater than 1, according to step S120, touch data of each inserted touch operation is generated, and the generated touch mobile line data is sent to the cloud.
The embodiment of the invention also provides a control device for cloud game touch operation, which comprises: the cloud game touch control system comprises a memory, a processor and a computer program which is stored in the memory and can run on the processor, wherein the processor executes the computer program to realize the control method for the cloud game touch control operation.
The embodiment of the invention also provides a machine-readable storage medium, wherein the machine-readable storage medium is stored with instructions which enable a machine to execute the control method for the cloud game touch operation.
The embodiment of the invention also provides a cloud game system, which comprises a device end and a cloud end, wherein the device end comprises the control device for cloud game touch operation.
Taking fig. 4 as an example, the device side may be a terminal, where the device side includes a processor a01, a network interface a02, a display screen a04, an input device a05, and a memory (not shown in the drawing) that are connected through a system bus. Wherein the processor a01 of the device side is configured to provide computing and control capabilities. The memory of the device side includes an internal memory a03 and a nonvolatile storage medium a06. The nonvolatile storage medium a06 stores an operating system B01 and a computer program B02. The internal memory a03 provides an environment for the operation of the operating system B01 and the computer program B02 in the nonvolatile storage medium a06. The network interface a02 of the device side is used for communicating with an external terminal through a network connection. Which when executed by the processor a01, implements the transcoding method described above. The display screen A04 of the equipment end can be a liquid crystal display screen or an electronic ink display screen, the input device A05 of the equipment end can be a touch layer covered on the display screen, can also be a key, a track ball or a touch pad arranged on the shell of the equipment end, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. 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 one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, etc., such as Read Only Memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, 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 process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises an element.
The foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and changes may be made to the present application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. which are within the spirit and principles of the present application are intended to be included within the scope of the claims of the present application.

Claims (10)

1. The control method for the cloud game touch operation is characterized by comprising the following steps of:
when the current touch operation representing the mouse movement event is detected, corresponding current touch data are acquired;
when the current touch data meets preset requirements, generating corresponding touch mobile line data based on the current touch data; and
and sending the touch mobile line data to the cloud to control the cloud game.
2. The control method for a cloud game touch operation according to claim 1, wherein the current touch data includes an identification of the current touch operation, an operation end time, an end point pixel coordinate, a moving speed, and an identification of an associated last touch operation.
3. The control method for cloud game touch operations according to claim 2, wherein when the current touch data satisfies the following conditions, it is determined that the current touch data meets a preset requirement:
the associated identifier of the last touch operation indicates that the current touch operation is not the first touch operation; and
the time interval between the operation ending time of the current touch operation and the operation ending time of the last touch operation is larger than the preset time interval.
4. The control method for a cloud game touch operation according to claim 2, wherein the generating corresponding touch movement line data based on the current touch data includes:
acquiring the endpoint pixel coordinates of the last touch operation according to the associated identifier of the last touch operation;
determining the number of the touch operations inserted between the last touch operation and the current touch operation according to the pixel difference between the end point pixel coordinates of the current touch operation and the end point pixel coordinates of the last touch operation;
selecting an algorithm for generating touch data of the inserted touch operation according to the moving speed of the current touch operation, and generating touch data of each inserted touch operation; and
and generating the touch mobile line data through each generated touch data inserted into the touch operation.
5. The control method for a cloud game touch operation according to claim 4, wherein the selecting an algorithm for generating touch data of the insert touch operation according to a moving speed of the current touch operation comprises:
when the moving speed of the current touch operation is smaller than a preset speed, a uniform difference method is selected, and touch data of each inserted touch operation are generated; and
and when the moving speed of the current touch operation exceeds the preset speed, selecting a difference method based on a fibonacci sequence, and generating touch data of each inserted touch operation.
6. The control method for cloud game touch operations according to claim 5, wherein the selecting a uniform difference method to generate touch data for each inserted touch operation comprises:
according to the endpoint pixel coordinate Picont of the current touch operation e (x e ,y e ) Endpoint pixel coordinate Piont with the last touch operation s (x s ,y s ) Pixel difference (|x) between e -x s |,|y e -y s I) and the determined number of insert touch operations M, calculating the step size of the incremental pixelAnd
Endpoint pixel coordinate Piont with the last touch operation s (x s ,y s ) Touch data as a first touch operation based on a step size of the incremental pixelGenerating touch data of each inserted touch operation iWherein i is not less than 1.
7. The control method for cloud game touch operations of claim 5, wherein the selecting generates touch data for each inserted touch operation based on a fibonacci sequence difference method, comprising:
according to the determined number M of the inserted touch operations and the fibonacci number sequence, determining touch data Piont of each inserted touch operation i i Step size ratio P of the increment pixels of (a);
according to the endpoint pixel coordinate Picont of the current touch operation e (x e ,y e ) Endpoint pixel coordinate Piont with the last touch operation s (x s ,y s ) Pixel difference (|x) between e -x s |,|y e -y s I) and the step size proportion P of the increment pixels, calculating touch data Piont of each inserted touch operation i i A step length L of the increment pixel of (2); and
endpoint pixel coordinate Piont with the last touch operation s (x s ,y s ) As the touch data of the first touch operation, generating touch data pin of each inserted touch operation i based on the step length L of the increment pixel i
8. A control device for cloud game touch operations, the control device comprising: a memory, a processor and a computer program stored on the memory and executable on the processor, the processor executing the computer program to implement the control method for cloud game touch operations according to any one of claims 1-7.
9. A machine-readable storage medium having stored thereon instructions that cause a machine to perform the control method for cloud game touch operations of any of claims 1-7.
10. A cloud gaming system, comprising a device side and a cloud end, the device side comprising the control apparatus for cloud game touch operations of claim 9.
CN202311466065.0A 2023-11-06 2023-11-06 Control method, control device, storage medium and system for cloud game touch operation Pending CN117599414A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311466065.0A CN117599414A (en) 2023-11-06 2023-11-06 Control method, control device, storage medium and system for cloud game touch operation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311466065.0A CN117599414A (en) 2023-11-06 2023-11-06 Control method, control device, storage medium and system for cloud game touch operation

Publications (1)

Publication Number Publication Date
CN117599414A true CN117599414A (en) 2024-02-27

Family

ID=89952445

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311466065.0A Pending CN117599414A (en) 2023-11-06 2023-11-06 Control method, control device, storage medium and system for cloud game touch operation

Country Status (1)

Country Link
CN (1) CN117599414A (en)

Similar Documents

Publication Publication Date Title
EP3203748B1 (en) Cloud streaming service system, cloud streaming service method using optimal gpu, and apparatus for same
JP7273163B2 (en) Image display method and apparatus
CN111882634B (en) Image rendering method, device, equipment and storage medium
CN114531553B (en) Method, device, electronic equipment and storage medium for generating special effect video
CN110856005B (en) Live stream display method and device, electronic equipment and readable storage medium
CN103425401A (en) Method for adjusting file playing angle and electronic terminal
CN115209215B (en) Video processing method, device and equipment
CN111665940B (en) Cursor control method and device and related equipment
US9948691B2 (en) Reducing input processing latency for remotely executed applications
CN113839829A (en) Cloud game delay testing method, device and system and electronic equipment
CN110188782B (en) Image similarity determining method and device, electronic equipment and readable storage medium
CN111478916B (en) Data transmission method, device and storage medium based on video stream
WO2023138468A1 (en) Virtual object generation method and apparatus, device, and storage medium
CN117599414A (en) Control method, control device, storage medium and system for cloud game touch operation
US10679321B2 (en) Efficient release of target memory
CN116966546A (en) Image processing method, apparatus, medium, device, and program product
US20220279234A1 (en) Live stream display method and apparatus, electronic device, and readable storage medium
CN111885417B (en) VR video playing method, device, equipment and storage medium
CN111367592B (en) Information processing method and device
CN110189388B (en) Animation detection method, readable storage medium, and computer device
CN112181577A (en) Display control system, method and device
CN110047520B (en) Audio playing control method and device, electronic equipment and computer readable storage medium
CN113114955B (en) Video generation method and device and electronic equipment
CN118567468A (en) Interaction method, device, equipment and storage medium
CN112019919B (en) Video sticker adding method and device and electronic equipment

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