Virtual skill control method, device, equipment, storage medium and program product

By matching the player's touch operation sequence of the virtual rocker and the touch operation sequence of the target skill on the mobile terminal, the problem of low success rate of virtual skills release is solved and the human-computer interaction efficiency is improved.

CN114210046BActive Publication Date: 2025-02-28TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111668429.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2021-10-18
Filing Date
2021-12-31
Publication Date
2025-02-28
Estimated Expiration
2041-12-31

AI Technical Summary

Technical Problem

After migrating the arcade game to a mobile terminal, it is difficult for players to accurately reach every key in the virtual rocker, resulting in low success rate of virtual skills release and low human-computer interaction efficiency.

Method used

By presenting the target virtual object and the virtual rocker in the interface of the virtual scene, receiving and matching the player's touch operation sequence on the virtual rocker and the touch operation sequence of the target skill, the target virtual object is controlled to release the virtual skills.

Benefits of technology

It improves the control success rate of virtual skills and the human-computer interaction efficiency, reduces the difficulty of rubbing, and makes it easier for players to successfully release virtual skills on their mobile phones.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114210046B_ABST
    Figure CN114210046B_ABST
Patent Text Reader

Abstract

The present application provides a method, device, equipment, computer-readable storage medium and computer program product for controlling a virtual skill; the method includes: presenting a target virtual object in an interface of a virtual scene, and a virtual joystick for controlling the target virtual object to release a virtual skill, the virtual joystick including at least two virtual keys; receiving a trigger operation for the virtual joystick, the trigger operation including a first touch operation sequence for a virtual key in the virtual joystick; in response to the trigger operation, when it is determined that the first touch operation sequence matches a sub-operation sequence in a second touch operation sequence corresponding to the target skill, controlling the target virtual object to release the target skill to assist the target virtual object in interacting with other virtual objects in the virtual scene. Through the present application, the control success rate of virtual skills and the efficiency of human-computer interaction can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] Priority statement

[0002] This application is an application with priority based on application number 202111211673.8, application date October 18, 2021, and name "Control method, device, equipment, storage medium and program product of virtual skills". Technical Field

[0003] The present application relates to human-computer interaction technology, and in particular to a control method, device, equipment, computer-readable storage medium and computer program product for virtual skills. Background Art

[0004] In most virtual scenarios, such as migrating arcade games to mobile terminals (such as mobile phones), due to changes in input devices, such as changing the physical joystick on the arcade game to a virtual joystick on the mobile terminal, players need to trigger hidden virtual skills through a series of touch operations on the keys in the virtual joystick. However, due to the non-tactile nature of the virtual joystick, after migrating the arcade game to the mobile terminal, it is difficult to accurately touch each key required for arcade moves, and it is difficult to successfully perform moves, which makes it difficult to successfully release virtual skills. In order to achieve a certain interactive purpose, players need to control the terminal to perform interactive operations multiple times, and the human-computer interaction efficiency is low. Summary of the invention

[0005] The embodiments of the present application provide a method, device, equipment, computer-readable storage medium and computer program product for controlling a virtual skill, which can improve the control success rate of the virtual skill and the efficiency of human-computer interaction.

[0006] The technical solution of the embodiment of the present application is implemented as follows:

[0007] The present application provides a method for controlling a virtual skill, including:

[0008] Presenting a target virtual object and a virtual joystick for controlling the target virtual object to release a virtual skill in an interface of a virtual scene, wherein the virtual joystick includes at least two virtual keys;

[0009] receiving a trigger operation for the virtual joystick, wherein the trigger operation includes a first touch operation sequence for a virtual key position in the virtual joystick;

[0010] In response to the trigger operation, when it is determined that the first touch operation sequence matches the sub-operation sequence in the second touch operation sequence corresponding to the target skill, the target virtual object is controlled to release the target skill to assist the target virtual object in interacting with other virtual objects in the virtual scene.

[0011] The present application embodiment provides a virtual skill control device, including:

[0012] An interface presentation module, used to present a target virtual object and a virtual joystick for controlling the target virtual object to release a virtual skill in an interface of a virtual scene, wherein the virtual joystick includes at least two virtual key positions;

[0013] A trigger receiving module, configured to receive a trigger operation for the virtual joystick, wherein the trigger operation includes a first touch operation sequence for a virtual key position in the virtual joystick;

[0014] The skill control module is used to control the target virtual object to release the target skill in response to the trigger operation, so as to assist the target virtual object to interact with other virtual objects in the virtual scene when determining that the first touch operation sequence matches the sub-operation sequence in the second touch operation sequence corresponding to the target skill.

[0015] In the above solution, the trigger receiving module is further used to receive at least two touch operations on the virtual key positions in the virtual joystick;

[0016] When the time interval between the touch moments corresponding to any two adjacent touch operations among the at least two touch operations is less than the first duration, the at least two touch operations are determined to be continuous touch operations, and a first touch operation sequence consisting of the at least two continuous touch operations is used as the trigger operation.

[0017] In the above scheme, the trigger receiving module is further used to take the touch moment of the first touch operation on the virtual joystick as the starting point, take the moment with a second time interval from the touch moment as the end point, and start collecting touch operations on the virtual key positions in the virtual joystick from the starting point until stopping collection at the end point;

[0018] When the number of the collected touch operations is at least two, a first touch operation sequence consisting of the at least two collected touch operations is used as the trigger operation.

[0019] In the above scheme, the trigger receiving module is further used to, when the first touch operation on the virtual key position in the virtual joystick is collected, take the touch moment of the first touch operation as the starting point to continue collecting the touch operation on the virtual key position in the virtual joystick;

[0020] When the time interval between adjacent touch operations collected does not exceed the third time length, continue to collect touch operations on the virtual key positions in the virtual joystick, and stop collecting when the time interval between the collected touch operation and the previous touch operation exceeds the third time length;

[0021] When the number of the collected touch operations is at least two, a first touch operation sequence consisting of the at least two collected touch operations is used as the trigger operation.

[0022] In the above solution, before controlling the target virtual object to release the target skill, the device further includes:

[0023] a matching determination module, configured to match the first touch operation sequence with the second touch operation sequence to obtain a matching degree;

[0024] When the matching degree reaches a matching degree threshold, it is determined that the first touch operation sequence matches a sub-operation sequence in the second touch operation sequence.

[0025] In the above solution, before determining that the first touch operation sequence matches a sub-operation sequence in a second touch operation sequence corresponding to the target skill, the device further includes:

[0026] A subsequence generation module, used for acquiring virtual key positions corresponding to each touch operation in the second touch operation sequence;

[0027] Extracting at least two key keys corresponding to the target skill from the multiple virtual keys corresponding to the second touch operation sequence;

[0028] Based on the extracted at least two key positions, at least two touch operation sequences are generated as sub-operation sequences of the second touch operation.

[0029] In the above solution, the matching determination module is further used to match the first touch operation sequence with each of the touch operation sequences to obtain a matching result;

[0030] When the matching result indicates that there is a touch operation sequence consistent with the first touch operation sequence in the at least two touch operation sequences, it is determined that the first touch operation sequence matches a sub-operation sequence in a second touch operation sequence corresponding to the target skill.

[0031] In the above solution, the device further comprises:

[0032] A total sequence generation module, used to obtain a plurality of virtual key positions for triggering the target skill, and a touch sequence corresponding to each of the virtual key positions;

[0033] Based on the touch sequence, sorting the touch operations corresponding to the corresponding virtual key positions to obtain the second touch operation sequence;

[0034] Correspondingly, the subsequence generation module is also used to perform selection of non-critical key positions from the plurality of virtual key positions multiple times;

[0035] Combining the at least two key positions and the non-key positions selected each time to obtain at least two key position sets;

[0036] According to the touch sequence corresponding to each of the virtual key positions, the touch operation sets corresponding to each of the key position sets are sorted to obtain the touch operation sequences corresponding to each of the key position sets as the sub-operation sequences of the second touch operation.

[0037] In the above solution, the subsequence generation module is further used to obtain reference information, and the reference information includes: at least one of the attributes of the target virtual object and the key operation habits of the user corresponding to the current login account;

[0038] Determining the positional relationship between the selected non-critical key position and the critical key position according to the reference information;

[0039] Based on the position relationship, the selection of non-critical key positions is performed multiple times from the multiple virtual key positions.

[0040] In the above solution, the device further comprises:

[0041] an operation control module, configured to determine a target virtual key position corresponding to the last touch operation in the first touch operation sequence when the first touch operation sequence does not match a sub-operation sequence in a second touch operation sequence corresponding to the target skill;

[0042] The target virtual object is controlled to execute the operation indicated by the operation instruction corresponding to the target virtual key position.

[0043] In the above solution, after controlling the target virtual object to release the target skill, the device further includes:

[0044] a re-control module, used for presenting a skill control for releasing the target skill again during the process of the target virtual object interacting with the other virtual objects;

[0045] In response to the triggering operation on the skill control, the target virtual object is controlled again to release the target skill.

[0046] In the above solution, after controlling the target virtual object to release the target skill again, the device further includes:

[0047] a presentation cancellation module, used to determine the presentation duration of the skill control, and when the presentation duration reaches a target duration, cancel the display of the skill control; or

[0048] Determine the number of times the target skill is released based on the skill control, and when the number of times reaches the target number, cancel the display of the skill control; or,

[0049] When the target virtual object ends interacting with the other virtual objects, the skill control is undisplayed.

[0050] An embodiment of the present application provides an electronic device, including:

[0051] A memory for storing executable instructions;

[0052] The processor is used to implement the control method of the virtual skill provided in the embodiment of the present application when executing the executable instructions stored in the memory.

[0053] An embodiment of the present application provides a computer-readable storage medium storing executable instructions for causing a processor to execute instructions to implement a method for controlling a virtual skill provided in an embodiment of the present application.

[0054] An embodiment of the present application provides a computer program product, including a computer program or instructions. When the computer program or instructions are executed by a processor, the control method of the virtual skill provided in the embodiment of the present application is implemented.

[0055] The embodiments of the present application have the following beneficial effects:

[0056] When the first touch operation sequence for the virtual key in the virtual joystick matches the sub-operation sequence in the second touch operation sequence corresponding to the target skill, the target virtual object can be controlled to release the target skill. In this way, the matching success rate of the first touch operation sequence and the sub-operation sequence corresponding to the target skill is improved, which reduces the difficulty of performing the moves and increases the success rate of releasing the virtual skills, thereby reducing the number of interactive operations performed to achieve a certain interactive purpose and improving the efficiency of human-computer interaction. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] Figure 1 A schematic diagram of the architecture of a control system 100 for virtual skills provided in an embodiment of the present application;

[0058] Figure 2 A schematic diagram of the structure of an electronic device 500 provided in an embodiment of the present application;

[0059] Figure 3 A flowchart of a method for controlling a virtual skill provided in an embodiment of the present application;

[0060] Figure 4 A schematic diagram of a touch operation sequence provided in an embodiment of the present application;

[0061] Figure 5A schematic diagram of an interface provided in an embodiment of the present application;

[0062] Figure 6 A schematic diagram of a touch operation sequence corresponding to a target skill provided in an embodiment of the present application;

[0063] Figure 7 A schematic diagram of a touch operation sequence input by a user provided in an embodiment of the present application;

[0064] Figure 8 A flowchart of a method for controlling a virtual skill provided in an embodiment of the present application;

[0065] Fig. 9 A schematic diagram of the structure of a virtual skill control device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0066] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. The described embodiments should not be regarded as limiting the present application. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of this application.

[0067] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be 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.

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

[0069] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0070] Before further describing the embodiments of the present application in detail, the nouns and terms involved in the embodiments of the present application are explained. The nouns and terms involved in the embodiments of the present application are subject to the following interpretations.

[0071] 1) Client: an application running in the terminal to provide various services, such as a video player client, a game client, etc.

[0072] 2) In response, it is used to indicate the conditions or states on which the executed operations depend. When the dependent conditions or states are met, one or more operations executed may be in real time or have a set delay. Unless otherwise specified, there is no restriction on the order of execution of the multiple operations executed.

[0073] 3) A virtual scene is a virtual scene displayed (or provided) when an application is running on a terminal. The virtual scene can be a simulation of the real world, a semi-simulation and semi-fictional virtual environment, or a purely fictional virtual environment. The virtual scene can be any of a two-dimensional virtual scene, a 2.5-dimensional virtual scene, or a three-dimensional virtual scene. The embodiment of the present application does not limit the dimension of the virtual scene.

[0074] For example, when the virtual scene is a three-dimensional virtual space, the three-dimensional virtual space can be an open space. The virtual scene can be used to simulate the real environment in reality. For example, the virtual scene can include the sky, land, ocean, etc., and the land can include environmental elements such as deserts and cities. Of course, the virtual scene can also include virtual items, such as buildings, vehicles, and weapons and other props used by virtual objects in the virtual scene to arm themselves or fight with other virtual objects. The virtual scene can also be used to simulate the real environment under different weather conditions, such as sunny days, rainy days, foggy days, or night weather. Users can control virtual objects to move in the virtual scene.

[0075] 4) Virtual objects, images of various people and objects that can interact in a virtual scene, or movable objects in a virtual scene. The movable objects can be virtual characters, virtual animals, cartoon characters, virtual props, etc., such as characters, animals, plants, props, oil drums, walls, stones, etc. displayed in a virtual scene. The virtual object can be a virtual image in the virtual scene that represents the user. A virtual scene can include multiple virtual objects, each of which has its own shape and volume in the virtual scene and occupies a part of the space in the virtual scene.

[0076] For example, the virtual object may be a user character controlled by an operation on the client, or an artificial intelligence (AI) set in a virtual scene battle through training, or a non-player character (NPC) set in a virtual scene interaction. Optionally, the virtual object may be a virtual character performing a confrontational interaction in the virtual scene. Optionally, the number of virtual objects participating in the interaction in the virtual scene may be pre-set or dynamically determined according to the number of clients joining the interaction.

[0077] Taking shooting games as an example, users can control virtual objects to fall freely, glide, or open parachutes to fall in the sky of the virtual scene, run, jump, crawl, bend forward, etc. on land, or control virtual objects to swim, float, or dive in the ocean. Of course, users can also control virtual objects to move in virtual vehicles in the virtual scene. For example, the virtual vehicle can be a virtual car, a virtual aircraft, a virtual yacht, etc. The above scenes are only used as examples, and the embodiments of the present application do not specifically limit this. Users can also control virtual objects to interact with other virtual objects in a confrontational manner through virtual props. For example, the virtual props can be throwing virtual props such as grenades, cluster mines, and sticky grenades, or shooting virtual props such as machine guns, pistols, and rifles. The present application does not specifically limit the control type of virtual props.

[0078] 5) Virtual skills: various special functions that can assist the target virtual object to interact with other virtual objects in the virtual scene. In actual applications, some virtual skills can be released by triggering the corresponding skill controls, and some virtual skills can be released by touching the corresponding touch operation sequence, where the touch operation sequence is obtained by sorting the trigger operations corresponding to the key combination composed of multiple virtual keys according to a certain touch order.

[0079] The virtual skill in the embodiment of the present application refers to a skill released by touching the corresponding touch operation sequence, that is, a virtual skill that can be released only when the move is successful. Usually, different virtual skills correspond to different touch operation sequences. When the user's touch operation sequence matches the touch operation sequence corresponding to the target skill, it is considered that the move is successful, that is, the user's touch operation can successfully release the target skill.

[0080] The so-called combo moves refers to the release of various skills through different button combinations in fighting, arcade or clearing games. When the player performs touch operations on the corresponding keys in sequence according to the combination keys, the corresponding skills will be released. For example, the touch operation sequence corresponding to the virtual skill "Tornado Kick" is: ↓↘→B. When the player performs the corresponding touch operations in this sequence, the combo move is considered successful, and the virtual skill "Tornado Kick" can be released.

[0081] 6) Scene data, which indicates the various characteristics of objects in the virtual scene during the interaction process, for example, it may include the position of the object in the virtual scene. Of course, different types of characteristics may be included according to the type of virtual scene; for example, in a virtual scene of a game, scene data may include the waiting time required for various functions configured in the virtual scene (depending on the number of times the same function can be used within a specific time), and may also indicate the attribute values ​​of various states of the game character, such as health value (energy value, also called red volume) and magic value (also called blue volume).

[0082] See also Figure 1 , Figure 1 The architecture diagram of the control system 100 of the virtual skill provided in the embodiment of the present application is to support an exemplary application. The terminals (exemplarily, the terminal 400-1 and the terminal 400-2) are connected to the server 200 via the network 300. The network 300 can be a wide area network or a local area network, or a combination of the two, and wireless or wired links are used to realize data transmission.

[0083] The terminal can be various types of user terminals such as smart phones, tablet computers, laptops, etc., and can also be desktop computers, game consoles, televisions, or a combination of any two or more of these data processing devices; the server 200 can be a separately configured server that supports various services, or it can be configured as a server cluster, or it can be a cloud server, etc.

[0084] In actual applications, the terminal is installed and runs an application that supports virtual scenes. The application can be any one of a first-person shooter (FPS) game, a third-person shooter game, a multiplayer online tactical competitive game (MOBA), a two-dimensional (2D) game application, a three-dimensional (3D) game application, a virtual reality application, a three-dimensional map program, or a multiplayer gunfight survival game. The application can also be a stand-alone application, such as a stand-alone 3D game program.

[0085] The virtual scene involved in the embodiments of the present application can be used to simulate a three-dimensional virtual space, which can be an open space. The virtual scene can be used to simulate a real environment in reality. For example, the virtual scene can include the sky, land, ocean, etc. The virtual scene can also include virtual objects, such as buildings, tables, vehicles, and weapons and other props required for virtual objects in the virtual scene to arm themselves or interact with other virtual objects. The virtual scene can also be used to simulate the real environment under different weather conditions, such as sunny days, rainy days, foggy days or night weather. In actual implementation, the user can use the terminal to control the virtual object to carry out activities in the virtual scene, and the activities include but are not limited to: adjusting body posture, crawling, running, riding, jumping, driving, picking up, shooting, attacking, throwing, cutting and poking at least one.

[0086] Taking the electronic game scene as an exemplary scene, the user can perform operations on the terminal in advance. After the terminal detects the user's operation, it can download the game configuration file of the electronic game. The game configuration file may include the application program, interface display data or virtual scene data of the electronic game, so that the user (or player) can call the game configuration file when logging into the electronic game on the terminal to render and display the electronic game interface. The user can perform touch operations on the terminal. After the terminal detects the touch operation, it can send a request to obtain the game data corresponding to the touch operation to the server. The server determines the game data corresponding to the touch operation based on the acquisition request and returns it to the terminal. The terminal renders and displays the game data. The game data may include virtual scene data, behavior data of virtual objects in the virtual scene, etc.

[0087] In actual applications, the terminal presents a target virtual object and a virtual joystick for controlling the target virtual object to release a virtual skill in an interface of a virtual scene, wherein the virtual joystick includes at least two virtual key positions; a trigger operation for the virtual joystick is received, wherein the trigger operation includes a first touch operation sequence for the virtual key positions in the virtual joystick; in response to the trigger operation, when it is determined that the first touch operation sequence matches a sub-operation sequence in a second touch operation sequence corresponding to the target skill, the target virtual object is controlled to release the target skill to assist the target virtual object in interacting with other virtual objects in the virtual scene.

[0088] See also Figure 2 , Figure 2 The electronic device 500 is a schematic diagram of the structure of the electronic device 500 provided in the embodiment of the present application. In practical applications, the electronic device 500 may be Figure 1 The terminal 400-1, the terminal 400-2 or the server in the embodiment of the present invention is an electronic device. Figure 1Taking the terminal 400 - 1 or the terminal 400 - 2 as an example, an electronic device for implementing the control method of the virtual skill of the embodiment of the present application is described. Figure 2 The electronic device 500 shown includes: at least one processor 510, a memory 550, at least one network interface 520 and a user interface 530. The various components in the electronic device 500 are coupled together via a bus system 540. It is understood that the bus system 540 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 540 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the bus system 540 is not described in detail. Figure 2 Various buses are labeled as bus system 540 .

[0089] The processor 510 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., where the general-purpose processor can be a microprocessor or any conventional processor, etc.

[0090] The user interface 530 includes one or more output devices 531 that enable presentation of media content, including one or more speakers and / or one or more visual display screens. The user interface 530 also includes one or more input devices 532, including user interface components that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.

[0091] The memory 550 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state memory, hard disk drives, optical disk drives, etc. The memory 550 may optionally include one or more storage devices that are physically remote from the processor 510.

[0092] The memory 550 includes a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memories. The non-volatile memory may be a read-only memory (ROM), and the volatile memory may be a random access memory (RAM). The memory 550 described in the embodiments of the present application is intended to include any suitable type of memory.

[0093] In some embodiments, the memory 550 can store data to support various operations, examples of which include programs, modules, and data structures, or a subset or superset thereof, as exemplarily described below.

[0094] Operating system 551, including system programs for processing various basic system services and performing hardware-related tasks, such as framework layer, core library layer, driver layer, etc., for implementing various basic services and processing hardware-based tasks;

[0095] A network communication module 552, for reaching other computing devices via one or more (wired or wireless) network interfaces 520, exemplary network interfaces 520 include: Bluetooth, Wireless Compatibility Certification (WiFi), and Universal Serial Bus (USB);

[0096] a presentation module 553 for enabling presentation of information via one or more output devices 531 (e.g., display screen, speaker, etc.) associated with the user interface 530 (e.g., a user interface for operating peripherals and displaying content and information);

[0097] The input processing module 554 is used to detect one or more user inputs or interactions from one of the one or more input devices 532 and translate the detected inputs or interactions.

[0098] In some embodiments, the control device of the virtual skill provided in the embodiments of the present application can be implemented in a software manner. Figure 2 A control device 555 for a virtual skill stored in a memory 550 is shown, which may be software in the form of a program or plug-in, including the following software modules: an interface presentation module 5551, a trigger receiving module 5552, and a skill control module 5553. These modules are logical, and therefore may be arbitrarily combined or further split according to the functions implemented. The functions of each module will be described below.

[0099] In some embodiments, the electronic device can implement the locking method of the virtual object in the virtual scene provided by the embodiment of the present application by running a computer program. For example, the computer program can be a native program or software module in the operating system; it can be a native application (APP, Application), that is, a program that needs to be installed in the operating system to run, such as a game APP; it can also be a small program, that is, a program that can be run only by downloading it to a browser environment; it can also be a game applet that can be embedded in any APP. In short, the above-mentioned computer program can be an application, module or plug-in in any form.

[0100] Next, the control method of the virtual skill provided in the embodiment of the present application is described. In actual implementation, the method can be implemented by the server or the terminal alone, or by the server and the terminal in collaboration. Figure 3 , Figure 3A flowchart of a method for controlling a virtual skill provided in an embodiment of the present application is provided. Figure 3 The steps shown are explained.

[0101] Step 101: The terminal presents a target virtual object and a virtual joystick for controlling the target virtual object to release a virtual skill in an interface of a virtual scene, wherein the virtual joystick includes at least two virtual key positions.

[0102] A client supporting virtual scenes is installed on the terminal. When the user opens the client on the terminal and the terminal runs the client, the terminal presents an interface of the virtual scene observed from the perspective of the target virtual object, wherein the target virtual object is a virtual object in the virtual scene corresponding to the current user account. The user (also known as the player) can control the target virtual object to interact with other virtual objects in the virtual scene based on the interface of the virtual scene, such as controlling the target virtual object to hold virtual shooting props (such as virtual sniper firearms, virtual submachine guns, virtual shotguns, etc.) to shoot other virtual objects, or controlling the target virtual object to release virtual skills to act on other virtual objects, wherein other virtual objects are virtual objects in the virtual scene corresponding to other user accounts different from the current user account, and can be in a hostile relationship with the target virtual object.

[0103] When virtual scenes such as arcade games are migrated to mobile terminals (such as mobile phones), the virtual joystick carries the functions of the physical joystick, and the control of the target virtual object and the release of virtual skills can be controlled by touching the virtual keys in the virtual joystick.

[0104] Step 102: receiving a trigger operation for a virtual joystick, where the trigger operation includes a first touch operation sequence for a virtual key position in the virtual joystick.

[0105] In some embodiments, the terminal may receive a trigger operation for a virtual joystick in the following manner: receiving at least two touch operations for virtual key positions in the virtual joystick; when the time interval between the touch moments corresponding to any two adjacent touch operations in the at least two touch operations is less than a first duration, determining that the at least two touch operations are continuous touch operations, and using a first touch operation sequence consisting of at least two continuous touch operations as a trigger operation for the virtual joystick.

[0106] Here, in actual application, the terminal may receive touch operations in the form of a touch operation set, wherein the touch operations in the touch operation set may be arranged in sequence according to the touch order of the touch operations. After receiving the touch operation set, the terminal judges all the touch operations received in the touch operation set to determine whether they belong to the same group. When judging, all the touch operations in the touch operation set are judged one by one, such as obtaining the time interval between the touch moments corresponding to any two adjacent touch operations, and comparing each time interval with a preset first time length. When each time interval is shorter than the first time length, all the touch operations in the received touch operation set may be determined to be the same group. At this time, the touch operation set can be used as the first touch operation sequence. When a certain time interval exceeds the first time length, When the time interval is one second, the two touch operations corresponding to the time interval cannot be regarded as a group. The two touch operations whose time interval exceeds the first time interval are used as the benchmark to divide the touch operations in the touch operation set into several touch operation sequences. For example, the touch operation set is: [A, B, C, D, E, F, G]. Assuming that the first time interval is 0.3 seconds, the time intervals between the two are: 0.1 seconds, 0.1 seconds, 0.2 seconds, 0.4 seconds, 0.1 seconds, 0.2 seconds respectively. Then A, B, C, D in the touch operation set can be regarded as a continuous touch operation, and E, F, G can be regarded as another continuous touch operation. Therefore, the touch operation set is divided into two touch operation sequences [A, B, C, D] and [E, F, G], and these two touch operation sequences are respectively used as trigger operations for the virtual joystick.

[0107] In some embodiments, the terminal may receive a trigger operation for a virtual joystick in the following manner: taking the touch moment of the first touch operation on the virtual joystick as the starting point, taking the moment with a second time interval from the touch moment as the end point, and starting to collect touch operations on virtual key positions in the virtual joystick from the starting point until stopping collection at the end point; when the number of collected touch operations is at least two, taking a first touch operation sequence consisting of at least two collected touch operations as the trigger operation for the virtual joystick.

[0108] Here, in actual application, the first touch operation sequence can also be a touch operation sequence consisting of all touch operations collected within a preset time period, starting from the touch moment of the first touch operation on the virtual joystick. For example, all touch operations collected within 1 second starting from the starting point are combined according to the touch order of the touch operations to obtain the first touch operation sequence as the trigger operation for the virtual joystick.

[0109] In some embodiments, the terminal may receive a trigger operation for a virtual joystick in the following manner: when the first touch operation for a virtual key position in the virtual joystick is collected, taking the touch moment of the first touch operation as the starting point, continue to collect touch operations for the virtual key positions in the virtual joystick; when the time interval between adjacent touch operations collected does not exceed a third time length, continue to collect touch operations for the virtual key positions in the virtual joystick, and stop collecting when the time interval between the collected touch operation and the previous touch operation exceeds the third time length; when the number of collected touch operations is at least two, use a first touch operation sequence consisting of at least two collected touch operations as a trigger operation for the virtual joystick.

[0110] Here, in actual application, the terminal can also judge the time intervals of adjacent touch operations collected in real time, start collecting from the first touch operation, and when the time intervals between adjacent touch operations collected do not exceed the preset third time length, continue collecting until the time intervals between adjacent touch operations collected are greater than the preset third time length, then stop collecting, and use all the touch operations collected at this stage and the first touch operation sequence obtained by combining the touch order of the touch operations as the trigger operation for the virtual joystick.

[0111] It should be noted that each touch operation received by the terminal for a virtual key position carries the key position information indicating the corresponding virtual key position and the corresponding touch moment. In actual applications, considering that the touch operation sequence corresponding to the virtual skill is a finite set, the collection duration can also be limited. That is, when the time interval between the touch moments of any two adjacent touch operations in the continuously collected touch operations is less than the preset third duration, the touch operation sequence obtained by the touch operation combination collected from the starting point within the preset duration (such as 1 second) will be used as a trigger operation for the virtual joystick, and the touch operation sequence obtained by the touch operation combination collected only within the subsequent preset duration (such as 1 second) will be used as another trigger operation for the virtual joystick, and so on.

[0112] Step 103: In response to the trigger operation, when it is determined that the first touch operation sequence matches the sub-operation sequence in the second touch operation sequence corresponding to the target skill, the target virtual object is controlled to release the target skill to assist the target virtual object to interact with other virtual objects in the virtual scene.

[0113] Among them, the second touch operation sequence is a complete touch operation sequence corresponding to the physical joystick that can trigger the target skill release instruction. The sub-operation sequence is a subset of the second touch operation sequence, also called a simplified operation sequence relative to the complete touch operation sequence of the physical joystick. When the player's first touch operation sequence for the virtual joystick matches the sub-operation sequence (simplified operation sequence) corresponding to the target skill, it can be considered that the move is successful, that is, the release of the target virtual skill is successfully triggered. In this way, the difficulty of the move can be reduced and the success rate of the move can be improved.

[0114] For example, see Figure 4 , Figure 4 A schematic diagram of a touch operation sequence provided in an embodiment of the present application. For a target skill, the second touch operation sequence is: abcde, and the sub-operation sequence can be set to: acde, bcde, abd.

[0115] In some embodiments, before the terminal controls the target virtual object to release the target skill, the first touch operation sequence can be matched with the second touch operation sequence to obtain a matching degree; when the matching degree reaches a matching degree threshold, it is determined that the first touch operation sequence matches the sub-operation sequence in the second touch operation sequence.

[0116] Here, in actual implementation, after the terminal obtains the first touch operation sequence, it matches the first touch operation sequence with the second touch operation sequence corresponding to the target skill. When the matching degree reaches the matching degree threshold (such as 90%), it can be determined that the first touch operation sequence can successfully trigger the release of the target skill.

[0117] In some embodiments, after the terminal obtains the first touch operation sequence, it can first match the first touch operation sequence with the second touch operation sequence corresponding to the target skill. When the two are consistent, it is determined that the first touch operation sequence matches the second touch operation sequence, which can trigger the release of the target skill. In this case, there is no need to match the sub-touch operation sequence corresponding to the target skill; when the two are inconsistent, the first touch operation sequence is matched with the sub-touch operation sequence. When the first touch operation sequence is consistent with the sub-touch operation sequence, it is determined that the match is successful, which can trigger the release of the target skill.

[0118] In some embodiments, before determining that the first touch operation sequence matches the sub-operation sequence in the second touch operation sequence corresponding to the target skill, the terminal may also generate a sub-operation sequence in the following manner: obtaining virtual key positions corresponding to each touch operation in the second touch operation sequence; extracting at least two key key positions corresponding to the target skill from multiple virtual key positions corresponding to the second touch operation sequence; and generating at least two touch operation sequences based on the extracted at least two key key positions as sub-operation sequences of the second touch operation.

[0119] Correspondingly, the terminal can determine that the first touch operation sequence matches the sub-operation sequence in the following manner: match the first touch operation sequence with each touch operation sequence respectively to obtain a matching result; when the matching result represents that there is a touch operation sequence consistent with the first touch operation sequence in at least two touch operation sequences, determine that the first touch operation sequence matches the sub-operation sequence in the second touch operation sequence corresponding to the target skill.

[0120] For example, for the target skill, the corresponding second touch operation sequence is: abcdef, wherein each element in the sequence indicates the virtual key position of the corresponding touch operation, and the key key position refers to the virtual key position that plays a key role in successfully triggering the release of the target skill. For example, if the key key position is: a, d, then a touch operation sequence containing the key key position is generated based on the key key position as a sub-touch operation sequence, such as the sub-touch operation sequence can be set to: ad, abd, abde, abcdf, adef, etc. After receiving the first touch operation sequence, the terminal matches the first touch operation sequence with the sub-touch operation sequence corresponding to the target skill. When there is a touch operation sequence consistent with the first touch operation in all sub-touch operation sequences, it is determined that the first touch operation sequence matches the sub-operation sequence in the second touch operation sequence corresponding to the target skill, and the release of the target skill can be triggered.

[0121] In some embodiments, the terminal can obtain the second touch operation sequence in the following manner: obtain multiple virtual key positions for triggering the target skill, and the touch order corresponding to each virtual key position; based on the touch order, sort the touch operations corresponding to the corresponding virtual key positions to obtain the second touch operation sequence; accordingly, the terminal can generate at least two touch operation sequences as sub-operation sequences of the second touch operation based on the extracted at least two key positions in the following manner: execute the selection of non-key key positions from multiple virtual key positions multiple times; combine at least two key key positions and the non-key key positions selected each time to obtain at least two key position sets; sort the touch operation sets corresponding to each key position set according to the touch order corresponding to each virtual key position, and obtain the touch operation sequence corresponding to each key position set as the sub-operation sequence of the second touch operation.

[0122] Still taking the second touch operation sequence abcdef as an example, each element in the sequence is used to indicate a touch operation for a virtual key position, and the touch operation carries the key position information of the corresponding virtual key position and the corresponding touch order, such as touch operation a corresponds to virtual key position 1, and the touch order of touch operation a is before touch operation b. In practical applications, the touch operations in the sequence may also carry the corresponding touch moments, and the touch order may be determined according to the touch moments.

[0123] In some embodiments, the terminal can execute the selection of non-critical key positions multiple times from multiple virtual key positions in the following manner: obtain reference information, wherein the reference information includes at least one of the attributes of the target virtual object and the key operation habits of the user corresponding to the current login account; determine the positional relationship between the selected non-critical key position and the critical key position based on the reference information; and execute the selection of non-critical key positions multiple times from multiple virtual key positions based on the positional relationship.

[0124] In actual implementation, the attributes in the reference information refer to the interactive characteristics of the target virtual object, such as attack power attributes, dodge attributes, etc. The key operation habits are obtained based on the historical operations of the user corresponding to the current login account. According to the reference information, the non-critical keys frequently used by users and the relative position relationship with the critical keys are screened out from all virtual keys in the virtual joystick to generate a sub-operation sequence, and then based on the generated sub-operation sequence, the success rate of the combo is improved.

[0125] In some embodiments, when the first touch operation sequence does not match the sub-operation sequence in the second touch operation sequence corresponding to the target skill, the terminal can determine the target virtual key position corresponding to the last touch operation in the first touch operation sequence; control the target virtual object to perform the operation indicated by the operation instruction corresponding to the target virtual key position.

[0126] Here, when the first touch operation sequence is inconsistent with the second touch operation and the sub-operation sequence, the target virtual object is controlled to perform the operation indicated by the target virtual key position corresponding to the last touch operation in the first touch operation sequence. For example, the first touch operation sequence is: abcdef, the target virtual key position is the virtual key position corresponding to the touch operation f, and assuming that the virtual key position corresponding to the touch operation f indicates right move, the target virtual object is controlled to move right.

[0127] In some embodiments, after the terminal controls the target virtual object to release the target skill, during the process of the target virtual object interacting with other virtual objects, a skill control for releasing the target skill again may be presented; in response to a trigger operation on the skill control, the target virtual object is controlled again to release the target skill.

[0128] Here, when the target skill is released successfully by triggering the virtual joystick, the skill control for releasing the target skill can be presented in the interface of the virtual scene. In this way, when the user wants to control the target virtual object to release the target skill again, the target skill can be released again by only triggering the skill control, without having to perform a series of touch operation sequences corresponding to the target skills, thereby further improving the skill release efficiency and human-computer interaction efficiency.

[0129] In some embodiments, after the terminal controls the target virtual object to release the target skill again, the skill control is canceled when at least one of the following conditions is met: determining the presentation duration of the skill control, and canceling the display of the skill control when the presentation duration reaches the target duration; or determining the number of releases of the target skill based on the skill control, and canceling the display of the skill control when the number of releases reaches the target number; or, canceling the display of the skill control when the target virtual object ends its interaction with other virtual objects.

[0130] Here, the skill control for releasing the target skill again presented when the move is successfully performed is not always presented in the interface of the virtual scene. In actual applications, the presentation time or the number of uses (i.e., the number of times the skill is released) of the skill control can be limited. When the presentation time reaches the preset target time, or the number of uses of the skill control reaches the preset target number of times, the skill control is cancelled. In this case, if you still want to use the target skill later, you still need to perform the move operation, that is, perform the above-mentioned touch operation on the virtual key position in the virtual joystick, and when the touch operation sequence for the virtual key position matches the touch operation sequence of the target skill successfully, the target skill can be released only after the move is successfully performed. This can not only improve the usage rate of the move and the enthusiasm for interaction, but also maintain the ecological balance of the virtual scene.

[0131] In addition, the presentation duration of the skill control can also be related to the interaction of the target virtual object. For example, when the target virtual object ends its interaction with other virtual objects, such as when the target virtual object defeats other virtual objects and enters the next round, or when the target virtual object fails to interact in the virtual scene, the skill control is canceled. It is understandable that if the target virtual object is in the next round, or when the user starts a new round, if he wants to continue to use the target skill, he still needs to perform the above-mentioned rubbing operation. Only when the rubbing is successful can the target skill be released. This can not only increase the use rate of rubbing and the enthusiasm for interaction, but also maintain the ecological balance of the virtual scene.

[0132] Below, an exemplary application of the embodiment of the present application in an actual application scenario will be described. Taking the virtual scene as an arcade migration game as an example, the so-called arcade migration game refers to a game that migrates an arcade game to a mobile phone. Due to the change of the input device, such as the input device for the rubbing moves in the traditional arcade game is a physical joystick, and the player achieves the purpose of rubbing moves by holding and moving the physical joystick. After migrating the arcade game to the mobile phone, on the mobile phone platform, the input device for rubbing moves becomes a virtual joystick, and the player generally slides the virtual joystick with a single finger to perform rubbing moves. Compared with the rotation operation of holding the physical joystick in a limited rotation space, the operation of sliding the virtual joystick with a single finger has a great improvement in the difficulty of sliding to a specified position. In view of the distance relationship between the position of a single finger and each virtual key position in the virtual joystick, it will be difficult to accurately reach each key position required for the arcade rubbing moves, and the difficulty of rubbing moves is relatively large, which makes it difficult to successfully release virtual skills, so that players need to control the terminal to perform interactive operations multiple times to achieve a certain interactive purpose, and the efficiency of human-computer interaction is low.

[0133] See also Figure 5 , Figure 5 The interface diagram provided in the embodiment of the present application shows that the related technology reduces the precision requirement of the operation by enlarging the virtual joystick to improve the success rate of the trick; however, a virtual joystick that is too large cannot meet the differentiated needs brought about by different player devices, player hand size and personal operating habits, and is not universal; moreover, a virtual joystick that is too large takes up too much display space, which not only wastes display resources but also affects the appearance of the overall interface; more importantly, enlarging the virtual joystick does not fundamentally solve the input problem brought about by the virtual joystick relative to the physical joystick, and the improvement in the success rate of the trick is relatively limited.

[0134] To this end, an embodiment of the present application provides a method for controlling a virtual skill, by matching a first touch operation sequence consisting of touch operations received on virtual keys in a virtual joystick with a simplified operation sequence (the above-mentioned sub-operation sequence) corresponding to the target skill. When the two are successfully matched, the target virtual object can be controlled to release the target skill. Since the simplified operation sequence is a subset of the complete touch operation sequence (i.e., the above-mentioned second touch operation sequence) corresponding to the physical joystick and capable of triggering the target skill release instruction, the matching success rate is improved compared with the complete touch operation sequence, which can improve the success rate of the combo moves and achieve the experience effect of making combo moves successfully easier on the mobile phone.

[0135] In actual implementation, before touching the first touch operation sequence used to release the target skill, a dictionary of touch operations that can execute the target skill release instructions is first set, and the dictionary of touch operations includes a complete touch operation sequence and several simplified sub-touch operation sequences; when the user wants to use the target skill, he can touch the virtual key position in the virtual joystick, and the terminal receives the first touch operation sequence for the virtual key position in the virtual joystick, and matches the received first touch operation sequence with the touch operation sequence in the dictionary of touch operations. When the match is successful, the target virtual object can be controlled to release the target skill to assist the target virtual object in interacting with other virtual objects in the game.

[0136] See also Figure 6 , Figure 6 A schematic diagram of the touch operation sequence corresponding to the target skill provided in the embodiment of the present application, assuming that for the target skill, the corresponding complete touch operation sequence that can trigger the release of the target skill is: 1-2-3-4-5-6, wherein the serial number represents the touch order of the corresponding virtual key positions in the virtual joystick, and according to at least one of the attributes of the target virtual object and the key operation habits of the player corresponding to the current login account, the key positions 1, 2, 4, 6 are extracted from the virtual key positions of the virtual joystick, and based on the extracted key positions, a simplified touch operation sequence that can successfully trigger the release of the target skill is generated, such as simplified touch operation sequences 1-2-4-6, 1-2-3-4-6, 1-2-4-5-6, and so on.

[0137] See also Figure 7 , Figure 7 This is a schematic diagram of a touch operation sequence of a user input provided in an embodiment of the present application. For the sake of convenience, letters are used to represent the player's key input sequence. Figure 7 The diagram shows various situations in which it can be determined that the touch operation sequence input by the player can successfully trigger the release of the target skill. For example, in (i), the touch operation sequence input by the player is abcd, where a, b, c, and d are respectively Figure 6 1, 2, 4, and 6 in the figure correspond to each other, which perfectly covers the key positions of the target skill. That is, the touch operation sequence (abcd) input by the user is consistent with the sub-touch operation sequence, which means that the move is considered successful. For example, in (ii), the touch operation sequence input by the player is abcd, where a, b, and c correspond to Figure 6 1, 2, and 4 in the figure correspond to each other, and the end point d corresponds to Figure 6 There is a deviation in 6. Although the touch operation at the end point is not in place, considering the continuity of the overall touch operation, it can be considered that the move is successful at this time; as in (iii), the touch operation sequence input by the player is abcd, where b, c, and d are respectively Figure 6 2, 4, and 6 in correspondence, the starting point a corresponds to Figure 6There is a deviation in 1. Although the touch operation at the starting point is not in place, considering the continuity of the overall touch operation, it can be considered that the move is successful at this time; as in (iv), the touch operation sequence input by the player is abcd, where b and c are respectively Figure 6 2 and 4 in the figure correspond to each other, and the starting point a and the ending point d correspond to Figure 6 There are deviations between 1 and 6 in the figure. Although the touch operation at the end point and the end point is not in place, considering the continuity of the overall touch operation, it can be considered that the move is successful at this time. For example, in (v), the touch operation sequence input by the player is abcde, where b, d, and e are respectively Figure 6 2, 4, and 6 in correspondence, the starting point a corresponds to Figure 6 There is a deviation in 1, and c is a non-critical key position, that is, the player touches the non-critical key position in addition to the critical key position. Although the touch operation at the end point is not in place, considering the continuity of the overall touch operation, it can be considered that the move is successful at this time.

[0138] See also Figure 8 , Figure 8 A flow chart of a method for controlling a virtual skill provided in an embodiment of the present application, the method comprising:

[0139] Step 201: The terminal determines a touch-control dictionary corresponding to a target skill, where the touch-control dictionary includes a complete touch-control operation sequence and multiple simplified touch-control operation sequences that can trigger the release of the target skill.

[0140] Step 202: When the first touch operation on the virtual key position in the virtual joystick is collected, the touch operation on the virtual key position in the virtual joystick is collected with the touch moment of the first touch operation as the starting point.

[0141] Step 203: Determine whether the time interval between the collected adjacent touch operations exceeds the target duration.

[0142] Here, after the editing layer (such as the cocos layer) of the game on the terminal collects the touch operations input by the user, it judges whether the time interval between adjacent touch operations exceeds the target duration. The purpose of the judgment is to determine whether the adjacent touch operations can be regarded as a touch operation sequence, wherein the target duration can be set. For example, assuming that the target duration is 0.3 seconds, when the two adjacent touch operations collected are A and B, if the time interval between A and B is less than or equal to 0.3 seconds, the touch operations A and B are regarded as the same touch operation sequence AB; if the time interval between A and B is greater than 0.3 seconds, the touch operations A and B are regarded as two touch operation sequences A and B.

[0143] When the time interval between adjacent touch operations does not exceed the target duration, step 204 is executed; when the time interval between adjacent touch operations exceeds the target duration, step 205 is executed.

[0144] Step 204: Continue to collect touch operations on the virtual keys in the virtual joystick.

[0145] Here, if the time interval between the currently collected touch operation and the previously collected touch operation does not exceed the target duration, the touch operation input by the player will continue to be collected until the time interval between the currently collected touch operation and the previously collected touch operation exceeds the target duration, or the collection will be stopped when the player stops inputting the touch operation.

[0146] Step 205: Stop collecting touch operations on the virtual keys in the virtual joystick.

[0147] Step 206: combining the collected multiple touch operations according to the touch order to obtain a first touch operation sequence.

[0148] Step 207: Determine whether the first touch operation sequence matches the complete touch operation sequence of the target skill.

[0149] Here, the collected first touch operation sequence is matched with the touch operation sequence in the dictionary of the target skill. When matching, the first touch operation sequence can be matched with the complete touch operation sequence of the target skill. When the two match, step 209 is executed; otherwise, step 208 is executed.

[0150] Step 208: Determine whether the first touch operation sequence matches the simplified touch operation sequence of the target skill.

[0151] Here, when the first touch operation sequence does not match the complete touch operation sequence of the target skill, further, the first touch operation sequence is matched with the simplified operation sequence in the dictionary of the target skill. When the first touch operation sequence matches the simplified operation sequence, execute step 209; otherwise, execute 210.

[0152] Step 209: Control the target virtual object to release the target skill.

[0153] Here, the editing layer transmits the judgment result to the simulator layer (such as the ROM layer), and the simulator layer performs corresponding operations according to the judgment result. For example, when the judgment result indicates that the move is successful, the simulator layer controls the target virtual object to release the target skill; when the judgment result indicates that the move is unsuccessful, the simulator layer controls the target virtual object to perform other operations (i.e., execute step 210).

[0154] Step 210: Control the target virtual object to perform other operations.

[0155] For example, when the first touch operation sequence does not match the simplified operation sequence, the terminal may determine the target virtual key corresponding to the last touch operation in the first touch operation sequence, and control the target virtual object to perform the operation indicated by the operation instruction corresponding to the target virtual key.

[0156] Here, after the terminal completes processing the current first touch operation sequence, it may continue to collect other touch operations, and process the subsequently collected touch operations according to the above process.

[0157] Through the above method, a fuzzy matching method is adopted to match the first touch operation sequence input by the player with the complete touch operation sequence or the simplified touch operation sequence corresponding to the target skill. When the match with any touch operation sequence is successful, it can be considered that the move is successful. In this way, the impact of the difficulty of players in reaching certain key positions on the mobile phone, which makes it difficult to successfully perform the move, is weakened, and the success rate of the move is improved. For example, before adopting the fuzzy judgment provided in the embodiment of the present application, the success rate of the move is mostly less than 40%, and some are even less than 20%. After adopting the fuzzy judgment scheme, the overall success rate of the move reaches more than 60%, and some settings reach more than 80%.

[0158] Furthermore, the embodiments of the present application do not need to present an overly large virtual joystick in the interface, which saves display resources and makes the display interface more reasonable. Since in most cases, the player's combo operations have specific combo targets, the player's gaming experience in the arcade can be restored in a fuzzy matching mode that does not violate fairness.

[0159] The following is a description of an exemplary structure of a virtual skill control device 555 provided in an embodiment of the present application implemented as a software module. In some embodiments, see Fig. 9 , Fig. 9 A schematic diagram of the structure of a control device for a virtual skill provided in an embodiment of the present application, stored in Figure 2 The software modules in the virtual skill control device 555 of the memory 550 may include:

[0160] An interface presentation module 5551, used for presenting a target virtual object and a virtual joystick for controlling the target virtual object to release a virtual skill in an interface of a virtual scene, wherein the virtual joystick includes at least two virtual keys;

[0161] A trigger receiving module 5552 is used to receive a trigger operation for the virtual joystick, where the trigger operation includes a first touch operation sequence for a virtual key position in the virtual joystick;

[0162] The skill control module 5553 is used to respond to the trigger operation and determine that the first touch operation sequence matches the sub-operation sequence in the second touch operation sequence corresponding to the target skill, and then control the target virtual object to release the target skill to assist the target virtual object to interact with other virtual objects in the virtual scene.

[0163] In some embodiments, the trigger receiving module is further used to receive at least two touch operations on the virtual keys in the virtual joystick;

[0164] When the time interval between the touch moments corresponding to any two adjacent touch operations among the at least two touch operations is less than the first duration, the at least two touch operations are determined to be continuous touch operations, and a first touch operation sequence consisting of the at least two continuous touch operations is used as the trigger operation.

[0165] In some embodiments, the trigger receiving module is further used to take the touch moment of the first touch operation on the virtual joystick as the starting point, take the moment with a second time interval from the touch moment as the end point, and start collecting touch operations on the virtual key positions in the virtual joystick from the starting point until stopping collection at the end point;

[0166] When the number of the collected touch operations is at least two, a first touch operation sequence consisting of the at least two collected touch operations is used as the trigger operation.

[0167] In some embodiments, the trigger receiving module is further used to, when the first touch operation on the virtual key position in the virtual joystick is collected, take the touch moment of the first touch operation as the starting point to continue collecting the touch operation on the virtual key position in the virtual joystick;

[0168] When the time interval between adjacent touch operations collected does not exceed the third time length, continue to collect touch operations on the virtual key positions in the virtual joystick, and stop collecting when the time interval between the collected touch operation and the previous touch operation exceeds the third time length;

[0169] When the number of the collected touch operations is at least two, a first touch operation sequence consisting of the at least two collected touch operations is used as the trigger operation.

[0170] In some embodiments, before controlling the target virtual object to release the target skill, the device further includes:

[0171] a matching determination module, configured to match the first touch operation sequence with the second touch operation sequence to obtain a matching degree;

[0172] When the matching degree reaches a matching degree threshold, it is determined that the first touch operation sequence matches a sub-operation sequence in the second touch operation sequence.

[0173] In some embodiments, before determining that the first touch operation sequence matches a sub-operation sequence in a second touch operation sequence corresponding to the target skill, the device further includes:

[0174] A subsequence generation module, used for acquiring virtual key positions corresponding to each touch operation in the second touch operation sequence;

[0175] Extracting at least two key keys corresponding to the target skill from the multiple virtual keys corresponding to the second touch operation sequence;

[0176] Based on the extracted at least two key positions, at least two touch operation sequences are generated as sub-operation sequences of the second touch operation.

[0177] In some embodiments, the matching determination module is further used to match the first touch operation sequence with each of the touch operation sequences to obtain a matching result;

[0178] When the matching result indicates that there is a touch operation sequence consistent with the first touch operation sequence in the at least two touch operation sequences, it is determined that the first touch operation sequence matches a sub-operation sequence in a second touch operation sequence corresponding to the target skill.

[0179] In some embodiments, the apparatus further comprises:

[0180] A total sequence generation module, used to obtain a plurality of virtual key positions for triggering the target skill, and a touch sequence corresponding to each of the virtual key positions;

[0181] Based on the touch sequence, sorting the touch operations corresponding to the corresponding virtual key positions to obtain the second touch operation sequence;

[0182] Correspondingly, the subsequence generation module is also used to perform selection of non-critical key positions from the plurality of virtual key positions multiple times;

[0183] Combining the at least two key positions and the non-key positions selected each time to obtain at least two key position sets;

[0184] According to the touch sequence corresponding to each of the virtual key positions, the touch operation sets corresponding to each of the key position sets are sorted to obtain the touch operation sequences corresponding to each of the key position sets as the sub-operation sequences of the second touch operation.

[0185] In some embodiments, the subsequence generation module is further used to obtain reference information, the reference information including: at least one of the attributes of the target virtual object and the key operation habits of the user corresponding to the current login account;

[0186] Determining the positional relationship between the selected non-critical key position and the critical key position according to the reference information;

[0187] Based on the position relationship, the selection of non-critical key positions is performed multiple times from the multiple virtual key positions.

[0188] In some embodiments, the apparatus further comprises:

[0189] an operation control module, configured to determine a target virtual key position corresponding to the last touch operation in the first touch operation sequence when the first touch operation sequence does not match a sub-operation sequence in a second touch operation sequence corresponding to the target skill;

[0190] The target virtual object is controlled to execute the operation indicated by the operation instruction corresponding to the target virtual key position.

[0191] In some embodiments, after controlling the target virtual object to release the target skill, the device further includes:

[0192] a re-control module, used for presenting a skill control for releasing the target skill again during the process of the target virtual object interacting with the other virtual objects;

[0193] In response to the triggering operation on the skill control, the target virtual object is controlled again to release the target skill.

[0194] In some embodiments, after controlling the target virtual object again to release the target skill, the device further includes:

[0195] a presentation cancellation module, used to determine the presentation duration of the skill control, and when the presentation duration reaches a target duration, cancel the display of the skill control; or

[0196] Determine the number of times the target skill is released based on the skill control, and when the number of times reaches the target number, cancel the display of the skill control; or,

[0197] When the target virtual object ends interacting with the other virtual objects, the skill control is undisplayed.

[0198] The embodiment of the present application provides a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the control method of the virtual skill described in the embodiment of the present application.

[0199] The present application embodiment provides a computer-readable storage medium storing executable instructions, wherein the executable instructions are stored. When the executable instructions are executed by a processor, the processor will execute the control method of the virtual skill provided by the present application embodiment, for example, Figure 3 The method shown.

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

[0201] In some embodiments, executable instructions may be in the form of a program, software, software module, script 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 a stand-alone program or as a module, component, subroutine or other unit suitable for use in a computing environment.

[0202] As an example, executable instructions may, but need not, correspond to a file in a file system, may be stored as part of a file that stores other programs or data, such as 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 coordinated files (e.g., files storing one or more modules, subroutines, or code portions).

[0203] By way of example, executable instructions may be deployed to be executed on one computing device, or on multiple computing devices located at one site, or on multiple computing devices distributed across multiple sites and interconnected by a communication network.

[0204] The above is only an embodiment of the present application and is not intended to limit the protection scope of the present application. Any modifications, equivalent substitutions and improvements made within the spirit and scope of the present application are included in the protection scope of the present application.

Claims

1. A method for controlling a virtual skill, characterized in that: The method comprises: Presenting a target virtual object and a virtual joystick for controlling the target virtual object to release a virtual skill in an interface of a virtual scene, wherein the virtual joystick includes at least two virtual key positions; receiving a trigger operation for the virtual joystick, wherein the trigger operation includes a first touch operation sequence for a virtual key position in the virtual joystick; In response to the trigger operation, when it is determined that the first touch operation sequence matches a sub-operation sequence in a second touch operation sequence corresponding to the target skill, controlling the target virtual object to release the target skill to assist the target virtual object in interacting with other virtual objects in the virtual scene; The receiving of a trigger operation for the virtual joystick includes: receiving at least two touch operations on the virtual keys in the virtual joystick, and when the time interval between the touch moments corresponding to any two adjacent touch operations in the at least two touch operations is less than a first time length, determining that the at least two touch operations are continuous touch operations, and using a first touch operation sequence consisting of the at least two continuous touch operations as the trigger operation; or Taking the touch moment of the first touch operation on the virtual joystick as the starting point, taking the moment with a second time interval from the touch moment as the end point, collecting touch operations on the virtual key positions in the virtual joystick from the starting point until stopping collecting at the end point, and when the number of the collected touch operations is at least two, taking a first touch operation sequence consisting of the at least two collected touch operations as the trigger operation; or, When the first touch operation on the virtual key position in the virtual joystick is collected, the touch moment of the first touch operation is used as the starting point to continue collecting touch operations on the virtual key positions in the virtual joystick. When the time interval between adjacent touch operations collected does not exceed the third time length, the touch operations on the virtual key positions in the virtual joystick are continuously collected, and the collection is stopped when the time interval between the collected touch operation and the previous touch operation exceeds the third time length. When the number of collected touch operations is at least two, a first touch operation sequence consisting of the at least two collected touch operations is used as the trigger operation.

2. The method according to claim 1, characterized in that Before controlling the target virtual object to release the target skill, the method further includes: Matching the first touch operation sequence with the second touch operation sequence to obtain a matching degree; When the matching degree reaches a matching degree threshold, it is determined that the first touch operation sequence matches a sub-operation sequence in the second touch operation sequence.

3. The method according to claim 1, characterized in that Before determining that the first touch operation sequence matches a sub-operation sequence in a second touch operation sequence corresponding to the target skill, the method further includes: Acquire the virtual key position corresponding to each touch operation in the second touch operation sequence; Extracting at least two key keys corresponding to the target skill from the multiple virtual keys corresponding to the second touch operation sequence; Based on the extracted at least two key positions, at least two touch operation sequences are generated as sub-operation sequences of the second touch operation.

4. The method according to claim 3, characterized in that The method further comprises: Matching the first touch operation sequence with each of the touch operation sequences respectively to obtain a matching result; When the matching result indicates that there is a touch operation sequence consistent with the first touch operation sequence in the at least two touch operation sequences, it is determined that the first touch operation sequence matches a sub-operation sequence in a second touch operation sequence corresponding to the target skill.

5. The method according to claim 3, characterized in that The method further comprises: Acquire a plurality of virtual key positions for triggering the target skill, and a touch control sequence corresponding to each of the virtual key positions; Based on the touch sequence, sorting the touch operations corresponding to the corresponding virtual key positions to obtain the second touch operation sequence; The step of generating at least two touch operation sequences based on the extracted at least two key keys as sub-operation sequences of the second touch operation includes: Execute selection of non-critical key positions multiple times from the plurality of virtual key positions; Combining the at least two key positions and the non-key positions selected each time to obtain at least two key position sets; According to the touch sequence corresponding to each of the virtual key positions, the touch operation sets corresponding to each of the key position sets are sorted to obtain the touch operation sequences corresponding to each of the key position sets as the sub-operation sequences of the second touch operation.

6. The method according to claim 5, characterized in that The selecting of non-critical key positions from the plurality of virtual key positions for multiple times includes: Acquire reference information, the reference information including: at least one of the attributes of the target virtual object and the key operation habits of the user corresponding to the current login account; Determining the positional relationship between the selected non-critical key position and the critical key position according to the reference information; Based on the position relationship, the selection of non-critical key positions is performed multiple times from the multiple virtual key positions.

7. The method according to claim 1, characterized in that The method further comprises: When the first touch operation sequence does not match the sub-operation sequence in the second touch operation sequence corresponding to the target skill, determining a target virtual key position corresponding to the last touch operation in the first touch operation sequence; The target virtual object is controlled to execute the operation indicated by the operation instruction corresponding to the target virtual key position.

8. The method according to claim 1, characterized in that After controlling the target virtual object to release the target skill, the method further includes: During the process of the target virtual object interacting with the other virtual objects, presenting a skill control for releasing the target skill again; In response to the triggering operation on the skill control, the target virtual object is controlled again to release the target skill.

9. The method according to claim 8, characterized in that After controlling the target virtual object again to release the target skill, the method further includes: determining a presentation duration of the skill control, and when the presentation duration reaches a target duration, canceling the display of the skill control; or, Determine the number of times the target skill is released based on the skill control, and when the number of times reaches the target number, cancel the display of the skill control; or, When the target virtual object ends interacting with the other virtual objects, the skill control is undisplayed.

10. A virtual skill control device, characterized in that: The device comprises: An interface presentation module, used to present a target virtual object and a virtual joystick for controlling the target virtual object to release a virtual skill in an interface of a virtual scene, wherein the virtual joystick includes at least two virtual key positions; A trigger receiving module, configured to receive a trigger operation for the virtual joystick, wherein the trigger operation includes a first touch operation sequence for a virtual key position in the virtual joystick; a skill control module, configured to, in response to the trigger operation, control the target virtual object to release the target skill when determining that the first touch operation sequence matches a sub-operation sequence in a second touch operation sequence corresponding to the target skill, so as to assist the target virtual object to interact with other virtual objects in the virtual scene; The trigger receiving module is further configured to receive at least two touch operations for the virtual key positions in the virtual joystick, and when the time interval between touch moments corresponding to any two adjacent touch operations in the at least two touch operations is less than a first time length, determine that the at least two touch operations are continuous touch operations, and use a first touch operation sequence consisting of the at least two continuous touch operations as the trigger operation; or Taking the touch moment of the first touch operation on the virtual joystick as the starting point, taking the moment with a second time interval from the touch moment as the end point, collecting touch operations on the virtual key positions in the virtual joystick from the starting point until stopping collecting at the end point, and when the number of the collected touch operations is at least two, taking a first touch operation sequence consisting of the at least two collected touch operations as the trigger operation; or, When the first touch operation on the virtual key position in the virtual joystick is collected, the touch moment of the first touch operation is used as the starting point to continue collecting touch operations on the virtual key positions in the virtual joystick. When the time interval between adjacent touch operations collected does not exceed the third time length, the touch operations on the virtual key positions in the virtual joystick are continuously collected, and the collection is stopped when the time interval between the collected touch operation and the previous touch operation exceeds the third time length. When the number of collected touch operations is at least two, a first touch operation sequence consisting of the at least two collected touch operations is used as the trigger operation.

11. An electronic device, characterized in that: include: A memory for storing executable instructions; A processor, configured to implement the method for controlling a virtual skill according to any one of claims 1 to 9 when executing executable instructions stored in the memory.

12. A computer-readable storage medium, characterized in that: Executable instructions are stored, which are used to implement the control method of the virtual skill described in any one of claims 1 to 9 when executed by a processor.

13. A computer program product comprising a computer program or instructions, characterized in that When the computer program or instruction is executed by a processor, the control method of the virtual skill described in any one of claims 1 to 9 is implemented.

Citation Information

Patent Citations

  • Control method and device for game skill upgrading

    CN106055256A

  • Game skill release control method and device, storage medium and mobile terminal

    CN107519641A