Cursor control method and device in cloud game, electronic equipment and storage medium

CN116999833BActive Publication Date: 2026-09-11TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202211336397.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-28
Publication Date
2026-09-11
Estimated Expiration
2042-10-28

AI Technical Summary

Technical Problem

[0003]在相关技术中,通常是通过虚拟摇杆和光标之间单一的映射关系,控制光标的移动,这样会造成虚拟摇杆操作光标往往移动时不够灵敏,造成光标的移动精度不足

Benefits of technology

云服务器通过对所获取的光标控制消息进行解析,得到虚拟摇杆对应的控制参数,通过选取与控制参数相适配的目标位置确定方式,确定光标移动后在云游戏画面中的目标位置,并渲染光标处于目标位置的目标云游戏画面,并在第二终端中显示目标云游戏画面。如此,通过从至少两种位置确定方式中选取与控制参数相适配的目标位置确定方式,基于目标位置确定方式确定光标在云游戏画面中的目标位置,从而针对控制参数的不同适配不同的目标位置确定方式,使得所确定的目标位置更加准确,从而有效提高了虚拟摇杆操控光标移动的灵敏程度,有效提高了光标的移动精度。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116999833B_ABST
    Figure CN116999833B_ABST
Patent Text Reader

Abstract

The application provides a cursor control method and device in cloud game, electronic equipment and storage medium; the method comprises the following steps: obtaining a cursor control message sent by a first terminal; wherein, in the first terminal, a virtual rocker for controlling a cursor in cloud game is displayed, and a cloud game picture is displayed on a second terminal; analyzing the cursor control message to obtain control parameters corresponding to the virtual rocker; selecting a target position determination mode which is matched with the control parameters from at least two position determination modes, and determining a target position of the cursor in the cloud game picture after moving based on the target position determination mode; rendering a target cloud game picture in which the cursor is in the target position, and sending the target cloud game picture, so that the second terminal displays the target cloud game picture. Through the application, the sensitivity of the virtual rocker in controlling the movement of the cursor can be effectively improved, and the movement precision of the cursor is effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to a cursor control method, device, electronic device and storage medium in cloud gaming. Background Technology

[0002] Game consoles can be configured with games and applications, allowing users to play games locally or in the cloud. The cursor displayed in the game is a way to respond to user commands; users can control the device to move the cursor to the desired location by manipulating a virtual joystick or other cursor control methods to interact with the game content.

[0003] In related technologies, cursor movement is usually controlled by a single mapping relationship between a virtual joystick and the cursor. This often results in the virtual joystick not being sensitive enough when moving the cursor, leading to insufficient cursor movement accuracy. Summary of the Invention

[0004] This application provides a cursor control method, device, electronic device, computer-readable storage medium, and computer program product for cloud gaming, which can effectively improve the sensitivity of virtual joystick control of cursor movement and effectively improve the cursor movement accuracy.

[0005] The technical solution of this application embodiment is implemented as follows: This application provides a cursor control method in cloud gaming, including: Obtain a cursor control message sent by the first terminal, wherein the cursor control message is used to indicate the position of the cursor in the mobile cloud gaming screen; The first terminal displays a virtual joystick for controlling the cursor in the cloud game, the cloud game screen is displayed on the second terminal, and the cursor control message is sent by the first terminal in response to the control operation on the virtual joystick. Parse the cursor control message to obtain the control parameters corresponding to the virtual joystick; From at least two position determination methods, select a target position determination method that is compatible with the control parameters, and based on the target position determination method, determine the target position of the cursor in the cloud gaming screen after the cursor moves; The target cloud game screen is rendered when the cursor is at the target position, and the target cloud game screen is sent so that the second terminal displays the target cloud game screen.

[0006] This application provides a cursor control device for cloud gaming, including: The acquisition module is used to acquire a cursor control message sent by a first terminal, the cursor control message being used to indicate the position of the cursor in the cloud game screen; wherein, the first terminal displays a virtual joystick for controlling the cursor in the cloud game, the cloud game screen is displayed on a second terminal, and the cursor control message is sent by the first terminal in response to a control operation on the virtual joystick; The parsing module is used to parse the cursor control message and obtain the control parameters corresponding to the virtual joystick; The selection module is used to select a target position determination method that is compatible with the control parameters from at least two position determination methods, and to determine the target position in the cloud gaming screen after the cursor is moved based on the target position determination method; The sending module is used to render the target cloud game screen where the cursor is located at the target position, and send the target cloud game screen so that the second terminal displays the target cloud game screen.

[0007] In some embodiments, the control parameters include displacement parameters, which characterize the displacement of the virtual joystick in the first terminal; the selection module is further configured to obtain displacement intervals corresponding to each of the position determination methods, the displacement intervals characterizing the displacement range of the virtual joystick; compare the displacements characterized by the displacement parameters with each of the displacement intervals to obtain the target displacement intervals corresponding to the displacement parameters; and determine the position determination method corresponding to the target displacement intervals as the target position determination method.

[0008] In some embodiments, the displacement intervals corresponding to each of the position determination methods include at least a first displacement interval and a second displacement interval, wherein the maximum displacement value of the first displacement interval is less than the minimum displacement value of the second displacement interval; the selection module is further configured to, when the target displacement interval is the first displacement interval, determine the first fixed value determination method corresponding to the first displacement interval as the target position determination method; and when the target displacement interval is the second displacement interval, determine the second fixed value determination method corresponding to the second displacement interval as the target position determination method; wherein the first fixed value determination method is used to indicate the first displacement change value of the cursor, the second fixed value determination method is used to indicate the second displacement change value of the cursor, and the first displacement change value is less than the second displacement change value.

[0009] In some embodiments, the control parameters further include direction parameters, which are used to indicate the movement direction of the cursor; the selection module is further used to obtain the initial position of the cursor in the game screen; when the target position determination method is the first fixed value determination method, the target position of the cursor in the cloud game screen after movement is determined based on the direction parameters, the initial position and the first displacement change value; when the target position determination method is the second fixed value determination method, the target position of the cursor in the cloud game screen after movement is determined based on the direction parameters, the initial position and the second displacement change value.

[0010] In some embodiments, the displacement interval corresponding to each of the position determination methods further includes a third displacement interval, which is located between the first displacement interval and the second displacement interval; the selection module is further configured to determine the position mapping method corresponding to the third displacement interval as the target position determination method when the target displacement interval is the third displacement interval; wherein, the position mapping method is used to indicate the mapping relationship between the third displacement change value of the cursor and the following parameters: the maximum displacement value, the minimum displacement value, the displacement, the first displacement change value, and the second displacement change value of the third displacement interval.

[0011] In some embodiments, the control parameters further include direction parameters, which are used to indicate the movement direction of the cursor; the selection module is further configured to obtain the initial position of the cursor in the game screen, a first difference between the maximum and minimum displacement values ​​of the third displacement interval, and a second difference between the first displacement change value and the second displacement change value; obtain the product of the first difference and the second difference, and determine the ratio of the displacement to the product, using the ratio as the third displacement change value; and determine the target position of the cursor in the cloud gaming screen after movement based on the direction parameters, the initial position, and the third displacement change value.

[0012] In some embodiments, the first displacement interval includes at least two first sub-intervals, each first sub-interval corresponding to a first fixed value determination method, and different first fixed value determination methods indicate different first displacement changes; the second displacement interval includes at least two second sub-intervals, each second sub-interval corresponding to a second fixed value determination method, and different second fixed value determination methods indicate different second displacement changes; the selection module is further configured to, when the target displacement interval is a first sub-interval in the first displacement interval, determine the first fixed value determination method corresponding to the first sub-interval as the target position determination method; and when the target displacement interval is a second sub-interval in the second displacement interval, determine the second fixed value determination method corresponding to the second sub-interval as the target position determination method.

[0013] In some embodiments, the cursor control device in the cloud game described above further includes: an interval setting module, configured to receive a setting instruction for each of the position determination methods, the setting instruction being configured to instruct the setting of a displacement interval corresponding to each of the position determination methods; parse the setting instruction to obtain the displacement interval corresponding to each of the position determination methods; and set the displacement interval corresponding to each of the position determination methods.

[0014] In some embodiments, the acquisition module is further configured to acquire the cursor control message queue of the cloud game, the cursor control message queue being used to store the cursor control messages; and to acquire the cursor control messages sent by the first terminal from the cursor control message queue.

[0015] In some embodiments, the cursor control device in the cloud game further includes: a message encapsulation module, configured to encapsulate a cursor control message based on the target position to obtain a target cursor control message corresponding to the cursor control message; and store the target cursor control message in the cursor control message queue. The sending module is further configured to retrieve the target cursor control message from the cursor control message queue through the game process of the cloud game, and render a target cloud game screen where the cursor is at the target position based on the target position and the control parameters in the target cursor control message.

[0016] In some embodiments, the message encapsulation module is further configured to, when there are multiple cursor control messages, obtain the order of the multiple cursor control messages in the cursor control message queue; and, according to the order, store the target cursor control message corresponding to each cursor control message into the cursor control message queue.

[0017] In some embodiments, the sending module is further configured to send the target cloud game screen to the first terminal, so that the first terminal sends the target cloud game screen to the second terminal through a communication connection with the second terminal; or, send the target cloud game screen to the second terminal.

[0018] This application provides an electronic device, including: Memory is used to store executable instructions or computer programs. The processor, when executing computer-executable instructions or computer programs stored in the memory, implements the cursor control method in cloud gaming provided in the embodiments of this application.

[0019] This application provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the cursor control method in cloud gaming provided in this application.

[0020] This application provides a computer program product, which includes a computer program or computer-executable instructions stored in a computer-readable storage medium. The processor of an electronic device reads the computer-executable instructions from the computer-readable storage medium and executes the computer-executable instructions, causing the electronic device to perform the cursor control method in cloud gaming described above in this application embodiment.

[0021] The embodiments of this application have the following beneficial effects: The cloud server parses the acquired cursor control messages to obtain the control parameters corresponding to the virtual joystick. By selecting a target position determination method adapted to the control parameters, it determines the target position of the cursor in the cloud game screen after movement, renders the target cloud game screen at the cursor's target position, and displays the target cloud game screen on the second terminal. Thus, by selecting a target position determination method adapted to the control parameters from at least two methods, and determining the cursor's target position in the cloud game screen based on this method, different target position determination methods are adapted to different control parameters. This makes the determined target position more accurate, effectively improving the sensitivity and precision of the virtual joystick's cursor movement. Attached Figure Description

[0022] Figure 1 This is a schematic diagram illustrating the principle of controlling the cursor using a virtual joystick in related technologies; Figure 2 This is a schematic diagram of the architecture of the cursor control system in cloud gaming provided in an embodiment of this application; Figure 3This is a schematic diagram of the structure of an electronic device for cursor control in cloud gaming provided in an embodiment of this application; Figure 4 This is a flowchart illustrating the cursor control method in cloud gaming provided in an embodiment of this application; Figure 5 This is a schematic diagram of the interface of the first terminal provided in an embodiment of this application; Figure 6 This is a schematic diagram of the interface of the second terminal provided in an embodiment of this application; Figures 7 to 10 This is a flowchart illustrating the cursor control method in cloud gaming provided in an embodiment of this application; Figure 11 This is a schematic diagram of the interface of the target cloud gaming screen provided in the embodiments of this application; Figures 12 to 13 This is a flowchart illustrating the cursor control method in cloud gaming provided in an embodiment of this application; Figure 14 This is a schematic diagram of the interaction flow of the cursor control method in cloud gaming provided in an embodiment of this application; Figure 15 This is a schematic diagram of the interface of the first terminal provided in an embodiment of this application; Figure 16 This is a schematic diagram of the interface of the second terminal provided in an embodiment of this application; Figure 17 This is a flowchart illustrating the cursor control method in cloud gaming provided in an embodiment of this application; Figure 18 This is a schematic diagram of the interaction flow of the cursor control method in cloud gaming provided in the embodiments of this application. Detailed Implementation

[0023] To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. The described embodiments should not be regarded as limitations on this application. All other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0024] In the following description, references are made to “some embodiments,” which describe a subset of all possible embodiments. However, it is understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0025] In the following description, the terms "first, second, third" are used merely to distinguish similar objects and do not represent a specific ordering of objects. It is understood that "first, second, third" may be interchanged in a specific order or sequence where permitted, so that the embodiments of this application described herein can be implemented in an order other than that illustrated or described herein.

[0026] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.

[0027] Before providing a further detailed description of the embodiments of this application, the nouns and terms involved in the embodiments of this application will be explained, and the nouns and terms involved in the embodiments of this application shall be interpreted as follows.

[0028] 1) Cloud gaming: This is a gaming method based on cloud computing. In cloud gaming, all games run on the server side, and the rendered game screen is compressed and transmitted to the user over the network. On the client side, the user's gaming device does not need any high-end processors or graphics cards; only basic video decompression capabilities are required.

[0029] 2) Virtual Scene: This refers to the scene displayed (or provided) by the game program when it runs on a terminal device. The scene can be a simulation of the real world, a semi-simulated / semi-fictional environment, or a purely fictional virtual environment. A virtual scene can be any of a two-dimensional, 2.5-dimensional, or three-dimensional virtual scene; this application does not limit the dimension of the virtual scene. For example, a virtual scene may include the sky, land, ocean, etc., and the land may include environmental elements such as deserts and cities. Users can control virtual objects to move within this virtual scene.

[0030] 3) Response: used to indicate the conditions or states on which the operation is performed. When the conditions or states on which the operation is performed are met, one or more operations may be performed in real time or with a set delay. Unless otherwise specified, there is no restriction on the order in which the multiple operations are performed.

[0031] 4) Game Engine: This refers to the core components of pre-written, editable computer game systems or interactive real-time graphics applications. These systems provide game designers with various tools needed to write games, aiming to allow them to easily and quickly create game programs without starting from scratch. Most support multiple operating platforms, such as Linux, Mac OS X, and Microsoft Windows. A game engine includes the following systems: rendering engine (i.e., "renderer," including 2D and 3D graphics engines), physics engine, collision detection system, sound effects, scripting engine, computer animation, artificial intelligence, network engine, and scene management.

[0032] 5) Virtual joystick: refers to a virtual joystick on the screen used in full-touchscreen mobile phones, which can be used to directly control the virtual joystick on the touch screen to play games.

[0033] 6) Cursor: Also known as a cursor, cursors include visible cursors and implicit cursors. When you enter text in a text box or some program, there is always a cursor to indicate the position where the text will be entered. Most cursors are small vertical lines that blink regularly, while some cursors are short horizontal lines that blink regularly as well.

[0034] During the implementation of the embodiments of this application, the applicant discovered the following problems with the related technology: See Figure 1 , Figure 1 This is a schematic diagram illustrating the principle of controlling a cursor using a virtual joystick in related technologies. In these technologies, when using a mobile terminal or smartphone to control a PC game via cloud gaming, the joystick controls the cursor. Moving the virtual joystick left on the mobile terminal moves the cursor left on the PC, and vice versa. However, these technologies typically use a fixed mapping relationship between the virtual joystick and the cursor for movement. This often results in insufficient sensitivity and precision in cursor movement when using the virtual joystick.

[0035] This application provides a cursor control method, device, electronic device, computer-readable storage medium, and computer program product for cloud gaming, which can effectively improve the sensitivity of virtual joystick control of cursor movement and effectively improve the cursor movement accuracy. The following describes an exemplary application of the cursor control system for cloud gaming provided by this application.

[0036] See Figure 2 , Figure 2This is a schematic diagram of the architecture of the cursor control system 100 in cloud gaming provided in this application embodiment. The terminal (exemplarily shown as the first terminal 400 and the second terminal 500) is connected to the server 200 through the network 300. The network 300 can be a wide area network or a local area network, or a combination of the two.

[0037] The first terminal 400 is used by a user to access the client 410, displaying a virtual joystick on a graphical interface 410-1 (graphical interface 410-1 is shown as an example). The first terminal 400 and the server 200 are interconnected via a wired or wireless network.

[0038] In some embodiments, server 200 can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms. The first terminal 400 can be a smartphone, tablet, laptop, desktop computer, smart speaker, smart TV, smartwatch, in-vehicle terminal, etc., but is not limited to these. The electronic device provided in this application embodiment can be implemented as a terminal or a server. The terminal and server can be directly or indirectly connected via wired or wireless communication, which is not limited in this application embodiment.

[0039] In some embodiments, server 200 receives cursor control messages sent by first terminal 400, parses the cursor control messages to obtain control parameters corresponding to the virtual joystick, selects a target position determination method that matches the control parameters from at least two position determination methods, determines the target position of the cursor in the cloud gaming screen based on the target position determination method, and sends the target cloud gaming screen to first terminal 400. First terminal 400 forwards the target cloud gaming screen to second terminal 500 so that second terminal 500 displays the target cloud gaming screen.

[0040] In some embodiments, server 200 receives cursor control messages sent by first terminal 400, parses the cursor control messages to obtain control parameters corresponding to the virtual joystick, selects a target position determination method that matches the control parameters from at least two position determination methods, determines the target position of the cursor in the cloud gaming screen based on the target position determination method, and sends the target cloud gaming screen to second terminal 500 so that second terminal 500 displays the target cloud gaming screen.

[0041] In other embodiments, the embodiments of this application can be implemented with the aid of cloud technology, which refers to a hosting technology that unifies a series of resources such as hardware, software, and networks within a wide area network or local area network to realize the computation, storage, processing, and sharing of data.

[0042] Cloud technology is a general term encompassing network technology, information technology, integration technology, management platform technology, and application technology based on the cloud computing business model. It can form resource pools, allowing for on-demand use with flexibility and convenience. Cloud computing technology will become a crucial support. The backend services of cloud computing systems require substantial computing and storage resources.

[0043] See Figure 3 , Figure 3 This is a schematic diagram of the structure of an electronic device 600 for cursor control in cloud gaming provided in an embodiment of this application, wherein, Figure 3 The electronic device 600 shown can be Figure 2 Server 200 or terminal 400 in the middle, Figure 3 The illustrated electronic device 600 includes at least one processor 410, a memory 450, and at least one network interface 420. The various components in the electronic device 600 are coupled together via a bus system 440. It is understood that the bus system 440 is used to implement communication between these components. In addition to a data bus, the bus system 440 also includes a power bus, a control bus, and a status signal bus. However, for clarity, ... Figure 3 The general labeled all buses as Bus System 440.

[0044] Processor 410 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor can be a microprocessor or any conventional processor, etc.

[0045] The memory 450 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state storage, hard disk drives, optical disk drives, etc. The memory 450 may optionally include one or more storage devices physically located away from the processor 410.

[0046] The memory 450 may include volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), and the volatile memory may be random access memory (RAM). The memory 450 described in this application embodiment is intended to include any suitable type of memory.

[0047] In some embodiments, memory 450 is capable of storing data to support various operations, examples of which include programs, modules, and data structures or subsets or supersets thereof, as illustrated below.

[0048] Operating system 451 includes system programs for handling various basic system services and performing hardware-related tasks, such as the framework layer, core library layer, driver layer, etc., for implementing various basic business functions and handling hardware-based tasks; The network communication module 452 is used to reach other electronic devices via one or more (wired or wireless) network interfaces 420, such as Bluetooth, WiFi, and Universal Serial Bus.

[0049] In some embodiments, the cursor control device in cloud gaming provided in this application can be implemented in software. Figure 3 A cursor control device 455 for a cloud game, stored in memory 450, is shown. This device can be software in the form of programs or plugins, and includes the following software modules: acquisition module 4551, parsing module 4552, selection module 4553, and sending module 4554. These modules are logically connected and can therefore be arbitrarily combined or further separated according to their implemented functions. The functions of each module will be described below.

[0050] In other embodiments, the cursor control device in the cloud game provided in this application can be implemented in hardware. As an example, the cursor control device in the cloud game provided in this application can be a processor in the form of a hardware decoding processor, which is programmed to execute the cursor control method in the cloud game provided in this application. For example, the processor in the form of a hardware decoding processor can be one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), or other electronic components.

[0051] In some embodiments, the terminal or server can implement the cursor control method in cloud gaming provided in this application by running a computer program or computer-executable instructions. For example, the computer program can be a native program in the operating system (e.g., a dedicated cursor control program) or a software module, such as a cursor control module that can be embedded in any program (e.g., an instant messaging client, a photo album program, an electronic map client, a navigation client); or it can be a native application (APP), i.e., a program that needs to be installed in the operating system to run. In summary, the above-mentioned computer program can be any form of application, module, or plugin.

[0052] The cursor control method in cloud games provided in this application will be described in conjunction with exemplary applications and implementations of the server or terminal provided in the embodiments of this application.

[0053] See Figure 4 , Figure 4 This is a flowchart illustrating the cursor control method in cloud gaming provided in this application embodiment, which will be combined with... Figure 4 Steps 101 to 105 are shown below for explanation. The following explanation will take the implementation of steps 101 to 105 on a cloud server as an example.

[0054] In step 101, a cursor control message sent by the first terminal is obtained. The cursor control message is used to indicate the position of the cursor in the mobile cloud gaming screen.

[0055] In some embodiments, a first terminal is used to display a virtual joystick corresponding to the cursor in the cloud game, the cloud game screen is displayed on a second terminal, and the cursor control message is sent by the first terminal in response to a control operation on the virtual joystick.

[0056] As an example, see Figure 5 , Figure 5 This is a schematic diagram of the interface of the first terminal provided in this application embodiment. The interface of the first terminal displays the virtual joystick 51 corresponding to the cursor in the cloud game. The cursor control message is sent by the first terminal in response to the control operation on the virtual joystick 51. The control operation can be a click operation, a swipe operation, or other operation methods.

[0057] In some embodiments, a virtual joystick refers to a virtual joystick on a full-touchscreen mobile phone that is connected to the screen and allows direct control of the virtual joystick on the touchscreen for gaming. A cursor, also known as a pointer, includes both visible and invisible cursors. When text is entered into a text box or program, a cursor always indicates the position where the text will be entered. Most cursors are small vertical lines that blink regularly, while some are short horizontal lines that blink regularly as well.

[0058] As an example, see Figure 6 , Figure 6 This is a schematic diagram of the interface of the second terminal provided in this application embodiment. The interface of the second terminal displays a cloud gaming screen and cursor control messages, used to indicate the position of the cursor 61 in the cloud gaming screen. Figure 6 The cloud gaming screen displayed on the second terminal interface shows the initial position of cursor 61 before it moves, and the actual position / target position of cursor 61 after it moves.

[0059] In some embodiments, see Figure 7 , Figure 7 This is a flowchart illustrating the cursor control method in cloud gaming provided in an embodiment of this application. Figure 7 Step 101 shown can be achieved by performing steps 1011 to 1012.

[0060] In step 1011, the cursor control message queue of the cloud game is obtained. The cursor control message queue is used to store cursor control messages.

[0061] In some embodiments, the cursor control message queue stores cursor control messages in the order of their generation time; that is, the cursor control message with the earliest generation time is stored at the head of the cursor control message queue, and the cursor control message with the latest generation time is stored at the tail of the cursor control message queue.

[0062] In step 1012, the cursor control message sent by the first terminal is obtained from the cursor control message queue.

[0063] In some embodiments, after receiving the cursor control message sent by the first terminal, the cloud server first stores the cursor control message in the cursor control message queue, and then retrieves the cursor control message sent by the first terminal from the cursor control message queue.

[0064] In step 102, the cursor control message is parsed to obtain the control parameters corresponding to the virtual joystick.

[0065] In some embodiments, the cursor control message is used to indicate the position of the cursor in the mobile cloud gaming screen, and the cursor control message carries at least the control parameters of the virtual joystick.

[0066] In some embodiments, the control parameters of the virtual joystick include displacement parameters and direction parameters. The direction parameter characterizes the direction of movement of the virtual joystick. Since the direction of movement of the virtual joystick in the first terminal is consistent with the direction of movement of the cursor in the second terminal, the direction parameter of the virtual joystick can be used to indicate the direction of movement of the cursor. The position parameter characterizes the displacement of the virtual joystick in the first terminal.

[0067] In step 103, a target position determination method that is compatible with the control parameters is selected from at least two position determination methods.

[0068] In some embodiments, the control parameters include displacement parameters, which characterize the displacement of the virtual joystick in the first terminal.

[0069] In some embodiments, the position determination method is used to determine the target position in the cloud gaming screen after the cursor is moved.

[0070] In some embodiments, step 103 above can be implemented in the following way: selecting a target position determination method that matches the displacement parameters from at least two position determination methods.

[0071] In some embodiments, see Figure 8 , Figure 8 This is a flowchart illustrating the cursor control method in cloud gaming provided in an embodiment of this application. Figure 8 Step 103 shown can be achieved by performing steps 1031 to 1033.

[0072] In step 1031, the displacement interval corresponding to each position determination method is obtained, and the displacement interval represents the displacement range of the virtual joystick.

[0073] In some embodiments, there is a one-to-one correspondence between the position determination method and the displacement interval. The displacement interval represents the displacement range of the virtual joystick, that is, the displacement interval represents the range of displacement parameters. One position determination method corresponds to one displacement interval, and different position determination methods correspond to different displacement intervals.

[0074] In step 1032, the displacement represented by the displacement parameter is compared with each displacement interval to obtain the target displacement interval corresponding to the displacement parameter.

[0075] In some embodiments, the displacement represented by the displacement parameter is greater than or equal to the minimum value of the target displacement interval, and less than or equal to the maximum value of the target displacement interval.

[0076] As an example, the displacement interval can include: [0, 1], [1, 2], [2, 3], [3, 4], [5, 6], [7, 8]. When the displacement represented by the position parameter is 5.5, the target displacement interval corresponding to the displacement parameter is [5, 6]; when the displacement represented by the position parameter is 2.5, the target displacement interval corresponding to the displacement parameter is [2, 3].

[0077] In step 1033, the position determination method corresponding to the target displacement interval is determined as the target position determination method.

[0078] As an example, when the displacement intervals include [0, 1], [1, 2], [2, 3], [3, 4], [5, 6], and [7, 8], the position determination methods corresponding to displacement intervals [0, 1], [1, 2], [2, 3], [3, 4], [5, 6], and [7, 8] are different. When the target displacement interval is [1, 2], the position determination method is the same as that corresponding to displacement interval [1, 2]. When the target displacement interval is [2, 3], the position determination method is the same as that corresponding to displacement interval [2, 3].

[0079] In some embodiments, the displacement intervals corresponding to each position determination method include at least a first displacement interval and a second displacement interval, wherein the maximum displacement value of the first displacement interval is less than the minimum displacement value of the second displacement interval.

[0080] As an example, when the first displacement interval is [3, 4], the second position interval can be the displacement interval [5, 6] or the displacement interval [7, 8]. That is, the minimum displacement value of 5 in the displacement interval [5, 6] and the minimum displacement value of 7 in the displacement interval [7, 8] are both greater than the maximum displacement value of 4 in the first displacement interval.

[0081] In some embodiments, step 1033 above can be implemented in the following way: when the target displacement interval is a first displacement interval, the first fixed value determination method corresponding to the first displacement interval is determined as the target position determination method; when the target displacement interval is a second displacement interval, the second fixed value determination method corresponding to the second displacement interval is determined as the target position determination method.

[0082] As an example, when the target displacement interval is the first displacement interval [3, 4], the first fixed value determination method corresponding to the first displacement interval [3, 4] is determined as the target position determination method; when the target displacement interval is the second displacement interval [3, 4], the second fixed value determination method corresponding to the second displacement interval [3, 4] is determined as the target position determination method.

[0083] In some embodiments, a first setpoint determination method is used to indicate a first displacement change value of the cursor, and a second setpoint determination method is used to indicate a second displacement change value of the cursor, wherein the first displacement change value is less than the second displacement change value. The first position change value and the second displacement change value can be specifically set as needed.

[0084] As an example, when the target displacement interval is the first displacement interval [3, 4], the first fixed value determination method corresponding to the first displacement interval [3, 4] is used to indicate the first position change value X of the cursor; when the target displacement interval is the second displacement interval [3, 4], the second fixed value determination method corresponding to the second displacement interval [3, 4] is used to indicate the second position change value Z of the cursor.

[0085] In some embodiments, the first displacement interval includes at least two first sub-intervals, each first sub-interval corresponding to a first setpoint determination method, and different first setpoint determination methods indicate different first displacement changes; the second displacement interval includes at least two second sub-intervals, each second sub-interval corresponding to a second setpoint determination method, and different second setpoint determination methods indicate different second displacement changes.

[0086] In some embodiments, each first sub-interval corresponds to a first fixed value determination method, and the first displacement change value indicated by the first fixed value method corresponding to different first sub-intervals is different.

[0087] In some embodiments, each second sub-interval corresponds to a second fixed value determination method, and the second displacement change value indicated by the second fixed value method corresponding to different second sub-intervals is different.

[0088] In some embodiments, the first displacement interval includes at least two first sub-intervals, the minimum displacement in the at least two first sub-intervals is the minimum displacement of the first displacement interval, and the maximum displacement in the at least two first sub-intervals is the maximum displacement of the first displacement interval.

[0089] In some embodiments, the second displacement interval includes at least two second sub-intervals, the minimum displacement in the at least two second sub-intervals is the minimum displacement of the second displacement interval, and the maximum displacement in the at least two second sub-intervals is the maximum displacement of the second displacement interval.

[0090] As an example, when the first displacement interval is the displacement interval [3, 4], the first displacement interval may include at least two first sub-intervals, such as the first sub-interval [3, 3.5] and the first sub-interval [3.5, 4].

[0091] As an example, when the second displacement interval is the displacement interval [3, 4], the second displacement interval may include at least two second sub-intervals, for example, the second sub-interval [3, 3.5] and the second sub-interval [3.5, 4].

[0092] In some embodiments, when the target displacement interval is the first displacement interval, the method of determining the first fixed value corresponding to the first displacement interval as the target position determination method can be implemented in the following way: when the target displacement interval is the first sub-interval in the first displacement interval, the method of determining the first fixed value corresponding to the first sub-interval is determined as the target position determination method.

[0093] As an example, when the target displacement interval is the first sub-interval [3, 3.5] in the first displacement interval, the first fixed value determination method corresponding to the first sub-interval [3, 3.5] is determined as the target position determination method.

[0094] In some embodiments, when the target displacement interval is the second displacement interval, the method of determining the second fixed value corresponding to the second displacement interval as the method of determining the target position can be implemented in the following way: when the target displacement interval is the second sub-interval in the second displacement interval, the method of determining the second fixed value corresponding to the second sub-interval is determined as the method of determining the target position.

[0095] As an example, when the target displacement interval is the second sub-interval [3.5, 4] in the second displacement interval, the second fixed value determination method corresponding to the second sub-interval [3.5, 4] is determined as the target position determination method.

[0096] In some embodiments, the displacement interval corresponding to each position determination method also includes a third displacement interval, which is located between the first displacement interval and the second displacement interval; the above step 103 can also be implemented in the following way: when the target displacement interval is the third displacement interval, the position mapping method corresponding to the third displacement interval is determined as the target position determination method; wherein, the position mapping method is used to indicate the mapping relationship between the third displacement change value of the cursor and the following parameters: the maximum displacement value, the minimum displacement value, the displacement, the first displacement change value, and the second displacement change value of the third displacement interval.

[0097] In some embodiments, the third displacement interval is located between the first displacement interval and the second displacement interval, the maximum displacement value of the third displacement interval is less than the minimum displacement value of the second displacement interval, and the minimum displacement value of the third displacement interval is greater than the maximum displacement value of the first displacement interval.

[0098] In some embodiments, before step 103 above, the displacement interval can also be set in the following manner: receiving a setting instruction for each position determination method, the setting instruction being used to indicate the setting of the displacement interval corresponding to each position determination method; parsing the setting instruction to obtain the displacement interval corresponding to each position determination method; and setting the displacement interval corresponding to each position determination method.

[0099] In some embodiments, different setting instructions can be configured to set the displacement range corresponding to each position determination method. One setting instruction can be used to set at least one position range, and the setting instruction carries the set displacement range.

[0100] In some embodiments, the set instruction is parsed to obtain the set displacement interval carried in the set instruction. The original displacement interval corresponding to each position determination method is updated to the parsed displacement interval corresponding to each position determination method.

[0101] In this way, by setting instructions, the displacement range corresponding to each position determination method can be set, so that the displacement range can be updated by setting instructions in different scenario requirements, thereby making the displacement range better adaptable to different actual needs.

[0102] In step 104, the target position in the cloud gaming screen after the cursor moves is determined based on the target position determination method.

[0103] In some embodiments, see Figure 9 , Figure 9 This is a flowchart illustrating the cursor control method in cloud gaming provided in an embodiment of this application. Figure 9 Step 104 shown can be achieved by performing steps 1041 to 1043.

[0104] In step 1041, the initial position of the cursor in the game screen is obtained.

[0105] In some embodiments, the initial position of the cursor in the game screen represents the initial position coordinates of the cursor in the world coordinate system of the game screen.

[0106] As an example, see Figure 6 Get the initial position of cursor 61 in the game screen, for example, the initial position coordinates of the cursor in the world coordinate system of the game screen (20, 30).

[0107] In step 1042, when the target position is determined by the first fixed value determination method, the target position in the cloud gaming screen after the cursor moves is determined based on the direction parameter, the initial position and the first displacement change value.

[0108] In some embodiments, step 1042 above can be implemented in the following way: when the target position determination method is the first fixed value determination method, the position where the cursor is moved from the initial position to the direction indicated by the direction parameter by a distance of the first displacement change value is determined as the target position in the cloud game screen after the cursor moves.

[0109] As an example, see Figure 6 When the target position is determined by the first fixed value determination method, the position of cursor 61 after moving it from its initial position by the distance of the first displacement change value in the direction indicated by the direction parameter is determined as the target position of cursor 61 in the cloud gaming screen after the movement.

[0110] In step 1043, when the target position is determined by the second fixed value determination method, the target position in the cloud gaming screen after the cursor moves is determined based on the direction parameter, the initial position, and the second displacement change value.

[0111] In some embodiments, when the target position is determined by the second fixed value determination method, the position where the cursor is located after moving from the initial position to the direction indicated by the direction parameter by a distance of the second displacement change value is determined as the target position in the cloud gaming screen after the cursor moves.

[0112] As an example, see Figure 6 When the target position is determined by the second fixed value method, the position of cursor 61 after moving it from its initial position by the distance of the second displacement change value in the direction indicated by the direction parameter is determined as the target position of cursor 61 in the cloud gaming screen after the movement.

[0113] Thus, by selecting the first displacement change value and the second displacement change value for the first and second fixed value determination methods respectively, the target position of the cursor in the cloud gaming screen after movement is determined, thereby making the determined target position more accurate, effectively improving the sensitivity of the virtual joystick to control the cursor movement, and effectively improving the movement accuracy of the cursor.

[0114] In some embodiments, see Figure 10 , Figure 10 This is a flowchart illustrating the cursor control method in cloud gaming provided in an embodiment of this application. Figure 10 Step 104 shown can be achieved by performing steps 1044 to 1046.

[0115] In step 1044, the initial position of the cursor in the game screen, the first difference between the maximum and minimum displacement values ​​in the third displacement interval, and the second difference between the first displacement change value and the second displacement change value are obtained.

[0116] In some embodiments, the expressions for the first difference and the second difference can be: (1) (2) in, Characterizing the first difference, Characterizing the second difference, The maximum displacement in the third displacement interval is represented. The minimum displacement in the third displacement interval is represented by the following value. Characterizing the change in the first displacement, Characterizes the change in the second displacement.

[0117] In step 1045, the product of the first difference and the second difference is obtained, and the ratio of the displacement to the product is determined. The ratio is used as the third displacement change value.

[0118] In some embodiments, the expression for the third displacement change value can be: (3) in, Characterizing the change in third displacement, Characterizing the first difference, Characterizing the second difference, Characterizes displacement.

[0119] In step 1046, the target position in the cloud gaming screen after the cursor moves is determined based on the direction parameters, the initial position, and the third displacement change value.

[0120] In some embodiments, the control parameters further include direction parameters, which are used to indicate the direction of cursor movement.

[0121] In some embodiments, step 1046 above can be implemented as follows: when the target position determination method is the third fixed value determination method, the position where the cursor is located after moving from the initial position to the direction indicated by the direction parameter by a distance of the third displacement change value is determined as the target position in the cloud game screen after the cursor moves.

[0122] As an example, see Figure 6When the target position is determined by the third fixed value method, the position of cursor 61 after moving it from its initial position by the distance of the third displacement change value in the direction indicated by the direction parameter is determined as the target position of cursor 61 in the cloud gaming screen after the movement.

[0123] In some embodiments, after step 104 above, the cursor control message can be encapsulated in the following way: based on the target position, the cursor control message is encapsulated to obtain the target cursor control message corresponding to the cursor control message; the target cursor control message is stored in the cursor control message queue.

[0124] In some embodiments, the determined target location can be encapsulated into a cursor control message to obtain a target cursor control message. It is understood that the target cursor control message carries at least the aforementioned target location, and the target cursor control message is then stored in a cursor control message queue. The cursor control message queue can store target cursor control messages in the order they were generated, with the earliest generated target cursor control message stored at the head of the queue and the latest generated target cursor control message stored at the tail.

[0125] In some embodiments, storing the target cursor control message in the cursor control message queue can be achieved as follows: when there are multiple cursor control messages, obtain the order of the multiple cursor control messages in the cursor control message queue; based on the order, store the target cursor control message corresponding to each cursor control message in the cursor control message queue.

[0126] In some embodiments, the target cursor control messages in the cursor control message queue can be sorted according to the order of their generation time. The target cursor control messages corresponding to each cursor control message can be stored in the cursor control message queue according to the order of their generation time. The generation time of the cursor control message corresponding to the target cursor control message at the head of the cursor control message queue is earlier than the generation time of the cursor control message corresponding to the target cursor control message at the tail of the cursor control message queue.

[0127] In this way, by caching the target cursor control messages through the cursor control message queue, the sensitivity of the cursor is reduced due to the large number of messages generated in a short period of time. This effectively improves the sensitivity of the virtual joystick in controlling the cursor movement and enhances the accuracy of the cursor movement.

[0128] In step 105, the target cloud game screen where the cursor is located is rendered and sent so that the second terminal can display the target cloud game screen.

[0129] As an example, see Figure 11 , Figure 11 This is a schematic diagram of the target cloud game screen provided in an embodiment of this application. The cloud server renders the target cloud game screen where the cursor 61 is at the target position, and sends the target cloud game screen so that the second terminal can display the target cloud game screen.

[0130] In some embodiments, the rendering of the target cloud game screen where the cursor is at the target position in step 105 above can be achieved as follows: through the game process of the cloud game, the target cursor control message is retrieved from the cursor control message queue, and the target cloud game screen where the cursor is at the target position is rendered based on the target position in the target cursor control message.

[0131] In some embodiments, the cloud game process can run on a cloud server. The cloud game process running on the cloud server retrieves the target cursor control message from the cursor control message queue of the cloud server, and renders the target cloud game screen where the cursor is at the target position at the target position in the target cursor control message.

[0132] In some embodiments, sending the target cloud game screen in step 105 can be achieved in the following ways: sending the target cloud game screen to the first terminal, so that the first terminal sends the target cloud game screen to the second terminal through the communication connection between the first terminal and the second terminal; or, sending the target cloud game screen to the second terminal.

[0133] In some embodiments, the cloud server sends the target cloud game screen to the first terminal, so that the first terminal can send the target cloud game screen to the second terminal through a communication connection with the second terminal. Alternatively, the cloud server directly sends the target cloud game screen to the second terminal without needing to relay communication through the first terminal.

[0134] In this way, the cloud server parses the acquired cursor control messages to obtain the control parameters corresponding to the virtual joystick. By selecting a target position determination method that matches the control parameters, it determines the target position of the cursor in the cloud game screen after movement, renders the target cloud game screen where the cursor is located, and displays the target cloud game screen on the second terminal. Thus, by selecting a target position determination method that matches the control parameters from at least two position determination methods, and determining the target position of the cursor in the cloud game screen based on this method, different target position determination methods are adapted to different control parameters. This makes the determined target position more accurate, effectively improving the sensitivity of the virtual joystick in controlling cursor movement and significantly increasing the cursor's movement precision.

[0135] See Figure 12 , Figure 12 This is a flowchart illustrating the cursor control method in cloud gaming provided in this application embodiment, which will be combined with... Figure 12 Steps 201 to 204 shown will be explained below, and the following explanation will take the implementation of the above steps 201 to 204 by the first terminal as an example.

[0136] In step 201, the virtual joystick corresponding to the cursor in the cloud game is displayed.

[0137] In some embodiments, a virtual joystick refers to a virtual joystick on a full-touchscreen mobile phone that is connected to the screen and allows direct control of the virtual joystick on the touchscreen for gaming. A cursor, also known as a pointer, includes both visible and invisible cursors. When text is entered into a text box or program, a cursor always indicates the position where the text will be entered. Most cursors are small vertical lines that blink regularly, while some are short horizontal lines that blink regularly as well.

[0138] In some embodiments, the virtual joystick corresponding to the cursor in the cloud game is displayed on the first terminal, and the cursor in the cloud game is displayed on the second terminal.

[0139] In step 202, in response to the control operation for the virtual joystick, the control parameters corresponding to the virtual joystick are determined.

[0140] In some embodiments, the control parameters of the virtual joystick include displacement parameters and direction parameters. The direction parameter characterizes the direction of movement of the virtual joystick. Since the direction of movement of the virtual joystick in the first terminal is consistent with the direction of movement of the cursor in the second terminal, the direction parameter of the virtual joystick can be used to indicate the direction of movement of the cursor. The position parameter characterizes the displacement of the virtual joystick in the first terminal.

[0141] In step 203, a cursor control message is generated based on the control parameters. The cursor control message is used to indicate the position of the cursor in the mobile cloud gaming screen.

[0142] In some embodiments, the cursor control message is used to indicate the position of the cursor in the mobile cloud gaming screen, and the cursor control message carries at least the control parameters of the virtual joystick.

[0143] In step 204, a cursor control message is sent to the cloud server so that the cloud server can parse the cursor control message and obtain the control parameters corresponding to the virtual joystick; and select a target position determination method that matches the control parameters from at least two position determination methods, and determine the target position in the cloud game screen after the cursor moves based on the target position determination method.

[0144] In some embodiments, the control parameters include displacement parameters, which characterize the displacement of the virtual joystick in the first terminal.

[0145] In some embodiments, the position determination method is used to determine the target position in the cloud gaming screen after the cursor is moved.

[0146] See Figure 13 , Figure 13 This is a flowchart illustrating the cursor control method in cloud gaming provided in this application embodiment, which will be combined with... Figure 13 Steps 301 to 302 shown will be explained below, and the following explanation will take the implementation of the above steps 301 to 302 on the second terminal as an example.

[0147] In step 301, the target cloud gaming screen is received.

[0148] In some embodiments, the target cloud gaming screen is obtained by the cloud server in the following manner: the cloud server obtains a cursor control message sent by the first terminal, the cursor control message being used to indicate the position of the cursor in the cloud gaming screen; the cursor control message is parsed to obtain the control parameters corresponding to the virtual joystick; from at least two position determination methods, a target position determination method that matches the control parameters is selected, and based on the target position determination method, the target position of the cursor in the cloud gaming screen after movement is determined; the target cloud gaming screen with the cursor at the target position is rendered.

[0149] In some embodiments, step 301 above can be implemented in the following manner: receiving the target cloud game screen sent by the cloud server; receiving the target cloud game screen sent by the first terminal, wherein the first terminal forwards the target cloud game screen to the second terminal after obtaining the target cloud game screen from the cloud server.

[0150] In step 302, the target cloud gaming screen is displayed.

[0151] See Figure 14 , Figure 14 This is a schematic diagram of the interaction flow of the cursor control method in cloud gaming provided in this application embodiment, which will be combined with... Figure 14 Steps 401 to 410 will be explained below, and the following explanation will take the implementation of the above steps 401 to 410 on the second terminal as an example.

[0152] In step 401, the first terminal displays the virtual joystick corresponding to the cursor in the cloud game.

[0153] In some embodiments, a virtual joystick refers to a virtual joystick on a full-touchscreen mobile phone that is connected to the screen and allows direct control of the virtual joystick on the touchscreen for gaming. A cursor, also known as a pointer, includes both visible and invisible cursors. When text is entered into a text box or program, a cursor always indicates the position where the text will be entered. Most cursors are small vertical lines that blink regularly, while some are short horizontal lines that blink regularly as well.

[0154] In some embodiments, the virtual joystick corresponding to the cursor in the cloud game is displayed on the first terminal, and the cursor in the cloud game is displayed on the second terminal.

[0155] In step 402, the first terminal responds to the control operation for the virtual joystick and determines the control parameters corresponding to the virtual joystick.

[0156] In some embodiments, the control parameters of the virtual joystick include displacement parameters and direction parameters. The direction parameter characterizes the direction of movement of the virtual joystick. Since the direction of movement of the virtual joystick in the first terminal is consistent with the direction of movement of the cursor in the second terminal, the direction parameter of the virtual joystick can be used to indicate the direction of movement of the cursor. The position parameter characterizes the displacement of the virtual joystick in the first terminal.

[0157] In step 403, the first terminal generates a cursor control message based on the control parameters. The cursor control message is used to indicate the position of the cursor in the mobile cloud gaming screen.

[0158] In step 404, the first terminal sends a cursor control message to the cloud server.

[0159] In some embodiments, the cursor control message is used to indicate the position of the cursor in the mobile cloud gaming screen, and the cursor control message carries at least the control parameters of the virtual joystick.

[0160] In step 405, the cloud server obtains the cursor control message sent by the first terminal. The cursor control message is used to indicate the position of the cursor in the mobile cloud game screen.

[0161] In step 406, the cloud server parses the cursor control message to obtain the control parameters corresponding to the virtual joystick.

[0162] In some embodiments, the cursor control message is used to indicate the position of the cursor in the mobile cloud gaming screen, and the cursor control message carries at least the control parameters of the virtual joystick.

[0163] In some embodiments, the control parameters of the virtual joystick include displacement parameters and direction parameters. The direction parameter characterizes the direction of movement of the virtual joystick. Since the direction of movement of the virtual joystick in the first terminal is consistent with the direction of movement of the cursor in the second terminal, the direction parameter of the virtual joystick can be used to indicate the direction of movement of the cursor. The position parameter characterizes the displacement of the virtual joystick in the first terminal.

[0164] In step 407, the cloud server selects a target position determination method that matches the control parameters from at least two position determination methods, and determines the target position in the cloud game screen after the cursor moves based on the target position determination method.

[0165] In some embodiments, the position determination method is used to determine the target position in the cloud gaming screen after the cursor is moved.

[0166] In step 408, the cloud server renders the target cloud game screen where the cursor is located.

[0167] In step 409, the cloud server sends the target cloud game screen to the second terminal.

[0168] In step 410, the second terminal receives and displays the target cloud game screen.

[0169] In this way, the cloud server parses the acquired cursor control messages to obtain the control parameters corresponding to the virtual joystick. By selecting a target position determination method that matches the control parameters, it determines the target position of the cursor in the cloud game screen after movement, renders the target cloud game screen where the cursor is located, and displays the target cloud game screen on the second terminal. Thus, by selecting a target position determination method that matches the control parameters from at least two position determination methods, and determining the target position of the cursor in the cloud game screen based on this method, different target position determination methods are adapted to different control parameters. This makes the determined target position more accurate, effectively improving the sensitivity of the virtual joystick in controlling cursor movement and significantly increasing the cursor's movement precision.

[0170] The following will describe an exemplary application of the embodiments of this application in a real-world cloud gaming scenario.

[0171] In a practical cloud gaming application scenario, a player controls a first terminal. In response, the first terminal sends relevant control parameters to a cloud server. Upon receiving these parameters, the cloud server processes them to obtain processed display parameters, which are then sent to a second terminal. The second terminal displays the corresponding content based on these parameters. The cursor control method in cloud gaming provided in this application embodiment will be described below, using the cloud server, first terminal, and second terminal in the aforementioned practical cloud gaming application scenario as an example.

[0172] See Figure 15 , Figure 15 This is a schematic diagram of the interface of the first terminal provided in this application embodiment. The first terminal displays a virtual joystick corresponding to the cursor in the cloud game. By responding to the control operation of the game player on the virtual joystick, the control parameters corresponding to the virtual joystick are determined. The control parameters include distance control parameters and direction control parameters. The distance control parameters represent the distance the virtual joystick moves in the first terminal, and the direction control parameters represent the direction the virtual joystick moves in the first terminal. The cursor control message carrying the control parameters is sent to the cloud server.

[0173] See Figure 16 , Figure 16 This is a schematic diagram of the interface of the second terminal provided in the embodiments of this application. The second terminal displays the cloud game screen, receives the target position of the cursor in the cloud game screen sent by the cloud server or the first terminal, and moves the cursor from the initial position to the target position in the cloud game screen. Through the cursor control method in the cloud game provided in the embodiments of this application, the target position and the actual position can be completely overlapped, thereby effectively improving the sensitivity of the cursor when moving and effectively improving the movement accuracy of the cursor.

[0174] In some embodiments, the target position is calculated by a cloud server. The cloud server receives a cursor control message sent by the first terminal, wherein the cursor control message is used to indicate the position of the cursor in the cloud game screen. The cloud server parses the cursor control message to obtain the control parameters corresponding to the virtual joystick. From at least two position determination methods, the cloud server selects a target position determination method that matches the control parameters to determine the target position of the cursor in the cloud game screen and sends the target position to the first terminal or the second terminal.

[0175] As an example, see Figure 1 and Figure 15In the related art, when the unoptimized virtual joystick simulates a cursor pointer, the pointer always fails to move to the target position. For example, the movement amplitude is too large: the "close" button is on the right, and when the cursor pointer is moved to the right, it does not move to the position of the "close" button, but to a position beside the button. With the cursor control method in cloud games provided by the embodiments of the present application, when the optimized virtual joystick simulates a cursor pointer, the cursor pointer can be directly moved to the target position, which is more sensitive and accurate.

[0176] In the cursor control method in cloud games provided by the embodiments of the present application, the cloud server may process the control parameters corresponding to the virtual joystick in the following manner to determine the target position of the cursor in the cloud game screen: suppose the movement distance of the virtual joystick is m, the movement direction of the virtual joystick is n, and the movement distance of the cursor is u. The movement distance of the virtual joystick can be divided into the following stages: the first stage: m ≤ a (a is a preset parameter), where the movement distance u of the mouse pointer is X (X is a preset parameter); the second stage: a < m < b (a and b are preset parameters), where the movement distance u of the mouse pointer is m / (b-a) (Z-X), (a, b, Z and X are preset parameters); the third stage: m ≥ b (b is a preset parameter), where the movement distance u of the mouse pointer is Z (Z is a preset parameter).

[0177] As an example, the value of m is divided into a plurality of stages: in the first stage, m ≤ 0.1, where the cursor movement distance u is 0; in the second stage, 0.1 < m ≤ 0.2, where the cursor movement distance u is 1; in the third stage, 0.2 < m ≤ 0.3, where the cursor movement distance u is 2; in the fourth stage, 0.3 < m ≤ 0.4, where the cursor movement distance u is 3; in the fifth stage, 0.4 < m ≤ 0.5, where the cursor movement distance u is 4; in the sixth stage, 0.5 < m ≤ 0.6, where the cursor movement distance u is 6; in the seventh stage, 0.6 < m ≤ 0.7, where the cursor movement distance u is 8; in the eighth stage, 0.7 < m ≤ 0.8, where the cursor movement distance u is 10; in the ninth stage, 0.8 < m ≤ 0.9, where the cursor movement distance u is 12; in the tenth stage, 0.9 < m ≤ 1, where the cursor movement distance u is 16; and in the third stage, m > 1, where the cursor movement distance u is 24.

[0178] In some embodiments, the transmission of cursor position from the cloud server to the online game and its final feedback to the client can be achieved as follows: The cloud server intercepts the mouse message loop queue within the game process. The calculated mouse movement distance *u*, based on different stages, is encapsulated into a system message recognizable by the game. This encapsulated message is then submitted to the game's mouse message loop queue. The game process retrieves this system message from the mouse message queue and calculates the mouse cursor icon that should be displayed at the target position based on the position information provided in the message. The game updates the mouse position to the target position and sets the mouse cursor icon to the calculated icon. Finally, the cloud server packages the target position and mouse cursor icon provided by the game and sends them to the client for display.

[0179] In some embodiments, see Figure 17 , Figure 17 This is a flowchart illustrating the cursor control method in cloud gaming provided in this application embodiment. Step 11: Obtain the mouse message queue; Step 12: The game process obtains a mouse message from the mouse message queue; Step 13: Determine if it is a mouse movement message; Step 14: If it is a mouse movement message, parse the message movement distance parameter; Step 15: Calculate the mouse movement target position and mouse graphic; Step 16: Move the mouse and redraw the graphic, then package the final position and graphic to the cloud server, and continue obtaining messages; Step 17: If it is not a mouse movement message, process it as other mouse messages, and continue obtaining messages. The movement distance u is encapsulated into a queue message by the game controller in the cloud server and delivered to the game message queue.

[0180] In some embodiments, see Figure 18 , Figure 18 This is a schematic diagram of the interaction flow of the cursor control method in cloud gaming provided in this application embodiment. A first terminal and a second terminal run a game client. In the game client of the first terminal, step 21: In response to the user pushing the virtual joystick with a gamepad, the virtual joystick push value m and push direction n are sent to the cloud server. Step 22: The cloud server receives the user's joystick push value m and push direction n. Step 23: The cloud server determines the stage m based on the virtual joystick push value m and obtains the cursor movement distance u. Step 24: The cloud server obtains the corresponding position based on the cursor movement distance and push direction n. Step 25: The cloud server completes the mouse pointer movement and returns the screen to the client.

[0181] The cursor control method in cloud gaming provided in this application embodiment allows players to use a virtual gamepad to operate the mouse pointer when playing PC games on a mobile terminal. This improves the user's operating experience. For example, if a user originally wanted to move to the "close" button, they can quickly and accurately move to the "close" button without worrying about moving it to other places due to gamepad issues, thus enhancing the operating experience.

[0182] It is understood that, in the embodiments of this application, the data related to cursor control messages, etc., need to obtain user permission or consent when the embodiments of this application are applied to specific products or technologies, and the collection, use and processing of related data need to comply with the relevant laws, regulations and standards of relevant countries and regions.

[0183] The following description continues to illustrate the exemplary structure of the cursor control device 455 in cloud gaming provided in this application embodiment as a software module. In some embodiments, such as... Figure 3 As shown, the software modules in the cursor control device 455 of the cloud game stored in the memory 450 may include: an acquisition module 4551, used to acquire a cursor control message sent by a first terminal, the cursor control message being used to indicate the position of the cursor in the cloud game screen; wherein, the first terminal displays a virtual joystick for controlling the cursor in the cloud game, the cloud game screen is displayed on a second terminal, and the cursor control message is sent by the first terminal in response to a control operation on the virtual joystick; a parsing module 4552, used to parse the cursor control message to obtain the control parameters corresponding to the virtual joystick; a selection module 4553, used to select a target position determination method that matches the control parameters from at least two position determination methods, and determine the target position of the cursor in the cloud game screen after movement based on the target position determination method; and a sending module 4554, used to render the target cloud game screen where the cursor is at the target position, and send the target cloud game screen so that the second terminal displays the target cloud game screen.

[0184] In some embodiments, the control parameters include displacement parameters, which characterize the displacement of the virtual joystick in the first terminal; the selection module 4553 is further configured to obtain the displacement interval corresponding to each position determination method, which characterizes the displacement range of the virtual joystick; compare the displacement characterized by the displacement parameters with each displacement interval to obtain the target displacement interval corresponding to the displacement parameters; and determine the position determination method corresponding to the target displacement interval as the target position determination method.

[0185] In some embodiments, the displacement intervals corresponding to each position determination method include at least a first displacement interval and a second displacement interval, wherein the maximum displacement value of the first displacement interval is less than the minimum displacement value of the second displacement interval; the selection module 4553 is further configured to determine the first fixed value determination method corresponding to the first displacement interval as the target position determination method when the target displacement interval is the first displacement interval; and to determine the second fixed value determination method corresponding to the second displacement interval as the target position determination method when the target displacement interval is the second displacement interval; wherein the first fixed value determination method is used to indicate the first displacement change value of the cursor, the second fixed value determination method is used to indicate the second displacement change value of the cursor, and the first displacement change value is less than the second displacement change value.

[0186] In some embodiments, the control parameters further include direction parameters, which are used to indicate the movement direction of the cursor; the selection module 4553 is also used to obtain the initial position of the cursor in the game screen; when the target position determination method is the first fixed value determination method, the target position of the cursor in the cloud game screen after movement is determined based on the direction parameters, the initial position and the first displacement change value; when the target position determination method is the second fixed value determination method, the target position of the cursor in the cloud game screen after movement is determined based on the direction parameters, the initial position and the second displacement change value.

[0187] In some embodiments, the displacement interval corresponding to each position determination method further includes a third displacement interval, which is located between the first displacement interval and the second displacement interval; the selection module 4553 is further used to determine the position mapping method corresponding to the third displacement interval as the target position determination method when the target displacement interval is the third displacement interval; wherein, the position mapping method is used to indicate the mapping relationship between the third displacement change value of the cursor and the following parameters: the maximum displacement value, the minimum displacement value, the displacement, the first displacement change value, and the second displacement change value of the third displacement interval.

[0188] In some embodiments, the control parameters further include direction parameters, which are used to indicate the direction of cursor movement; the selection module 4553 is also used to obtain the initial position of the cursor in the game screen, the first difference between the maximum and minimum displacement values ​​in the third displacement interval, and the second difference between the first displacement change value and the second displacement change value; obtain the product of the first difference and the second difference, and determine the ratio of the displacement to the product, and use the ratio as the third displacement change value; and determine the target position of the cursor in the cloud gaming screen after movement based on the direction parameters, the initial position, and the third displacement change value.

[0189] In some embodiments, the first displacement interval includes at least two first sub-intervals, each corresponding to a first fixed value determination method, and different first fixed value determination methods indicate different first displacement changes; the second displacement interval includes at least two second sub-intervals, each corresponding to a second fixed value determination method, and different second fixed value determination methods indicate different second displacement changes; the selection module 4553 is further configured to, when the target displacement interval is a first sub-interval in the first displacement interval, determine the first fixed value determination method corresponding to the first sub-interval as the target position determination method; and when the target displacement interval is a second sub-interval in the second displacement interval, determine the second fixed value determination method corresponding to the second sub-interval as the target position determination method.

[0190] In some embodiments, the cursor control device in the cloud game further includes: an interval setting module, configured to receive setting instructions for each position determination method, the setting instructions being used to instruct the setting of the displacement interval corresponding to each position determination method; parse the setting instructions to obtain the displacement interval corresponding to each position determination method; and set the displacement interval corresponding to each position determination method.

[0191] In some embodiments, the acquisition module 4551 is further configured to acquire the cursor control message queue of the cloud game, the cursor control message queue being used to store cursor control messages; and to acquire the cursor control message sent by the first terminal from the cursor control message queue.

[0192] In some embodiments, the cursor control device in the cloud game further includes: a message encapsulation module, configured to encapsulate a cursor control message based on a target position to obtain a target cursor control message corresponding to the cursor control message; and store the target cursor control message in a cursor control message queue. The sending module is further configured to retrieve the target cursor control message from the cursor control message queue through the cloud game's game process, and render a target cloud game screen where the cursor is at the target position based on the target position and control parameters in the target cursor control message.

[0193] In some embodiments, the message encapsulation module is further configured to, when there are multiple cursor control messages, obtain the order of the multiple cursor control messages in the cursor control message queue; and, based on the order, store the target cursor control message corresponding to each cursor control message into the cursor control message queue.

[0194] In some embodiments, the sending module 4554 is further configured to send the target cloud game screen to the first terminal, so that the first terminal sends the target cloud game screen to the second terminal through a communication connection with the second terminal; or, send the target cloud game screen to the second terminal.

[0195] This application provides a computer program product, which includes a computer program or computer-executable instructions stored in a computer-readable storage medium. The processor of an electronic device reads the computer-executable instructions from the computer-readable storage medium and executes the computer-executable instructions, causing the electronic device to perform the cursor control method in cloud gaming described above in this application embodiment.

[0196] This application provides a computer-readable storage medium storing computer-executable instructions. When these computer-executable instructions are executed by a processor, they cause the processor to execute the cursor control method in cloud gaming provided in this application. For example... Figure 4 The cursor control method in cloud gaming is shown.

[0197] In some embodiments, the computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; or it may be a variety of electronic devices including one or any combination of the above-mentioned memories.

[0198] In some embodiments, computer-executable instructions may take the form of programs, software, software modules, scripts, or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as stand-alone programs or as modules, components, subroutines, or other units suitable for use in a computing environment.

[0199] As an example, computer-executable instructions may, but do not necessarily, correspond to files in a file system. They may be stored as part of a file that holds other programs or data, for example, in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple co-located files (e.g., a file that stores one or more modules, subroutines, or code sections).

[0200] As an example, computer-executable instructions can be deployed to execute on a single electronic device, or on multiple electronic devices located at one location, or on multiple electronic devices distributed across multiple locations and interconnected via a communication network.

[0201] In summary, the embodiments of this application have the following beneficial effects: (1) The cloud server parses the acquired cursor control messages to obtain the control parameters corresponding to the virtual joystick. By selecting a target position determination method that matches the control parameters, it determines the target position of the cursor in the cloud game screen after movement, renders the target cloud game screen where the cursor is at the target position, and displays the target cloud game screen on the second terminal. In this way, by selecting a target position determination method that matches the control parameters from at least two position determination methods, and determining the target position of the cursor in the cloud game screen based on the target position determination method, different target position determination methods are adapted to different control parameters, making the determined target position more accurate. This effectively improves the sensitivity of the virtual joystick in controlling the cursor movement and effectively improves the cursor movement accuracy.

[0202] (2) By setting instructions, the displacement range corresponding to each position determination method can be set, so that the displacement range can be updated by setting instructions in different scenario requirements, so that the displacement range can better adapt to different actual needs.

[0203] (3) By selecting the first displacement change value and the second displacement change value respectively for the first fixed value determination method and the second fixed value determination method, the target position in the cloud game screen after the cursor moves is determined, thereby making the determined target position more accurate, thereby effectively improving the sensitivity of the virtual joystick to control the cursor movement and effectively improving the movement accuracy of the cursor.

[0204] (4) The target cursor control message is cached by the cursor control message queue, thereby avoiding the decrease in the sensitivity of the cursor due to the large amount of messages when a large number of target cursor control messages are generated in a short period of time. This effectively improves the sensitivity of the virtual joystick to control the cursor movement and effectively improves the movement accuracy of the cursor.

[0205] (5) The cursor control method in cloud games provided by the embodiments of this application can improve the user's operating experience when playing PC games on a mobile terminal using a cloud game. For example, if the user originally wanted to move to the "close" button, they can quickly and accurately move to the "close" button without worrying about moving to other places due to the problem of the gamepad.

[0206] The above description is merely an embodiment of this application and is not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, and improvements made within the spirit and scope of this application are included within the scope of protection of this application.

Claims

1. A cursor control method in cloud gaming, characterized in that, Applied to cloud servers, the method includes: Obtain a cursor control message sent by the first terminal, wherein the cursor control message is used to indicate the position of the cursor in the mobile cloud gaming screen; The first terminal displays a virtual joystick for controlling the cursor in the cloud game, the cloud game screen is displayed on the second terminal, and the cursor control message is sent by the first terminal in response to the control operation on the virtual joystick. The cursor control message is parsed to obtain the control parameters corresponding to the virtual joystick; the control parameters include displacement parameters and direction parameters, the displacement parameters represent the displacement of the virtual joystick in the first terminal, and the direction parameters are used to indicate the movement direction of the cursor; Obtain the displacement interval corresponding to each position determination method, wherein the displacement interval represents the displacement range of the virtual joystick; compare the displacement represented by the displacement parameter with each of the displacement intervals respectively to obtain the target displacement interval corresponding to the displacement parameter; determine the position determination method corresponding to the target displacement interval as the target position determination method; Specifically, when the target displacement interval is a first displacement interval, the first fixed value determination method corresponding to the first displacement interval is determined as the target position determination method, and the first fixed value determination method is used to indicate the first displacement change value of the cursor; when the target displacement interval is a second displacement interval, the second fixed value determination method corresponding to the second displacement interval is determined as the target position determination method; the maximum displacement value of the first displacement interval is less than the minimum displacement value of the second displacement interval; the second fixed value determination method is used to indicate the second displacement change value of the cursor, and the first displacement change value is less than the second displacement change value; when the target displacement interval is a third displacement interval, the position mapping method corresponding to the third displacement interval is determined as the target position determination method; wherein, the third displacement interval is located between the first displacement interval and the second displacement interval; Based on the target position determination method, the target position in the cloud gaming screen after the cursor moves is determined; wherein, when the target position determination method is the position mapping method corresponding to the third displacement interval, the target position in the cloud gaming screen after the cursor moves is determined based on the direction parameter, the initial position of the cursor in the cloud gaming screen, and the third displacement change value; the third displacement change value is determined by the following method: obtaining the first difference between the maximum displacement value and the minimum displacement value of the third displacement interval, and the second difference between the first displacement change value and the second displacement change value; obtaining the product of the first difference and the second difference, and determining the ratio of the displacement to the product, and using the ratio as the third displacement change value; The target cloud game screen is rendered when the cursor is at the target position, and the target cloud game screen is sent so that the second terminal displays the target cloud game screen.

2. The method according to claim 1, characterized in that, The control parameters also include direction parameters, which indicate the movement direction of the cursor; determining the target position in the cloud gaming screen after the cursor moves, based on the target position determination method, includes: Obtain the initial position of the cursor in the game screen; When the target position is determined by the first fixed value determination method, the target position in the cloud gaming screen after the cursor moves is determined based on the direction parameter, the initial position and the first displacement change value. When the target position is determined by the second fixed value determination method, the target position in the cloud gaming screen after the cursor moves is determined based on the direction parameter, the initial position, and the second displacement change value.

3. The method according to claim 1, characterized in that, The position mapping method is used to indicate the mapping relationship between the third displacement change value of the cursor and the following parameters: the maximum displacement value, the minimum displacement value, the displacement, the first displacement change value, and the second displacement change value of the third displacement interval.

4. The method according to claim 1, characterized in that, The first displacement interval includes at least two first sub-intervals, each first sub-interval corresponding to a first fixed value determination method, and different first fixed value determination methods indicate different first displacement change values; the second displacement interval includes at least two second sub-intervals, each second sub-interval corresponding to a second fixed value determination method, and different second fixed value determination methods indicate different second displacement change values. When the target displacement interval is a first displacement interval, the method for determining the first fixed value corresponding to the first displacement interval is determined as the target position determination method, including: When the target displacement interval is the first sub-interval in the first displacement interval, the first fixed value determination method corresponding to the first sub-interval is determined as the target position determination method; When the target displacement interval is the second displacement interval, the method for determining the second fixed value corresponding to the second displacement interval is determined as the target position determination method, including: When the target displacement interval is the second sub-interval in the second displacement interval, the second fixed value determination method corresponding to the second sub-interval is determined as the target position determination method.

5. The method according to claim 1, characterized in that, Before obtaining the displacement interval corresponding to each position determination method, the method further includes: A setting instruction is received for each of the aforementioned position determination methods, the setting instruction being used to instruct the setting of the displacement range corresponding to each of the aforementioned position determination methods; The setting instructions are parsed to obtain the displacement intervals corresponding to each of the position determination methods; The displacement range corresponding to each of the aforementioned position determination methods is set.

6. The method according to claim 1, characterized in that, The step of obtaining the cursor control message sent by the first terminal includes: Obtain the cursor control message queue of the cloud game, the cursor control message queue being used to store the cursor control messages; Obtain the cursor control message sent by the first terminal from the cursor control message queue.

7. The method according to claim 6, characterized in that, After determining the target position of the cursor in the cloud gaming screen after the cursor has moved, the method further includes: Based on the target position, the cursor control message is encapsulated to obtain the target cursor control message corresponding to the cursor control message; Store the target cursor control message into the cursor control message queue; Rendering the target cloud gaming screen where the cursor is at the target position includes: Through the game process of the cloud game, the target cursor control message is retrieved from the cursor control message queue, and based on the target position in the target cursor control message, the target cloud game screen where the cursor is at the target position is rendered.

8. The method according to claim 7, characterized in that, The step of storing the target cursor control message to the cursor control message queue includes: When there are multiple cursor control messages, obtain the order of the multiple cursor control messages in the cursor control message queue; Based on the sorting, the target cursor control message corresponding to each cursor control message is stored in the cursor control message queue.

9. The method according to claim 1, characterized in that, Sending the target cloud gaming screen includes: The target cloud game screen is sent to the first terminal, so that the first terminal can send the target cloud game screen to the second terminal through the communication connection between the first terminal and the second terminal; Alternatively, the target cloud gaming screen can be sent to the second terminal.

10. A cursor control device for cloud gaming, characterized in that, The device includes: The acquisition module is used to acquire a cursor control message sent by a first terminal, the cursor control message being used to indicate the position of the cursor in the cloud game screen; wherein, the first terminal displays a virtual joystick for controlling the cursor in the cloud game, the cloud game screen is displayed on a second terminal, and the cursor control message is sent by the first terminal in response to a control operation on the virtual joystick; The parsing module is used to parse the cursor control message to obtain the control parameters corresponding to the virtual joystick; the control parameters include displacement parameters and direction parameters, the displacement parameters represent the displacement of the virtual joystick in the first terminal, and the direction parameters are used to indicate the movement direction of the cursor; A selection module is used to obtain the displacement interval corresponding to each position determination method, wherein the displacement interval represents the displacement range of the virtual joystick; the displacement represented by the displacement parameter is compared with each of the displacement intervals to obtain the target displacement interval corresponding to the displacement parameter; the position determination method corresponding to the target displacement interval is determined as the target position determination method; wherein, when the target displacement interval is a first displacement interval, the first fixed value determination method corresponding to the first displacement interval is determined as the target position determination method, and the first fixed value determination method is used to indicate the first displacement change value of the cursor; when the target displacement interval is a second displacement interval, the second fixed value determination method corresponding to the second displacement interval is determined as the target position determination method; the maximum displacement value of the first displacement interval is less than the minimum displacement value of the second displacement interval; the second fixed value determination method is used to indicate the second displacement change value of the cursor, and the first displacement change value is less than the second displacement change value; When the target displacement interval is the third displacement interval, the position mapping method corresponding to the third displacement interval is determined as the target position determination method; wherein, the third displacement interval is between the first displacement interval and the second displacement interval; based on the target position determination method, the target position of the cursor in the cloud game screen after movement is determined; wherein, when the target position determination method is the position mapping method corresponding to the third displacement interval, the target position of the cursor in the cloud game screen after movement is determined based on the direction parameter, the initial position of the cursor in the cloud game screen, and the third displacement change value; the third displacement change value is determined by: obtaining the first difference between the maximum displacement value and the minimum displacement value of the third displacement interval, and the second difference between the first displacement change value and the second displacement change value; obtaining the product of the first difference and the second difference, and determining the ratio of the displacement to the product, and using the ratio as the third displacement change value; The sending module is used to render the target cloud game screen where the cursor is located at the target position, and send the target cloud game screen so that the second terminal displays the target cloud game screen.

11. The apparatus according to claim 10, characterized in that, The control parameters also include direction parameters, which are used to indicate the movement direction of the cursor; The selection module is also used to obtain the initial position of the cursor in the game screen; When the target position is determined by the first fixed value determination method, the target position in the cloud gaming screen after the cursor moves is determined based on the direction parameter, the initial position and the first displacement change value. When the target position is determined by the second fixed value determination method, the target position in the cloud gaming screen after the cursor moves is determined based on the direction parameter, the initial position, and the second displacement change value.

12. The apparatus according to claim 10, characterized in that, The first displacement interval includes at least two first sub-intervals, each first sub-interval corresponding to a first fixed value determination method, and different first fixed value determination methods indicate different first displacement change values; the second displacement interval includes at least two second sub-intervals, each second sub-interval corresponding to a second fixed value determination method, and different second fixed value determination methods indicate different second displacement change values. The selection module is further configured to, when the target displacement interval is the first sub-interval in the first displacement interval, determine the first fixed value determination method corresponding to the first sub-interval as the target position determination method; When the target displacement interval is the second sub-interval in the second displacement interval, the second fixed value determination method corresponding to the second sub-interval is determined as the target position determination method.

13. The apparatus according to claim 10, characterized in that, The device further includes: An interval setting module is used to receive setting instructions for each of the aforementioned position determination methods, wherein the setting instructions are used to instruct the setting of the displacement interval corresponding to each of the aforementioned position determination methods; The setting instructions are parsed to obtain the displacement intervals corresponding to each of the position determination methods; The displacement range corresponding to each of the aforementioned position determination methods is set.

14. An electronic device, characterized in that, The electronic device includes: Memory is used to store executable instructions or computer programs. A processor, when executing computer-executable instructions or computer programs stored in the memory, implements the cursor control method in cloud gaming as described in any one of claims 1 to 9.

15. A computer-readable storage medium storing computer-executable instructions, characterized in that, When the computer-executable instructions are executed by the processor, they implement the cursor control method in cloud gaming as described in any one of claims 1 to 9.

16. A computer program product comprising a computer program or computer-executable instructions, characterized in that, When the computer program or computer-executable instructions are executed by the processor, they implement the cursor control method in cloud gaming as described in any one of claims 1 to 9.

Citation Information

Patent Citations

  • Cloud game control method and device, computer storage medium and electronic equipment

    CN110559651A

  • Cursor control method and device, electronic equipment and storage medium

    CN112650437A

  • Operation response method and system of cloud game,operation method and system of cloud game, and related device

    CN113778599A