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

By presenting virtual objects with counter-reconnaissance skills in the virtual scene and controlling them to be in a counter-reconnaissance state, the problem of low efficiency in hiding locations of virtual objects is solved, and interaction efficiency and resource utilization are improved.

CN114146413BActive Publication Date: 2024-09-27TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111657635.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2021-11-29
Filing Date
2021-12-30
Publication Date
2024-09-27
Estimated Expiration
2041-12-30

AI Technical Summary

Technical Problem

In virtual scenes, users need to hide the location of virtual objects through multiple human-computer interactions, resulting in low human-computer interaction efficiency and a waste of hardware processing resources.

Method used

Provide a control method for virtual objects by presenting virtual objects with anti-reconnaissance skills in a virtual scene and controlling them to be in a counter-reconnaissance state when they are within the sensing area so that their positions on the map are different from those in the virtual scene position to achieve hiding.

Benefits of technology

It improves the efficiency of human-computer interaction and the utilization of hardware processing resources. It only needs to trigger the anti-reconnaissance skill to hide virtual objects, reducing the number of interactions required to achieve the purpose of interaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114146413B_ABST
    Figure CN114146413B_ABST
Patent Text Reader

Abstract

The present application provides a method, apparatus, device, storage medium and computer program product for controlling a virtual object; the method comprises: presenting a first virtual object with anti-reconnaissance skills in an interface of a virtual scene; presenting a sensing area corresponding to the anti-reconnaissance skills in response to a trigger instruction for the anti-reconnaissance skills of the first virtual object; when the first virtual object is in the sensing area, controlling the first virtual object to be in an anti-reconnaissance state; wherein, during the process of the first virtual object being in the anti-reconnaissance state, when the position information of the first virtual object is presented in a map of a second virtual object, the position of the first virtual object in the map is different from the position of the first virtual object in the virtual scene; through the present application, the real position of the virtual object in the virtual scene can be hidden, and the human-computer interaction efficiency and the utilization rate of hardware processing resources can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] Priority statement

[0002] This application claims priority to application number 202111432453.8, filing date November 29, 2021, and title: Virtual object control method, device, equipment, storage medium and program product. Technical Field

[0003] The present application relates to the technical field of virtualization and human-computer interaction, and in particular to a control method, device, equipment, storage medium and computer program product of a virtual object. Background Art

[0004] With the development of computer technology, electronic devices can realize richer and more vivid virtual scenes. Virtual scenes refer to digital scenes drawn by computers through digital communication technology. Users can get a completely virtualized experience of vision, hearing, etc. (such as virtual reality) or a partially virtualized experience (such as augmented reality) in virtual scenes. At the same time, they can interact with various objects in the virtual scene, or control the interaction between various objects in the virtual scene to obtain feedback.

[0005] In the related art, when a user needs to hide the location of a virtual object to avoid being discovered by other users, it is necessary to perform multiple human-computer interaction operations to control the virtual object to perform actions such as running and jumping to achieve movement, thereby finding a hiding position, resulting in low human-computer interaction efficiency and waste of hardware processing resources. Summary of the invention

[0006] The embodiments of the present application provide a method, apparatus, device, storage medium and computer program product for controlling a virtual object, which can hide the real position of the virtual object in a virtual scene and improve the efficiency of human-computer interaction and the utilization rate of hardware processing resources.

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

[0008] The present application provides a method for controlling a virtual object, including:

[0009] In the interface of the virtual scene, presenting a first virtual object having anti-reconnaissance skills;

[0010] In response to a trigger instruction of an anti-reconnaissance skill for the first virtual object, presenting a sensing area corresponding to the anti-reconnaissance skill;

[0011] When the first virtual object is within the sensing area, controlling the first virtual object to be in an anti-reconnaissance state;

[0012] Wherein, when the first virtual object is in the anti-reconnaissance state, when the position information of the first virtual object is presented in the map of the second virtual object, the position of the first virtual object in the map is different from the position of the first virtual object in the virtual scene.

[0013] The present application also provides a virtual object control device, including:

[0014] A first presentation module, used for presenting a first virtual object with anti-reconnaissance skills in an interface of a virtual scene;

[0015] A second presentation module, configured to present a sensing area corresponding to the anti-reconnaissance skill in response to a trigger instruction of the anti-reconnaissance skill for the first virtual object;

[0016] a control module, configured to control the first virtual object to be in an anti-reconnaissance state when the first virtual object is in the sensing area;

[0017] Wherein, when the first virtual object is in the anti-reconnaissance state, when the position information of the first virtual object is presented in the map of the second virtual object, the position of the first virtual object in the map is different from the position of the first virtual object in the virtual scene.

[0018] In the above solution, the first presentation module is further used to present a skill control corresponding to the anti-reconnaissance skill;

[0019] When the skill control is in an activated state, in response to a trigger operation on the skill control, a trigger instruction for an anti-reconnaissance skill for the first virtual object is received.

[0020] In the above solution, the first presentation module is further used to present a prop icon corresponding to the anti-reconnaissance skill;

[0021] In response to a trigger operation on the prop icon, controlling the first virtual object to equip the virtual prop corresponding to the anti-reconnaissance skill;

[0022] When the first virtual object successfully equips the virtual prop, a skill control corresponding to the anti-reconnaissance skill is presented.

[0023] In the above solution, the first presentation module is further used to present a skill control corresponding to the anti-reconnaissance skill in a cooling state;

[0024] The first presentation module is further used to obtain the cooling time and cooling start time point corresponding to the skill control;

[0025] When it is determined that the cooling end time point corresponding to the skill control has arrived based on the cooling duration and the cooling start time point, the skill control is controlled to switch from the cooling state to the activation state.

[0026] In the above solution, the first presentation module is further used to present status indication information indicating the activation progress corresponding to the skill control;

[0027] The first presentation module is further used to present the skill control in a target display style when the status indication information indicates that the skill control is in an activated state.

[0028] In the above solution, the first virtual object and the second virtual object belong to different camps; the first rendering module is further used to obtain the distance between the second virtual object and the first virtual object;

[0029] When the distance is lower than a distance threshold, a skill control corresponding to the anti-reconnaissance skill is presented.

[0030] In the above solution, the first presentation module is further used to obtain interaction data of the first virtual object and scene data of a virtual scene corresponding to the current position of the first virtual object;

[0031] Based on the interaction data and the scene data, calling a neural network model to predict whether the first virtual object needs to trigger the anti-reconnaissance skill to obtain a prediction result;

[0032] When the prediction result indicates that the first virtual object needs to trigger the anti-reconnaissance skill, a skill control corresponding to the anti-reconnaissance skill is presented.

[0033] In the above solution, the second presentation module is further used to determine a target area centered on the target position as a sensing area corresponding to the anti-reconnaissance skill, and present the sensing area;

[0034] The target location is one of the following locations:

[0035] The position of the first virtual object and the skill release position corresponding to the anti-reconnaissance skill.

[0036] In the above solution, the second presentation module is further used to present a position mark for selecting the skill release position when the target position is the skill release position corresponding to the anti-reconnaissance skill;

[0037] In response to a movement instruction for the location marker, controlling the location marker to move in the virtual scene;

[0038] In response to a position determination instruction for the position marker, the position of the position marker in the virtual scene is determined as the skill release position.

[0039] In the above solution, the second presentation module is further used to present a virtual support prop corresponding to the anti-reconnaissance skill in the sensing area;

[0040] When receiving an area disappearance instruction triggered by the virtual support prop, canceling the presentation of the sensing area corresponding to the anti-reconnaissance skill;

[0041] The control module is further used to control the first virtual object to exit the anti-reconnaissance state.

[0042] In the above solution, the second presentation module is also used to present the remaining effective time of the anti-reconnaissance skill;

[0043] When the remaining effective time is lower than the time threshold or returns to zero, the sensing area corresponding to the anti-reconnaissance skill is canceled;

[0044] The control module is further used to control the first virtual object to exit the anti-reconnaissance state.

[0045] In the above solution, the control module is further used to determine the position of the first virtual object in the virtual scene as the target position, and determine the target area with the target position as the center and the target distance as the radius;

[0046] Other positions different from the target position are selected from the target area as the positions of the first virtual object in the map.

[0047] In the above solution, when the first virtual object is in the anti-reconnaissance state, the second presentation module is further used to present a map corresponding to the virtual scene;

[0048] In the map, presenting the positions of a plurality of other virtual objects in the virtual scene;

[0049] When there is a virtual object in the anti-reconnaissance state among the plurality of other virtual objects, the position presentation style of the other virtual objects in the anti-reconnaissance state is controlled to be a target style.

[0050] In the above solution, the control module is also used to perform virtual object detection on the sensing area;

[0051] When a third virtual object is detected to enter the sensing area, acquiring an interaction relationship between the third virtual object and the first virtual object;

[0052] When the interactive relationship represents that the third virtual object and the first virtual object belong to the same camp, the third virtual object is controlled to be in the anti-reconnaissance state.

[0053] In the above solution, the second presentation module is further used to display a region enclosing frame in the virtual scene using a target display style, and the region in the region enclosing frame is the sensing region corresponding to the anti-reconnaissance skill;

[0054] When the first virtual object is within the sensing area, the control module is further configured to control the first virtual object to move in response to a movement instruction for the first virtual object;

[0055] Along with the movement of the first virtual object, the area bounding box is controlled to move synchronously.

[0056] In the above solution, when the first virtual object is in the anti-reconnaissance state, the control module is further used to periodically select a virtual position, and the virtual position is different from the position of the first virtual object in the virtual scene when the virtual position is selected;

[0057] After each selection of the virtual position, the position of the first virtual object in the map is replaced with the selected virtual position.

[0058] The present application also provides an electronic device, including:

[0059] A memory for storing executable instructions;

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

[0061] The embodiment of the present application also provides a computer-readable storage medium storing executable instructions, which, when executed by a processor, implements the virtual object control method provided in the embodiment of the present application.

[0062] The embodiment of the present application also provides a computer program product, including a computer program or instructions, which, when executed by a processor, implements the virtual object control method provided in the embodiment of the present application.

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

[0064] Applying the above-mentioned embodiment of the present application, a first virtual object with anti-reconnaissance skills is presented in the interface of the virtual scene, and when a trigger instruction for the anti-reconnaissance skill for the first virtual object is received, a sensing area corresponding to the anti-reconnaissance skill is presented, and when the first virtual object is in the sensing area, the first virtual object is controlled to be in an anti-reconnaissance state; here, during the process of the first virtual object being in the anti-reconnaissance state, when the position information of the first virtual object is presented in the map of the second virtual object, the position of the first virtual object in the map is different from the position of the first virtual object in the virtual scene.

[0065] Thus, for the second virtual object, the position of the first virtual object displayed in the map is different from the real position of the first virtual object in the virtual scene, and the position of the first virtual object displayed in the map is false. Therefore, for the first virtual object, the purpose of hiding the first virtual object is achieved, and it can be achieved by only triggering the anti-reconnaissance skill, reducing the number of interactions required to achieve the purpose of interaction, and improving the efficiency of human-computer interaction and the utilization of hardware processing resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0066] Figure 1 is a schematic diagram of the architecture of a control system 100 for a virtual object provided in an embodiment of the present application;

[0067] Figure 2 is a structural diagram of an electronic device 500 for implementing a virtual object control method provided in an embodiment of the present application;

[0068] Figure 3 is a schematic diagram of the principle of a human-computer interaction engine installed in a control device for a virtual object provided in an embodiment of the present application;

[0069] Figure 4 is a flowchart of a method for controlling a virtual object provided in an embodiment of the present application;

[0070] Figure 5 is a display schematic diagram of a skill control for an anti-reconnaissance skill provided in an embodiment of the present application;

[0071] Figure 6 is a display schematic diagram of a skill control for an anti-reconnaissance skill provided in an embodiment of the present application;

[0072] Figure 7 is a display schematic diagram of the sensing area provided in an embodiment of the present application;

[0073] Figure 8 is a display schematic diagram of the sensing area provided in an embodiment of the present application;

[0074] Fig. 9 is a schematic diagram of a selected skill release position provided in an embodiment of the present application;

[0075] Fig.10 is a display schematic diagram of a virtual support prop provided in an embodiment of the present application;

[0076] Fig.11 is a schematic diagram showing the position of a virtual object in an anti-reconnaissance state provided by an embodiment of the present application;

[0077] Fig.12 is a flowchart of a method for controlling a virtual object provided in an embodiment of the present application;

[0078] Fig.13 It is a schematic diagram of the display of the map provided in the embodiment of the present application. DETAILED DESCRIPTION

[0079] 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.

[0080] 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.

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

[0082] 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.

[0083] 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.

[0084] 1) Client: an application running in a terminal to provide various services, such as an instant messaging client or a video player client.

[0085] 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.

[0086] 3) Virtual scene, which is a virtual scene displayed (or provided) when the application is running on the terminal. The virtual scene can be a simulation environment of the real world, a semi-simulation and semi-fictitious virtual environment, or a purely fictitious virtual environment. The virtual scene can be any one 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. For example, the virtual scene may include the sky, land, ocean, etc., and the land may include environmental elements such as deserts and cities. The user can 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, walking, running, riding, jumping, driving, picking up, shooting, attacking, throwing at least one. The virtual scene can be displayed from a first-person perspective (for example, the player plays the virtual object in the game from his own perspective); it can also be displayed from a third-person perspective (for example, the player chases the virtual object in the game to play the game); it can also be displayed from a bird's-eye view perspective; wherein the above perspectives can be switched arbitrarily.

[0087] Taking the first-person perspective to display a virtual scene as an example, the virtual scene displayed in the human-computer interaction interface may include: according to the viewing position and field of view of the virtual object in the complete virtual scene, the field of view area of ​​the virtual object is determined, and the partial virtual scene in the field of view area of ​​the complete virtual scene is presented, that is, the displayed virtual scene may be a partial virtual scene relative to the panoramic virtual scene. Because the first-person perspective is the viewing perspective that can most impact the user, in this way, the user can achieve an immersive perception of being in the scene during the operation. Taking the bird's-eye view of the virtual scene as an example, the interface of the virtual scene presented in the human-computer interaction interface may include: in response to the zoom operation on the panoramic virtual scene, the partial virtual scene corresponding to the zoom operation is presented in the human-computer interaction interface, that is, the displayed virtual scene may be a partial virtual scene relative to the panoramic virtual scene. In this way, the operability of the user during the operation can be improved, thereby improving the efficiency of human-computer interaction.

[0088] 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, etc., such as people, animals, plants, 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.

[0089] Optionally, 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 person performing adversarial interaction in the virtual scene. Optionally, the number of virtual objects participating in the interaction in the virtual scene may be preset, or may be dynamically determined according to the number of clients joining the interaction.

[0090] 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, and can also control virtual objects to swim, float, or dive in the ocean. Of course, users can also control virtual objects to move in the virtual scene by riding on vehicle-type virtual props. For example, the vehicle-type virtual props can be virtual cars, virtual aircraft, virtual yachts, etc.; users can also control virtual objects to interact with other virtual objects in a confrontational manner through attack-type virtual props. For example, the virtual props can be virtual armor, virtual tanks, virtual fighters, etc. The above scenarios are only used as examples for illustration, and the embodiments of the present application do not specifically limit this.

[0091] 5) 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 the virtual scene of the game, the 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 life value (also called red volume), magic value (also called blue volume), status value, blood volume, etc.

[0092] Based on the above explanations of the nouns and terms involved in the embodiments of the present application, the control system of the virtual object provided by the embodiments of the present application is described below. Figure 1 , Figure 1 It is an architectural diagram of a control system 100 for a virtual object provided in an embodiment of the present application. To support an exemplary application, a terminal (terminal 400-1 and terminal 400-2 are shown as examples) is connected to a server 200 via a network 300. The network 300 may be a wide area network or a local area network, or a combination of the two, and data transmission is achieved using wireless or wired links.

[0093] The terminal (such as terminal 400-1 and terminal 400-2) is used to send a request for obtaining scene data of the virtual scene to the server 200 based on receiving a trigger operation of entering the virtual scene through the view interface;

[0094] The server 200 is used to receive a request for obtaining scene data, and in response to the request, return the scene data of the virtual scene to the terminal;

[0095] The terminal (such as terminal 400-1 and terminal 400-2) is used to receive scene data of a virtual scene, render the screen of the virtual scene based on the scene data, and present the screen of the virtual scene in a graphical interface (graphical interface 410-1 and graphical interface 410-2 are shown as examples); wherein, the screen of the virtual scene can also present an object interaction environment, interactive objects, etc., and the content presented in the screen of the virtual scene is rendered based on the returned scene data of the virtual scene.

[0096] In practical applications, server 200 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The terminal (such as terminal 400-1 and terminal 400-2) can be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart TV, a smart watch, etc., but is not limited to this. The terminal (such as terminal 400-1 and terminal 400-2) and server 200 can be directly or indirectly connected by wired or wireless communication, and this application is not limited here.

[0097] In actual applications, the terminals (including the terminals 400-1 and 400-2) are installed and run with applications that support virtual scenes. The application can be any one of a first-person shooter game (FPS), 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, or a three-dimensional map program. The application can also be a stand-alone application, such as a stand-alone 3D game program.

[0098] 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 when the user logs in to the electronic game on the terminal, the game configuration file can be called 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 determine the game data corresponding to the touch operation and render and display the game data. The game data may include virtual scene data, behavior data of virtual objects in the virtual scene, etc.

[0099] In actual applications, the terminal (including the terminal 400-1 and the terminal 400-2) receives a trigger operation of entering a virtual scene based on the view interface, and sends a request for obtaining scene data of the virtual scene to the server 200; the server 200 receives the request for obtaining scene data, and returns the scene data of the virtual scene to the terminal in response to the request; the terminal receives the scene data of the virtual scene, and renders the picture of the virtual scene based on the scene data to present the picture of the virtual scene;

[0100] Furthermore, the terminal responds to a trigger instruction of an anti-reconnaissance skill for a first virtual object (i.e., a virtual character corresponding to a user who logs into the electronic game) and presents a sensing area corresponding to the anti-reconnaissance skill; when the first virtual object is in the sensing area, the first virtual object is controlled to be in an anti-reconnaissance state; wherein, during the process of the first virtual object being in the anti-reconnaissance state, when the position information of the first virtual object is presented in a map of a second virtual object (i.e., a virtual character corresponding to other users who log into the electronic game, who may belong to a different camp from the first virtual object, such as being in a battle relationship with the first virtual object), the position of the first virtual object in the map is different from the position of the first virtual object in the virtual scene, so that the real position of the first virtual object can be hidden to avoid being found by the second virtual object.

[0101] See also Figure 2 , Figure 2 FIG. 5 is a schematic diagram of the structure of an electronic device 500 for implementing a control method for a virtual object provided in an embodiment of the present application. Figure 1 The server or terminal shown is an electronic device 500. Figure 1 Taking the terminal shown as an example, an electronic device that implements the method for controlling a virtual object in an embodiment of the present application is described. The electronic device 500 provided in the embodiment of the present application 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 through a bus system 540. It can be 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, in Figure 2 Various buses are labeled as bus system 540 .

[0102] 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.

[0103] 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.

[0104] 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.

[0105] 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.

[0106] 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.

[0107] 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;

[0108] 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);

[0109] 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);

[0110] 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.

[0111] In some embodiments, the control device of the virtual object provided in the embodiments of the present application can be implemented in a software manner. Figure 2A control device 555 of a virtual object stored in a memory 550 is shown, which may be software in the form of a program and a plug-in, etc., and includes the following software modules: a first rendering module 5551, a second rendering module 5552 and a 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.

[0112] In other embodiments, the control device of the virtual object provided in the embodiments of the present application can be implemented by a combination of software and hardware. As an example, the control device of the virtual object provided in the embodiments of the present application can be a processor in the form of a hardware decoding processor, which is programmed to execute the control method of the virtual object provided in the embodiments of the present application. For example, the processor in the form of a hardware decoding processor can adopt one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field programmable gate arrays (FPGAs) or other electronic components.

[0113] The control method of the virtual object provided in the embodiment of the present application can be performed by Figure 2 Each module in the control device of the virtual object shown in FIG. Figure 3 The relevant modules, components or plug-in implementations of the game engine shown below Figure 3 The modules, components or plug-ins included in the game engine shown are illustrated for exemplary purposes.

[0114] like Figure 3 As shown, it includes: 1) virtual camera, which is a necessary component for the game scene screen and is used to present the game scene screen. One game scene corresponds to at least one virtual camera. According to actual needs, there can be two or more virtual cameras, which serve as the game rendering window to capture and present the picture content of the game world for the player. By setting the parameters of the virtual camera, the player's viewing angle of the game world can be adjusted, such as the first-person perspective and the third-person perspective.

[0115] 2) Scene organization, used for game scene management, such as collision detection, visibility culling, etc.; among them, collision detection can be achieved through collision bodies. According to actual needs, collision bodies can be implemented through axis-aligned bounding boxes (AABB) or oriented bounding boxes (OBB); visibility culling can be implemented based on the view volume. The view volume is a three-dimensional frame generated according to the virtual camera, which is used to crop objects outside the visible range of the camera. Objects in the view volume will be projected onto the viewing plane, and objects not in the view volume will be discarded and not processed.

[0116] 3) Terrain management: a component for managing terrain in game scenes, used to create and edit game terrain, such as creating mountains, canyons, caves and other terrain in game scenes.

[0117] 4) Editor, an auxiliary tool in game design, including:

[0118] Scene editor, used to edit game scene content, such as changing terrain, customizing vegetation distribution, lighting layout, etc.

[0119] Model editor, used to create and edit models in the game (character models in the game scene);

[0120] Special effects editor, used to edit special effects in the game screen;

[0121] Action editor, used to define and edit the actions of characters in the game screen.

[0122] 5) Special effects components are used for the production and editing of game special effects in the game screen. In actual applications, particle effects and texture UV animation can be used to achieve this. Among them, particle effects combine countless individual particles to give them a fixed shape, and use controllers and scripts to control their overall or individual movements to simulate real-life water, fire, fog, gas and other effects. UV animation is texture animation achieved by dynamically modifying the UV coordinates of the map.

[0123] 6) Skeletal animation, which is an animation achieved by using built-in bones to drive objects to move. Skeletal animation can be understood as the following two concepts:

[0124] Skeleton: An abstract concept used to control skinning, such as human skeleton controlling skin;

[0125] Skin: Factors that are controlled by bones and displayed externally, such as the skin of the human body being affected by bones.

[0126] 7)Morph animation: that is, deformation animation, which is achieved by adjusting the vertices of the basic model.

[0127] 8) UI controls, used to implement the game screen display controls.

[0128] 9) Low-level algorithms: algorithms that need to be called to implement functions in the game engine, such as graphics algorithms required to implement scene organization, and matrix and vector transformations required to implement skeletal animation.

[0129] 10) Rendering component: A component necessary for presenting game graphics effects. The rendering component is used to convert the scene described by three-dimensional vectors into a scene described by two-dimensional pixels, including model rendering and scene rendering.

[0130] 11) A* pathfinding, an algorithm for finding the shortest path used in path planning, pathfinding, and graph traversal in game design.

[0131] For example, you can call Figure 3 The UI controls in the game engine shown in the figure realize the interaction between the user and the game. The Morph animation part in the game engine is called to make a two-dimensional or three-dimensional model. After the model is made, the skeleton animation part will assign the material map to the model according to different faces, which is equivalent to covering the skeleton with skin. Finally, the rendering component will calculate all the effects such as the model, animation, light and shadow, special effects, etc. in real time and display them on the human-computer interaction interface. Specifically, the first presentation module 5551 can be called Figure 3 After the rendering component in the game engine renders the virtual scene data, a first virtual object with anti-reconnaissance skills is presented in the interface of the virtual scene.

[0132] The second rendering module 5552 can be called by Figure 3 The UI control in the game engine shown receives a trigger instruction for an anti-reconnaissance skill for a first virtual object, and in response to the trigger instruction, presents a sensing area corresponding to the anti-reconnaissance skill.

[0133] The control module 5553 can call Figure 3 The underlying algorithm part in the game engine shown determines whether the first virtual object is in a sensing area during the process of controlling the first virtual object to perform an operation; when the first virtual object is in the sensing area, the first virtual object is controlled to be in an anti-reconnaissance state.

[0134] Based on the above description of the control system and electronic device of the virtual object provided in the embodiment of the present application, the control method of the virtual object provided in the embodiment of the present application is described below. In some embodiments, the control method of the virtual object provided in the embodiment of the present application can be implemented by a server or a terminal alone, or by a server and a terminal in collaboration. In some embodiments, the terminal or the server can implement the control method of the virtual object provided in 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 local (Native) application (APP, Application), that is, a program that needs to be installed in the operating system to run, such as a client that supports virtual scenes, 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 small program 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.

[0135] The following uses a terminal implementation as an example to illustrate the control method of a virtual object provided by an embodiment of the present application. Figure 4 , Figure 4 : is a flow chart of a method for controlling a virtual object provided in an embodiment of the present application. The method for controlling a virtual object provided in an embodiment of the present application includes:

[0136] Step 101: The terminal presents a first virtual object with anti-reconnaissance skills in an interface of a virtual scene.

[0137] Here, an application client supporting a virtual scene may be installed on the terminal. When the user opens the application client on the terminal and the terminal runs the application client, the terminal presents an interface of a virtual scene (such as a shooting game scene), and the user can control a first virtual object to enter the virtual scene. In actual applications, the first virtual object is a virtual image in the virtual scene corresponding to the user account currently logged into the application client. For example, the first virtual object may be a virtual object controlled by a user entering the virtual scene of the game. Of course, the virtual scene may also include other virtual objects, which may be controlled by other users or by a robot program.

[0138] In the virtual scene, the user can trigger the interactive control instruction for the first virtual object through the human-computer interaction interface to control the first virtual object to perform interactive operations. Specifically, the first virtual object can hold at least one virtual prop or be equipped with at least one virtual skill, etc. The virtual prop can be any prop used when the virtual object interacts, such as a virtual shooting prop, a virtual bow and arrow, a virtual slingshot, a virtual nunchaku, a virtual whip, etc.; the virtual skill can be a protective skill, an attacking skill, etc. The user can control the first virtual object to perform interactive operations in the virtual scene based on the equipped virtual prop or virtual skill.

[0139] In the embodiment of the present application, an anti-reconnaissance skill is provided for the first virtual object in the virtual scene. At this time, the terminal presents the first virtual object with the anti-reconnaissance skill in the interface of the virtual scene.

[0140] Step 102: In response to a trigger instruction for an anti-reconnaissance skill for a first virtual object, present a sensing area corresponding to the anti-reconnaissance skill.

[0141] Here, when the first virtual object in the virtual scene has an anti-reconnaissance skill, the first virtual object can be controlled to release the anti-reconnaissance skill. In some embodiments, the user can trigger a trigger instruction for the anti-reconnaissance skill of the first virtual object. When the terminal receives the trigger instruction for the anti-reconnaissance skill of the first virtual object, the terminal presents a sensing area corresponding to the anti-reconnaissance skill in response to the trigger instruction for the anti-reconnaissance skill of the first virtual object. When the first virtual object is controlled to enter the sensing area, the first virtual object is controlled to be in an anti-reconnaissance state. In actual applications, the sensing area can be an area centered on the first virtual object, or an area centered on the release position of the anti-reconnaissance skill.

[0142] In an embodiment of the present application, during the process of controlling the first virtual object to be in an anti-reconnaissance state, when the position information of the first virtual object is presented in the map of the second virtual object, the position of the first virtual object in the map is different from the position of the first virtual object in the virtual scene, so that what the second virtual object sees in the map is the false position of the first virtual object in the virtual scene, rather than the real position of the first virtual object in the virtual scene, thereby preventing the second virtual object from discovering the first virtual object in the virtual scene.

[0143] The following first describes the process of the terminal receiving a trigger instruction for the anti-reconnaissance skill for the first virtual object. In some embodiments, the terminal can receive the trigger instruction for the anti-reconnaissance skill for the first virtual object in the following manner: presenting a skill control corresponding to the anti-reconnaissance skill; when the skill control is in an activated state, in response to a trigger operation on the skill control, receiving the trigger instruction for the anti-reconnaissance skill for the first virtual object.

[0144] Here, for the above-mentioned anti-reconnaissance skills, a corresponding skill control is set. When the skill control is in an activated state, the user can trigger the skill control by a trigger operation such as clicking, and control the first virtual object to release the anti-reconnaissance skill. When the skill control is in an activated state, the terminal receives a trigger operation for the skill control, and in response to the trigger operation, receives a trigger instruction for the anti-reconnaissance skill for the first virtual object. In actual applications, the display style of the skill control may be different in an activated state and an inactivated state, for example, a skill control in an activated state may be highlighted, and a skill control in an inactivated state may be grayed out; or a skill control in an activated state and a skill control in an inactivated state may be indicated by different identifiers, etc. For example, a skill control in an inactivated state may be indicated by a disabled identifier.

[0145] Next, the presentation of the skill control of the anti-reconnaissance skill is described. In some embodiments, the terminal can present the skill control corresponding to the anti-reconnaissance skill in the following manner: presenting a prop icon corresponding to the anti-reconnaissance skill; in response to a trigger operation on the prop icon, controlling the first virtual object to equip the virtual prop corresponding to the anti-reconnaissance skill; when the first virtual object successfully equips the virtual prop, presenting the skill control corresponding to the anti-reconnaissance skill.

[0146] Here, the first virtual object can be controlled to equip a virtual item corresponding to the anti-reconnaissance skill, so as to achieve the control of the first virtual object to have the anti-reconnaissance skill. In practical applications, the virtual item can be obtained when the first virtual object is controlled to interact in the virtual scene (for example, when the interaction score meets the conditions for obtaining the virtual item, or is found during the interaction process), or can be obtained before the first virtual object is controlled to enter the virtual scene (for example, before the game starts).

[0147] When the first virtual object has the virtual prop, the terminal presents the corresponding prop icon, and the user can trigger the prop icon to control the first virtual object to equip the virtual prop corresponding to the anti-reconnaissance skill. When the first virtual object successfully equips the virtual prop, the terminal presents the skill control corresponding to the anti-reconnaissance skill, so that the user can control the first virtual object to release the anti-reconnaissance skill based on the skill control.

[0148] As an example, see Figure 5 , Figure 5 is a display schematic diagram of a skill control for an anti-reconnaissance skill provided in an embodiment of the present application. Here, before controlling the first virtual object to enter the virtual scene, a prop icon corresponding to the anti-reconnaissance skill is presented, such as Figure 5 As shown in Figure A; in response to the trigger operation on the prop icon, the first virtual object is controlled to equip the virtual prop corresponding to the anti-reconnaissance skill. At this time, when the first virtual object is controlled to enter the virtual scene, the skill control corresponding to the anti-reconnaissance skill is presented in the interface of the virtual scene, such as Figure 5 As shown in Figure B.

[0149] In some embodiments, the terminal may present status indication information for indicating the activation progress of the skill control; accordingly, the terminal may present the skill control corresponding to the anti-reconnaissance skill in the following manner: when the status indication information indicates that the skill control is in an activated state, the skill control is presented in a target display style.

[0150] Here, while presenting the skill control, the terminal may also present status indication information for indicating the activation progress corresponding to the skill control, such as a progress bar, progress percentage, etc. When the status indication information indicates that the skill control is in an activated state, the skill control is presented in a target display style, such as by highlighting the skill control or by flashing the skill control.

[0151] As an example, see Figure 6 , Figure 6 : is a display diagram of the skill control of the anti-reconnaissance skill provided in the embodiment of the present application. Here, the terminal presents status indication information for indicating the activation progress corresponding to the skill control, that is, the progress percentage "4%" corresponding to the activation progress, such as Figure 6 As shown in Figure A; when the status indicator information indicates that the skill control is in an activated state, that is, the progress percentage corresponding to the activation progress is "100%", the skill control "anti-reconnaissance" is presented in a highlighted manner, such as Figure 6 As shown in Figure B.

[0152] In some embodiments, the terminal can present the skill control corresponding to the anti-reconnaissance skill in the following manner: present the skill control corresponding to the anti-reconnaissance skill in a cooling state; accordingly, the terminal can control the skill control to switch from the cooling state to the activation state in the following manner: obtain the cooling duration and the cooling start time point corresponding to the skill control; when it is determined based on the cooling duration and the cooling start time point that the cooling end time point corresponding to the skill control has arrived, control the skill control to switch from the cooling state to the activation state.

[0153] Here, the skill control of the anti-reconnaissance skill has a cooling state, and the skill control in the cooling state is the skill control in the inactive state, and the skill control at this time cannot be used. Accordingly, the terminal can control the skill control to switch from the cooling state to the active state in the following manner:

[0154] In an embodiment of the present application, a cooling time corresponding to a cooling state is set for a skill control. The terminal obtains the cooling time corresponding to the skill control and the cooling start time point (i.e., the start time point when the skill control is in the cooling state), and when the cooling end time point corresponding to the skill control (i.e., the end time point when the skill control is in the cooling state) is determined according to the cooling time and the cooling start time point, the skill control is controlled to switch from the cooling state to the activation state.

[0155] In actual applications, the cooling time of the cooling state of the skill control can be variable, for example, it can be determined according to the interaction score obtained by controlling the first virtual object to interact in the virtual scene, for example, the higher the interaction score, the shorter the cooling time; or it can also be determined according to the level of the first virtual object in the virtual scene (such as the player's game level), the length of time in the virtual scene, etc.

[0156] In some embodiments, the terminal can control the skill control to switch from a cooling state to an activation state in the following manner: obtain the interaction score obtained by controlling the first virtual object to interact in the virtual scene; when the activation condition of the skill control is determined to be met based on the interaction score, control the skill control to be in an activation state.

[0157] Here, the skill control of the anti-reconnaissance skill has a cooling state, and the skill control in the cooling state is the skill control in the inactive state, and the skill control at this time cannot be used. Accordingly, the terminal can control the skill control to switch from the cooling state to the active state in the following manner:

[0158] In the embodiment of the present application, the activation state of the skill control can be triggered by the interaction score obtained by the first virtual object interacting in the virtual scene. Here, the terminal obtains the interaction score obtained by controlling the first virtual object to interact in the virtual scene, such as interaction points, the number of other first virtual objects killed, the target first virtual object killed, etc.; when the activation condition of the skill control is determined to be met based on the interaction score, the skill control is controlled to be in the activated state.

[0159] In actual applications, the activation condition can be whether the interaction score reaches an interaction score threshold (for example, the interaction score reaches a score threshold or the number of kills of other first virtual objects reaches a number threshold, indicating that the activation condition is met), or whether the interaction score represents killing the target first virtual object (for example, the interaction score represents killing the target virtual monster, indicating that the activation condition is met), etc.

[0160] In some embodiments, the first virtual object and the second virtual object belong to different camps; the terminal may present the skill control corresponding to the anti-reconnaissance skill in the following manner: obtaining the distance between the second virtual object and the first virtual object; when the distance is lower than a distance threshold, presenting the skill control corresponding to the anti-reconnaissance skill.

[0161] Here, the first virtual object and the second virtual object may belong to different camps, for example, the first virtual object belongs to camp A, and the second virtual object belongs to camp B. Camp A and camp B may be in a battle relationship, that is, for the first virtual object, it is not desired that the second virtual object discover its real position in the virtual scene. At this time, the first virtual object can use the above-mentioned anti-reconnaissance skill to achieve it. Therefore, when the first virtual object and the second virtual object belong to different camps, the terminal can obtain the distance between the second virtual object and the first virtual object in real time or periodically. When the distance is lower than the distance threshold, it indicates that the second virtual object has the possibility of discovering the first virtual object. At this time, the terminal presents the skill control corresponding to the anti-reconnaissance skill, so that the user can control the first virtual object to release the anti-reconnaissance skill based on the skill control. In this way, the corresponding skill control can be displayed when the user needs the anti-reconnaissance skill (that is, when the distance between the second virtual object of the opposing camp and the first virtual object is lower than the distance threshold), reducing the screen occupancy ratio of the skill control and improving the screen display utilization rate.

[0162] In some embodiments, the terminal may present a skill control corresponding to an anti-reconnaissance skill in the following manner: obtaining interaction data of a first virtual object and scene data of a virtual scene corresponding to the current position of the first virtual object; based on the interaction data and the scene data, calling a neural network model to predict whether the first virtual object needs to trigger an anti-reconnaissance skill, and obtaining a prediction result; when the prediction result indicates that the first virtual object needs to trigger an anti-reconnaissance skill, presenting a skill control corresponding to the anti-reconnaissance skill.

[0163] Here, sample interaction data between sample virtual objects in each sample virtual scene in the sample virtual scene pair can be collected, and sample scene data of each sample virtual scene in the sample virtual scene pair can be collected. Training samples are constructed based on the collected sample interaction data and sample scene data. The training samples are used as inputs of the neural network model to be trained, and whether anti-reconnaissance skills adapted to the sample virtual scene need to be triggered is used as annotation data to train the neural network model to obtain a trained neural network model.

[0164] Therefore, when the terminal presents the skill control of the anti-reconnaissance skill, it first obtains the interaction data of the first virtual object and the scene data of the virtual scene corresponding to the current position of the first virtual object, and then calls the neural network model based on the interaction data and the scene data to predict whether the first virtual object needs to trigger the anti-reconnaissance skill, and obtains the prediction result. When the prediction result indicates that the first virtual object needs to trigger the anti-reconnaissance skill, the terminal presents the skill control of the corresponding anti-reconnaissance skill. In this way, the corresponding skill control can be displayed when the user needs to trigger the anti-reconnaissance skill, reducing the screen occupancy ratio of the skill control and improving the screen display utilization rate.

[0165] When the terminal receives a trigger instruction for the anti-reconnaissance skill for the first virtual object and responds to the trigger instruction, the terminal presents the sensing area corresponding to the anti-reconnaissance skill, and the sensing area of ​​the anti-reconnaissance skill is described below. In some embodiments, the terminal can present the sensing area corresponding to the anti-reconnaissance skill in the following manner: in a virtual scene, a region enclosing frame is displayed in a target display style, and the region in the region enclosing frame is the sensing area corresponding to the anti-reconnaissance skill; accordingly, when the first virtual object is in the sensing area, the terminal responds to the movement instruction for the first virtual object and controls the first virtual object to move; along with the movement of the first virtual object, the control region enclosing frame moves synchronously.

[0166] Here, in the virtual scene, the terminal can use a target display style to display the area enclosing frame of the sensing area corresponding to the anti-reconnaissance skill, such as using a target color that is different from the scene color of the current virtual scene to display the area enclosing frame of the sensing area, or using a flashing display style to display the area enclosing frame of the sensing area. This makes it easier for users to find the sensing area, thereby controlling the first virtual object to enter the sensing area.

[0167] In actual application, when the terminal receives a movement instruction for the first virtual object, it controls the first virtual object to move. In an embodiment of the present application, when the first virtual object is within the sensing area, the terminal controls the first virtual object to move, and at the same time, the control area bounding box moves synchronously with the movement of the first virtual object.

[0168] As an example, see Figure 7 , Figure 7 is a display schematic diagram of the sensing area provided in the embodiment of the present application. Here, the terminal uses the target display style to display the area bounding box, and the first virtual object is in the sensing area, such as Figure 7 As shown in Figure A; when receiving a movement instruction for the first virtual object, the terminal controls the first virtual object to move in response to the movement instruction for the first virtual object; and along with the movement of the first virtual object, the control area bounding box moves synchronously, that is, the area bounding box moves from Figure 7The X position shown in Figure A is moved to Figure 7 Y position shown in Figure B.

[0169] In some embodiments, the terminal may present the sensing area corresponding to the anti-reconnaissance skill in the following manner: determine the target area centered on the target position as the sensing area corresponding to the anti-reconnaissance skill, and present the sensing area; wherein the target position is one of the following positions: the position of the first virtual object, the skill release position corresponding to the anti-reconnaissance skill.

[0170] Here, the sensing area corresponding to the anti-reconnaissance skill is centered on the target position. In some embodiments, the target position may be the position of the first virtual object; in other embodiments, the target position may also be the skill release position corresponding to the anti-reconnaissance skill. In actual implementation, the anti-reconnaissance skill may specify the skill release position when it is released. In this case, the sensing area corresponding to the anti-reconnaissance skill is centered on the skill release position.

[0171] In practical applications, the sensing area may be a circular area with the target position as the center and the first distance as the radius, a square area with the target position as the center and the second distance as the side length, or a polygonal area with the target position as the center, and so on.

[0172] As an example, see Figure 8 , Figure 8 is a schematic diagram showing the sensing area provided in the embodiment of the present application. Figure 8 As shown in Figure A, the sensing area corresponding to the anti-reconnaissance skill is a polygonal area centered on the location of the first virtual object; Figure 8 As shown in Figure B, the sensing area corresponding to the anti-reconnaissance skill is a circular area centered on the skill release position.

[0173] In some embodiments, the terminal may determine the skill release position corresponding to the anti-reconnaissance skill in the following manner: when the target position is the skill release position corresponding to the anti-reconnaissance skill, presenting a position identifier for selecting the skill release position; in response to a movement instruction for the position identifier, controlling the position identifier to move in the virtual scene; in response to a position determination instruction for the position identifier, determining the position of the position identifier in the virtual scene as the skill release position.

[0174] Here, when the sensing area corresponding to the anti-reconnaissance skill is centered on the skill release position, when the terminal receives a release instruction for the anti-reconnaissance skill, the terminal responds to the release instruction and can also present a position identifier for selecting the skill release position, and the position identifier can be moved in the virtual scene to facilitate the user to select the skill release position based on the position identifier. When a movement instruction for the position identifier is received, the position identifier is controlled to move in the virtual scene in response to the movement instruction, and when a position determination instruction for the position identifier is received, the position of the position identifier in the virtual scene is determined as the skill release position. In actual applications, the position determination instruction can be triggered by a corresponding button, or in the process of controlling the movement of the position identifier by long pressing the position identifier, the corresponding position determination instruction can be triggered by triggering a release operation for the position identifier.

[0175] As an example, see Fig. 9 , Fig. 9 is a schematic diagram of selecting a skill release position provided by an embodiment of the present application. Here, when the terminal receives a release instruction for an anti-reconnaissance skill, a position identifier for selecting a skill release position is presented, such as Fig. 9 As shown in Figure A; in response to the movement instruction for the position mark, the position mark is controlled to move in the virtual scene, that is, from Fig. 9 Move to the M position shown in Figure A. Fig. 9 The N position shown in Figure B also presents a position determination button "OK"; in response to the trigger operation on the position determination button "OK", a position determination instruction for the position marker is received, and the position of the position marker in the virtual scene (i.e., position N) is determined as the skill release position. At this time, the sensing area corresponding to the anti-reconnaissance skill centered on the skill release position is presented, such as Fig. 9 As shown in Figure C.

[0176] Step 103: When the first virtual object is in the sensing area, the first virtual object is controlled to be in an anti-reconnaissance state.

[0177] Wherein, when the first virtual object is in the anti-reconnaissance state, when the position information of the first virtual object is presented in the map of the second virtual object, the position of the first virtual object in the map is different from the position of the first virtual object in the virtual scene.

[0178] Here, after the terminal presents the sensing area corresponding to the anti-reconnaissance skill, the user can control the first virtual object to move into the sensing area to control the first virtual object to be in an anti-reconnaissance state. When the terminal determines that the first virtual object is in the sensing area, it controls the first virtual object to be in an anti-reconnaissance state. At this time, during the process of the first virtual object being in the anti-reconnaissance state, when the position information of the first virtual object is presented in the map of the second virtual object, the position of the first virtual object in the map is different from the position of the first virtual object in the virtual scene; thereby, the second virtual object sees the false position of the first virtual object in the virtual scene in the map, rather than the real position of the first virtual object in the virtual scene, thereby preventing the second virtual object from discovering the first virtual object in the virtual scene.

[0179] In some embodiments, when a first virtual object is in an anti-reconnaissance state, the terminal may present a map corresponding to the virtual scene; in the map, the positions of multiple other virtual objects in the virtual scene are presented; when there is a virtual object in an anti-reconnaissance state among multiple other virtual objects, the position presentation style of the other virtual objects in the anti-reconnaissance state is controlled to be a target style.

[0180] Here, when the first virtual object is in the anti-reconnaissance state, the terminal can present a map corresponding to the virtual scene, and at the same time, present the positions of multiple other virtual objects in the virtual scene in the map. In actual applications, when there is a virtual object in the anti-reconnaissance state among multiple other virtual objects, the position presentation style of the other virtual objects in the anti-reconnaissance state is controlled to be the target style.

[0181] In actual implementation, the other virtual object can be in the same camp as the first virtual object. To facilitate the first virtual object in the same camp to view the position of the other virtual object, the position of the other virtual object can be displayed differently on the map. For example, the correct position of the other virtual object is displayed by a green mark, and the false position is displayed by a red mark. At the same time, a flashing red mark can be displayed to remind the player corresponding to the first virtual object that the position indicated by the red mark is false. In this way, it is convenient for the player corresponding to the first virtual object to find the real position of the teammate, and it can also prevent the player from being found by the enemy player by mistake at the false position of the teammate.

[0182] In some embodiments, the terminal may perform virtual object detection on the sensing area; when a third virtual object is detected to enter the sensing area, the interaction relationship between the third virtual object and the first virtual object is obtained; when the interaction relationship indicates that the third virtual object and the first virtual object belong to the same camp, the third virtual object is controlled to be in an anti-reconnaissance state.

[0183] Here, after the terminal presents the sensing area corresponding to the anti-reconnaissance skill, it can perform virtual object detection on the sensing area, that is, detect the virtual object in the sensing area; when the third virtual object is detected to enter the sensing area, the interaction relationship between the third virtual object and the first virtual object is obtained, and the interaction relationship includes that the third virtual object and the first virtual object belong to the same camp, and the third virtual object and the first virtual object belong to different camps. When the interaction relationship represents that the third virtual object and the first virtual object belong to the same camp, the third virtual object is controlled to be in an anti-reconnaissance state. In this way, when a teammate who belongs to the same camp as the first virtual object enters the sensing area, he can also enter the anti-reconnaissance state to achieve the assistance effect between teammates.

[0184] In some embodiments, the terminal may present virtual support props corresponding to anti-reconnaissance skills within the sensing area; when receiving an area disappearance command triggered by the virtual support props, the sensing area corresponding to the anti-reconnaissance skill is canceled, and the first virtual object is controlled to exit the anti-reconnaissance state.

[0185] Here, the anti-reconnaissance skill needs to be supported by a virtual support prop, that is, when the virtual support prop exists, the anti-reconnaissance skill is in an effective state, and when the virtual support prop does not exist, the anti-reconnaissance skill is in an invalid state. In actual applications, the terminal can present a virtual support prop corresponding to the anti-reconnaissance skill in the sensing area, such as presenting a virtual support prop in the center of the sensing area; the virtual support prop may be attacked or destroyed by other virtual objects in the virtual scene and disappear, so the terminal receives an area disappearance instruction triggered by the virtual support prop. At this time, the terminal responds to the area disappearance instruction triggered by the virtual support prop, cancels the presentation of the sensing area corresponding to the anti-reconnaissance skill, and controls the first virtual object to exit the anti-reconnaissance state.

[0186] As an example, see Fig.10 , Fig.10 is a display diagram of virtual support props provided in an embodiment of the present application. Here, the terminal presents a virtual support prop G corresponding to the anti-reconnaissance skill in the sensing area, such as Fig.10 As shown in Figure A; when receiving an area disappearance command based on a virtual support item, such as receiving an attack operation against virtual support item G, the virtual support item disappears, and the sensing area corresponding to the anti-reconnaissance skill is also cancelled, such as Fig.10 As shown in Figure B.

[0187] In some embodiments, the terminal may present the remaining effective time of the anti-reconnaissance skill; when the remaining effective time is lower than the time threshold or returns to zero, the sensing area corresponding to the anti-reconnaissance skill is canceled, and the first virtual object is controlled to exit the anti-reconnaissance state.

[0188] Here, the anti-reconnaissance skill is set with an effective duration. When the anti-reconnaissance skill is triggered, the terminal can present the remaining effective duration of the anti-reconnaissance skill. When the remaining effective duration is lower than the duration threshold or returns to zero, the sensing area corresponding to the anti-reconnaissance skill is canceled, and the first virtual object is controlled to exit the anti-reconnaissance state. In practical applications, the effective duration of the anti-reconnaissance skill can be variable, and the effective duration can be determined according to the interactive score (or the player level of the player corresponding to the first virtual object) obtained by controlling the first virtual object in the virtual scene. For example, the higher the interactive score (or the player level), the longer the effective duration. Of course, the maximum value of the effective duration can also be set, that is, when the effective duration reaches the maximum value, even if the interactive score (or the player level) increases, the effective duration will remain unchanged at the maximum value.

[0189] In actual application, the number of times the anti-reconnaissance skill can be used can be limited, such as only three times; or the number of times the anti-reconnaissance skill can be used can be determined according to the player level of the player corresponding to the first virtual object (or the interaction score obtained by controlling the first virtual object in the virtual scene), and the higher the player level (or interaction score), the more times the anti-reconnaissance skill can be used. Similarly, a maximum value of the number of uses can also be set, that is, when the number of uses reaches the maximum value, even if the player level (or interaction score) increases, the number of uses will remain at the maximum value.

[0190] In some embodiments, the terminal may determine the position of the first virtual object in the map in the following manner: determine the position of the first virtual object in the virtual scene as the target position, and determine a target area with the target position as the center and the target distance as the radius; select other positions different from the target position from the target area as the position of the first virtual object in the map.

[0191] Here, when determining the position of the first virtual object in the map, the terminal can first obtain the position of the first virtual object in the virtual scene, and determine the position of the first virtual object in the virtual scene as the target position; then determine the target area with the target position as the center and the target distance as the radius; thereby selecting other positions different from the target position from the target area as the position of the first virtual object in the map.

[0192] In practical applications, the selected other positions may be randomly selected, for example, obtained by a random number generation algorithm. Here, the distance between the selected other positions and the real position of the first virtual object in the virtual scene (i.e., the target position) may need to reach a preset certain distance threshold. In this way, when other virtual objects search for the first virtual object based on the position of the first virtual object in the map, the time required for the search can be extended to give the first virtual object sufficient time to avoid.

[0193] As an example, see Fig.11 , Fig.11 : is a schematic diagram showing the position of a virtual object in an anti-reconnaissance state provided by an embodiment of the present application. Here, the first virtual object is in an anti-reconnaissance state, and the position of the first virtual object in the virtual scene is position E, that is, the real position, such as Fig.11 As shown in Figure A; then the area Z with position E as the center and target distance R as the radius is as follows Fig.11 As shown in Figure B; another position different from position E is selected in area Z, namely position F, and position F is used as the position of the first virtual object when it is presented in the map of the second virtual object, namely, a false position. In this way, when the position information of the first virtual object is presented in the map of the second virtual object, the position of the first virtual object in the map indicates that the position of the first virtual object in the virtual scene is position F, as shown in Figure B. Fig.11 As shown in Figure C.

[0194] Thus, when the position information of the first virtual object is presented in the map of the second virtual object during the process of the first virtual object being in the anti-reconnaissance state, the position of the first virtual object in the map is different from the position of the first virtual object in the virtual scene.

[0195] In some embodiments, when the first virtual object is in an anti-reconnaissance state, the terminal may determine the position of the first virtual object in the map in the following manner: periodically selecting a virtual position; after each selection of the virtual position, replacing the position of the first virtual object in the map with the selected virtual position; wherein the virtual position is different from the position of the first virtual object in the virtual scene when the virtual position is selected.

[0196] Here, when the first virtual object is in the anti-reconnaissance state, a virtual position can be periodically selected, and the selected virtual position is different from the position of the first virtual object in the virtual scene when the virtual position is selected, that is, the virtual position does not represent the real position of the first virtual object in the virtual scene. Then, the position of the first virtual object in the map is replaced with the selected virtual position, so as to achieve the effect of periodically updating the position of the first virtual object in the map, so that the false position of the first virtual object is periodically updated, the real position of the first virtual object is better hidden, and the skill effect of the anti-reconnaissance skill in the virtual scene is improved.

[0197] Applying the above-mentioned embodiment of the present application, a first virtual object with anti-reconnaissance skills is presented in the interface of the virtual scene, and when a trigger instruction for the anti-reconnaissance skill for the first virtual object is received, a sensing area corresponding to the anti-reconnaissance skill is presented, and when the first virtual object is in the sensing area, the first virtual object is controlled to be in an anti-reconnaissance state; here, during the process of the first virtual object being in the anti-reconnaissance state, when the position information of the first virtual object is presented in the map of the second virtual object, the position of the first virtual object in the map is different from the position of the first virtual object in the virtual scene.

[0198] Thus, for the second virtual object, the position of the first virtual object displayed in the map is different from the real position of the first virtual object in the virtual scene, and the position of the first virtual object displayed in the map is false. Therefore, for the first virtual object, the purpose of hiding the first virtual object is achieved, and it can be achieved by only triggering the anti-reconnaissance skill, reducing the number of interactions required to achieve the purpose of interaction, and improving the efficiency of human-computer interaction and the utilization of hardware processing resources.

[0199] The following will describe an exemplary application of an embodiment of the present application in an actual application scenario. Taking the virtual scene as a game scene as an example, the position of the first virtual object (i.e., the virtual character controlled by the user) in the virtual scene can be displayed on the map of the second virtual object (such as the virtual character controlled by other users in the camp that is in an adversarial relationship with the user's camp), so that the second virtual object can learn the position of the first virtual object through the map to quickly attack the first virtual object. Based on this, the embodiment of the present application provides a control method for a virtual object, which can control the virtual object to release anti-reconnaissance skills, so that the position of the first virtual object displayed in the map of the second virtual object is false, thereby achieving the purpose of hiding the real position of the first virtual object. Here, the position of the first virtual object displayed in the map of the second virtual object is not the real position of the first virtual object, but the modified position data. Next, the anti-reconnaissance skills provided by the embodiment of the present application are described in detail.

[0200] 1) Add anti-reconnaissance skills. Players can equip the first virtual object with the corresponding virtual props to enable the first virtual object to obtain the anti-reconnaissance skill. When the player controls the first virtual object with the anti-reconnaissance skill to enter the virtual scene, the anti-reconnaissance skill cannot be used at the beginning of the game and needs to wait for the cooldown time to end before it can be used. Figure 6 , Figure 6 : is a display diagram of the skill control of the anti-reconnaissance skill provided in the embodiment of the present application. Here, the terminal presents status indication information for indicating the activation progress corresponding to the skill control, that is, the progress percentage "4%" corresponding to the activation progress. At this time, the skill control of the anti-reconnaissance skill is in a cooling state, such as Figure 6As shown in Figure A; when the status indicator information indicates that the skill control is in an activated state, that is, the progress percentage corresponding to the activation progress is "100%", the skill control "anti-reconnaissance" is presented in a highlighted manner, such as Figure 6 As shown in Figure B, at this time, the skill control of the anti-reconnaissance skill is in an activated state and the anti-reconnaissance skill can be used.

[0201] 2) Add the function of interference range. When the player clicks the skill control of the anti-reconnaissance skill, a sensing range will be released. All virtual objects in the same camp as the first virtual object within the sensing range can be in the anti-reconnaissance state. Fig.10 As shown, the sensing area is displayed, and a virtual support item G corresponding to the anti-reconnaissance skill is presented in the sensing area, such as Fig.10 As shown in Figure A; when receiving an area disappearance command based on a virtual support item, such as receiving an attack operation against virtual support item G, the virtual support item disappears, and the sensing area corresponding to the anti-reconnaissance skill is also cancelled, such as Fig.10 As shown in Figure B.

[0202] 3) Add the function of displaying the wrong location after interference. When the second virtual object uses a virtual reconnaissance prop (such as a reconnaissance aircraft) to search for the first virtual object, the location of the searched first virtual object can be displayed on the map in the form of a red dot, such as Fig.11 As shown in Figure A, the real position of the first virtual object is displayed, that is, position E. When the first virtual object is in the sensing area corresponding to the anti-reconnaissance skill, the red dot display is disordered, that is, the red dot position is disturbed. Specifically, a region Z with a radius of R is randomly generated with the real red dot position (i.e., position E) as the center. The maximum value of the radius R does not exceed the configured value, such as Fig.11 Then, a random position is generated in area Z as the player's fake position, namely position F. Fig.11 As shown in Figure C. Fig.11 The red dot at position F shown in Figure C is the effect of being interfered with by the anti-reconnaissance skill. At this time, the second virtual object using the virtual reconnaissance prop can only see the randomly generated red dot through the map, that is, the false position "position F". When the first virtual object leaves the sensing area corresponding to the anti-reconnaissance skill, the red dot will return to normal, that is, the real position of the first virtual object, that is, position E.

[0203] See next Fig.12 , Fig.12 : is a flow chart of a method for controlling a virtual object provided in an embodiment of the present application, including:

[0204] Step 201: Start;

[0205] Step 202: The second virtual object is equipped with a virtual reconnaissance prop;

[0206] Step 203: whether the second virtual object uses a virtual reconnaissance prop, if yes, execute step 204, if no, return to step 202;

[0207] Step 204: The map displays the real position of the first virtual object;

[0208] Step 205: Determine whether the first virtual object uses anti-reconnaissance skills, if so, execute step 206, if not, return to step 204;

[0209] Step 206: Display the sensing area corresponding to the anti-reconnaissance skill;

[0210] Step 207: Determine whether the first virtual object enters the sensing area, if so, execute step 208, if not, return to step 206;

[0211] Step 208: the real position of the first virtual object displayed in the map disappears, and a false position different from the real position is randomly displayed;

[0212] Step 209: Determine whether the sensing area corresponding to the anti-reconnaissance skill disappears, if so, execute step 210, if not, return to step 208;

[0213] Step 210: returning to normal, the map displays the real position of the first virtual object;

[0214] Step 211: End.

[0215] In actual application, the position of the first virtual object is displayed in the radar map of the second virtual object. The mapping principle of the radar map and the large map of the virtual scene is as follows: Fig.13 , Fig.13 Here, 1) a mapping relationship between the position of the player on the large map and the position of the player on the small map is established; 2) three points A, B and C are selected in the large map, such as Fig.13 As shown in Figure (1). Similarly, three points are selected on the radar map as mapping points A1, B1, and C1, as shown in Fig.13 3) Calculate the distance and direction between the first virtual object P and A, B and C in the large map respectively, and obtain AP, BP and CP; 4) Calculate A1P1, B1P2 and C1P3 in the radar map based on the mapping relationship; 5) Take an average value P0 of the three points P1, P2 and P3, and P0 is the position of the first virtual object to be displayed in the small map.

[0216] In practical applications, the false position of the first virtual object is random data, which is obtained by the principle of random data generation. In actual implementation, the linear congruential method can be used to generate random data. The linear congruential method is based on "software algorithm + random number seed" and uses the following formula to generate a random sequence:

[0217]

[0218] Among them, a n Indicates the nth random number; d is the seed; mod is the remainder function; b, c, and m are all positive integer constants, and m and b are mutually prime (b is often a prime number). Since the modulus is taken for m, the random number has periodicity, and the size of m determines the length of the period, and the larger the better; in practical applications, different seeds correspond to different random numbers, and the current timestamp can be used as the seed, and srand((unsigned)time()) can be used to generate a random sequence.

[0219] Applying the above-mentioned embodiment of the present application, when the position information of the first virtual object is presented in the map of the second virtual object during the process of the first virtual object being in the anti-reconnaissance state, the position of the first virtual object in the map is different from the position of the first virtual object in the virtual scene. In this way, for the second virtual object, the position of the first virtual object displayed in the map is different from the real position of the first virtual object in the virtual scene, and the position of the first virtual object displayed in the map is false. Therefore, for the first virtual object, the purpose of hiding the first virtual object is achieved, and it only needs to trigger the anti-reconnaissance skill to achieve it, reducing the number of interactions required to achieve the purpose of interaction, improving the efficiency of human-computer interaction and the utilization rate of hardware processing resources; at the same time, it provides new virtual skills (i.e., anti-reconnaissance skills), enriches the skills in the virtual scene, and enhances the user's experience in the virtual scene.

[0220] It is understandable that in the embodiments of the present application, related data such as user information is involved. When the embodiments of the present application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.

[0221] The following is a description of an exemplary structure of a virtual object control device 555 provided in an embodiment of the present application implemented as a software module. In some embodiments, Figure 2 As shown, the software modules stored in the virtual object control device 555 of the memory 550 may include:

[0222] A first presentation module 5551, used for presenting a first virtual object with anti-reconnaissance skills in an interface of a virtual scene;

[0223] A second presentation module 5552, configured to present a sensing area corresponding to the anti-reconnaissance skill in response to a trigger instruction for the anti-reconnaissance skill of the first virtual object;

[0224] A control module 5553, configured to control the first virtual object to be in an anti-reconnaissance state when the first virtual object is in the sensing area;

[0225] Wherein, when the first virtual object is in the anti-reconnaissance state, when the position information of the first virtual object is presented in the map of the second virtual object, the position of the first virtual object in the map is different from the position of the first virtual object in the virtual scene.

[0226] In some embodiments, the first presentation module 5551 is further used to present a skill control corresponding to the anti-reconnaissance skill;

[0227] When the skill control is in an activated state, in response to a trigger operation on the skill control, a trigger instruction for an anti-reconnaissance skill for the first virtual object is received.

[0228] In some embodiments, the first presentation module 5551 is further used to present a prop icon corresponding to the anti-reconnaissance skill;

[0229] In response to a trigger operation on the prop icon, controlling the first virtual object to equip the virtual prop corresponding to the anti-reconnaissance skill;

[0230] When the first virtual object successfully equips the virtual prop, a skill control corresponding to the anti-reconnaissance skill is presented.

[0231] In some embodiments, the first presentation module 5551 is further used to present a skill control corresponding to the anti-reconnaissance skill in a cooling state;

[0232] The first presentation module 5551 is further used to obtain the cooling time and cooling start time point corresponding to the skill control;

[0233] When it is determined that the cooling end time point corresponding to the skill control has arrived based on the cooling duration and the cooling start time point, the skill control is controlled to switch from the cooling state to the activation state.

[0234] In some embodiments, the first presentation module 5551 is further used to present status indication information indicating the activation progress corresponding to the skill control;

[0235] The first presentation module 5551 is further used to present the skill control in a target display style when the status indication information indicates that the skill control is in an activated state.

[0236] In some embodiments, the first virtual object and the second virtual object belong to different camps; the first rendering module 5551 is further used to obtain the distance between the second virtual object and the first virtual object;

[0237] When the distance is lower than a distance threshold, a skill control corresponding to the anti-reconnaissance skill is presented.

[0238] In some embodiments, the first rendering module 5551 is further used to obtain interaction data of the first virtual object and scene data of a virtual scene corresponding to the current position of the first virtual object;

[0239] Based on the interaction data and the scene data, calling a neural network model to predict whether the first virtual object needs to trigger the anti-reconnaissance skill to obtain a prediction result;

[0240] When the prediction result indicates that the first virtual object needs to trigger the anti-reconnaissance skill, a skill control corresponding to the anti-reconnaissance skill is presented.

[0241] In some embodiments, the second presentation module 5552 is further used to determine a target area centered on the target position as a sensing area corresponding to the anti-reconnaissance skill, and present the sensing area;

[0242] The target location is one of the following locations:

[0243] The position of the first virtual object and the skill release position corresponding to the anti-reconnaissance skill.

[0244] In some embodiments, the second presentation module 5552 is further used to present a position mark for selecting the skill release position when the target position is the skill release position corresponding to the anti-reconnaissance skill;

[0245] In response to a movement instruction for the location marker, controlling the location marker to move in the virtual scene;

[0246] In response to a position determination instruction for the position marker, the position of the position marker in the virtual scene is determined as the skill release position.

[0247] In some embodiments, the second presentation module 5552 is further used to present a virtual support prop corresponding to the anti-reconnaissance skill in the sensing area;

[0248] When receiving an area disappearance instruction triggered by the virtual support prop, canceling the presentation of the sensing area corresponding to the anti-reconnaissance skill;

[0249] The control module 5553 is further used to control the first virtual object to exit the anti-reconnaissance state.

[0250] In some embodiments, the second presentation module 5552 is further used to present the remaining effective time of the anti-reconnaissance skill;

[0251] When the remaining effective time is lower than the time threshold or returns to zero, the sensing area corresponding to the anti-reconnaissance skill is canceled;

[0252] The control module 5553 is further used to control the first virtual object to exit the anti-reconnaissance state.

[0253] In some embodiments, the control module 5553 is further used to determine the position of the first virtual object in the virtual scene as the target position, and determine a target area with the target position as the center and the target distance as the radius;

[0254] Other positions different from the target position are selected from the target area as the positions of the first virtual object in the map.

[0255] In some embodiments, when the first virtual object is in the anti-reconnaissance state, the second rendering module 5552 is further used to render a map corresponding to the virtual scene;

[0256] In the map, presenting the positions of a plurality of other virtual objects in the virtual scene;

[0257] When there is a virtual object in the anti-reconnaissance state among the plurality of other virtual objects, the position presentation style of the other virtual objects in the anti-reconnaissance state is controlled to be a target style.

[0258] In some embodiments, the control module 5553 is further used to perform virtual object detection on the sensing area;

[0259] When a third virtual object is detected to enter the sensing area, acquiring an interaction relationship between the third virtual object and the first virtual object;

[0260] When the interactive relationship represents that the third virtual object and the first virtual object belong to the same camp, the third virtual object is controlled to be in the anti-reconnaissance state.

[0261] In some embodiments, the second presentation module 5552 is further used to display a region bounding box in the virtual scene using a target display style, where the region in the region bounding box is the sensing region corresponding to the anti-reconnaissance skill;

[0262] When the first virtual object is within the sensing area, the control module 5553 is further configured to control the first virtual object to move in response to a movement instruction for the first virtual object;

[0263] Along with the movement of the first virtual object, the area bounding box is controlled to move synchronously.

[0264] In some embodiments, when the first virtual object is in the anti-reconnaissance state, the control module 5553 is further used to periodically select a virtual position, which is different from the position of the first virtual object in the virtual scene when the virtual position is selected;

[0265] After each selection of the virtual position, the position of the first virtual object in the map is replaced with the selected virtual position.

[0266] Applying the above-mentioned embodiment of the present application, a first virtual object with anti-reconnaissance skills is presented in the interface of the virtual scene, and when a trigger instruction for the anti-reconnaissance skill for the first virtual object is received, a sensing area corresponding to the anti-reconnaissance skill is presented, and when the first virtual object is in the sensing area, the first virtual object is controlled to be in an anti-reconnaissance state; here, during the process of the first virtual object being in the anti-reconnaissance state, when the position information of the first virtual object is presented in the map of the second virtual object, the position of the first virtual object in the map is different from the position of the first virtual object in the virtual scene.

[0267] Thus, for the second virtual object, the position of the first virtual object displayed in the map is different from the real position of the first virtual object in the virtual scene, and the position of the first virtual object displayed in the map is false. Therefore, for the first virtual object, the purpose of hiding the first virtual object is achieved, and it can be achieved by only triggering the anti-reconnaissance skill, reducing the number of interactions required to achieve the purpose of interaction, and improving the efficiency of human-computer interaction and the utilization of hardware processing resources.

[0268] The present application also provides an electronic device, the electronic device comprising:

[0269] A memory for storing executable instructions;

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

[0271] The embodiment of the present application also provides a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. The processor of the computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the control method of the virtual object provided in the embodiment of the present application.

[0272] The embodiment of the present application also provides a computer-readable storage medium storing executable instructions. When the executable instructions are executed by a processor, the control method of the virtual object provided in the embodiment of the present application is implemented.

[0273] 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.

[0274] 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.

[0275] 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 storing other programs or data, for example, in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files (for example, files storing one or more modules, subroutines, or code portions).

[0276] 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.

[0277] 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 object, characterized in that: The method comprises: In the interface of the virtual scene, presenting a first virtual object having anti-reconnaissance skills; In response to a trigger instruction of an anti-reconnaissance skill for the first virtual object, presenting a sensing area corresponding to the anti-reconnaissance skill; When the first virtual object is within the sensing area, controlling the first virtual object to be in an anti-reconnaissance state; Wherein, when the first virtual object is in the anti-reconnaissance state, when the position information of the first virtual object is presented in the map of the second virtual object, the position of the first virtual object in the map is different from the position of the first virtual object in the virtual scene.

2. The method according to claim 1, characterized in that The method further comprises: Presenting a skill control corresponding to the anti-reconnaissance skill; When the skill control is in an activated state, in response to a trigger operation on the skill control, a trigger instruction for an anti-reconnaissance skill for the first virtual object is received.

3. The method according to claim 2, characterized in that The presenting of the skill control corresponding to the anti-reconnaissance skill includes: Presenting an item icon corresponding to the anti-reconnaissance skill; In response to a trigger operation on the prop icon, controlling the first virtual object to equip the virtual prop corresponding to the anti-reconnaissance skill; When the first virtual object successfully equips the virtual prop, a skill control corresponding to the anti-reconnaissance skill is presented.

4. The method according to claim 2, characterized in that The presenting of the skill control corresponding to the anti-reconnaissance skill includes: Presenting a skill control corresponding to the anti-reconnaissance skill in a cooling state; The method further comprises: Obtain the cooldown duration and cooldown start time corresponding to the skill control; When it is determined that the cooling end time point corresponding to the skill control has arrived based on the cooling duration and the cooling start time point, the skill control is controlled to switch from the cooling state to the activation state.

5. The method according to claim 2, characterized in that The method further comprises: Presenting status indication information for indicating the activation progress corresponding to the skill control; The presenting of the skill control corresponding to the anti-reconnaissance skill includes: When the status indication information indicates that the skill control is in an activated state, the skill control is presented in a target display style.

6. The method according to claim 2, characterized in that The first virtual object and the second virtual object belong to different camps; The presenting of the skill control corresponding to the anti-reconnaissance skill includes: Acquire the distance between the second virtual object and the first virtual object; When the distance is lower than a distance threshold, a skill control corresponding to the anti-reconnaissance skill is presented.

7. The method according to claim 2, characterized in that The presenting of the skill control corresponding to the anti-reconnaissance skill includes: Acquire interaction data of the first virtual object and scene data of a virtual scene corresponding to a current position of the first virtual object; Based on the interaction data and the scene data, calling a neural network model to predict whether the first virtual object needs to trigger the anti-reconnaissance skill to obtain a prediction result; When the prediction result indicates that the first virtual object needs to trigger the anti-reconnaissance skill, a skill control corresponding to the anti-reconnaissance skill is presented.

8. The method according to claim 1, characterized in that The sensing area corresponding to the anti-reconnaissance skill includes: Determine a target area centered on the target position as a sensing area corresponding to the anti-reconnaissance skill, and present the sensing area; The target location is one of the following locations: The position of the first virtual object and the skill release position corresponding to the anti-reconnaissance skill.

9. The method according to claim 8, characterized in that Before presenting the sensing area corresponding to the anti-reconnaissance skill, the method further includes: When the target position is the skill release position corresponding to the anti-reconnaissance skill, a position mark for selecting the skill release position is presented; In response to a movement instruction for the location marker, controlling the location marker to move in the virtual scene; In response to a position determination instruction for the position marker, the position of the position marker in the virtual scene is determined as the skill release position.

10. The method according to claim 1, characterized in that The method further comprises: In the sensing area, presenting a virtual support item corresponding to the anti-reconnaissance skill; When receiving an area disappearance instruction triggered by the virtual support prop, cancel the presentation of the sensing area corresponding to the anti-reconnaissance skill, and The first virtual object is controlled to exit the anti-reconnaissance state.

11. The method according to claim 1, characterized in that The method further comprises: The remaining effective time of the anti-reconnaissance skill is presented; When the remaining effective time is lower than the time threshold or reaches zero, the sensing area corresponding to the anti-reconnaissance skill is canceled, and The first virtual object is controlled to exit the anti-reconnaissance state.

12. The method according to claim 1, characterized in that The method further comprises: Determine the position of the first virtual object in the virtual scene as a target position, and determine a target area with the target position as a center and a target distance as a radius; Other positions different from the target position are selected from the target area as the positions of the first virtual object in the map.

13. The method according to claim 1, characterized in that When the first virtual object is in the anti-reconnaissance state, the method further includes: Presenting a map corresponding to the virtual scene; In the map, presenting the positions of a plurality of other virtual objects in the virtual scene; When there is a virtual object in the anti-reconnaissance state among the plurality of other virtual objects, the position presentation style of the other virtual objects in the anti-reconnaissance state is controlled to be a target style.

14. The method according to claim 1, wherein: The method further comprises: Performing virtual object detection on the sensing area; When a third virtual object is detected to enter the sensing area, acquiring an interaction relationship between the third virtual object and the first virtual object; When the interactive relationship represents that the third virtual object and the first virtual object belong to the same camp, the third virtual object is controlled to be in the anti-reconnaissance state.

15. The method according to claim 1, wherein: The sensing area corresponding to the anti-reconnaissance skill includes: In the virtual scene, a region enclosing frame is displayed in a target display style, and the region in the region enclosing frame is the sensing region corresponding to the anti-reconnaissance skill; When the first virtual object is within the sensing area, the method further includes: In response to a movement instruction for the first virtual object, controlling the first virtual object to move; Along with the movement of the first virtual object, the area bounding box is controlled to move synchronously.

16. The method according to claim 1, wherein: When the first virtual object is in the anti-reconnaissance state, the method further includes: periodically selecting a virtual position, the virtual position being different from a position of the first virtual object in the virtual scene when the virtual position is selected; After each selection of the virtual position, the position of the first virtual object in the map is replaced with the selected virtual position.

17. A control device for a virtual object, characterized in that: The device comprises: A first presentation module, used for presenting a first virtual object with anti-reconnaissance skills in an interface of a virtual scene; A second presentation module, configured to present a sensing area corresponding to the anti-reconnaissance skill in response to a trigger instruction of the anti-reconnaissance skill for the first virtual object; a control module, configured to control the first virtual object to be in an anti-reconnaissance state when the first virtual object is in the sensing area; Wherein, when the first virtual object is in the anti-reconnaissance state, when the position information of the first virtual object is presented in the map of the second virtual object, the position of the first virtual object in the map is different from the position of the first virtual object in the virtual scene.

18. An electronic device, characterized in that: The electronic device comprises: A memory for storing executable instructions; A processor, configured to implement the method for controlling a virtual object according to any one of claims 1 to 16 when executing the executable instructions stored in the memory.

19. A computer-readable storage medium storing executable instructions, characterized in that: When the executable instructions are executed by a processor, the virtual object control method according to any one of claims 1 to 16 is implemented.

20. 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 method for controlling a virtual object according to any one of claims 1 to 16 is implemented.