Method, device, electronic device and computer program for processing messages in a virtual scene

The method of using a map interface to send location-based messages in virtual scenes addresses the issue of distracting unrelated users and improves efficiency by enabling direct communication between teammates.

JP7749843B2Active Publication Date: 2025-10-06TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2024532338
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2022-05-23
Filing Date
2023-03-23
Publication Date
2025-10-06
Estimated Expiration
2043-03-23

AI Technical Summary

Technical Problem

Existing virtual scene communication methods often distract unrelated users with messages intended for specific teammates, and users without voice communication hardware face inefficiencies in sending targeted messages.

Method used

A method and apparatus that utilize a map interface to display location marks for virtual objects within the same camp, allowing users to move these marks to desired positions and send point-to-point messages, eliminating distractions and improving efficiency.

Benefits of technology

This approach enables rapid, accurate point-to-point message transmission without sound collection equipment, reducing computing resources and enhancing interaction efficiency in virtual scenes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007749843000001
    Figure 0007749843000001
  • Figure 0007749843000002
    Figure 0007749843000002
  • Figure 0007749843000003
    Figure 0007749843000003
Patent Text Reader

Abstract

The present application provides a method, an apparatus, an electronic device, a computer-readable storage medium, and a computer program product for processing messages in a virtual scene, the method including: displaying a map of at least a partial area of ​​the virtual scene in a map interface corresponding to a first virtual object; in response to the appearance of at least one second virtual object in the partial area, displaying a location mark control on the map to represent a first location where the second virtual object is currently located, the second virtual object being any virtual object belonging to the same faction as the first virtual object; and in response to a movement operation on the location mark control, moving the location mark control from the first location to a second location and sending a message to the second virtual object, the message being used to instruct the second virtual object to reach the second location and execute a command.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS This application is based on and claims priority from a Chinese patent application bearing application number 202210563612.6 and filed on May 23, 2022, the entire contents of which are incorporated herein by reference.

[0002] The present application relates to computer technology, and in particular to a method, apparatus, electronic device, computer-readable storage medium and computer program product for processing messages in a virtual scene. [Background technology]

[0003] Display technology based on graphics processing hardware has expanded the means of recognizing the environment and obtaining information. In particular, virtual scene display technology can realize diverse interactions between virtual objects controlled by users or artificial intelligence according to actual application needs, and has a variety of typical application scenarios. For example, in virtual scenes such as games, it can simulate the actual battle process between virtual objects.

[0004] In virtual environments, methods for users to communicate with other users include voice communication, in-game quick markers, quick messages, etc. These messages are usually sent to everyone on the same side or team, which can cause some teammates to be distracted by messages that are unrelated to them. While efficient communication with specific teammates can be achieved through voice, some users' terminal devices may not be equipped with hardware or software devices related to voice communication. Related art has not yet proposed a technical means for efficiently sending messages to specific users. Summary of the Invention

[0005] Embodiments of the present application provide a method, apparatus, electronic device, computer-readable storage medium, and computer program product for processing messages in a virtual scene, which can efficiently transmit point-to-point messages in the virtual scene, thereby eliminating the disturbance of messages to unrelated users.

[0006] The technical means of the embodiments of the present application are realized as follows.

[0007] An embodiment of the present application provides a method for processing messages in a virtual scene, the method comprising: displaying a map of at least a subregion of the virtual scene in a map interface corresponding to a first virtual object; In response to appearance of at least one second virtual object in the partial area, displaying a location mark control on the map to indicate a first location where the second virtual object is currently located, the second virtual object being any virtual object belonging to the same camp as the first virtual object; and in response to a movement operation on the location mark control, moving the location mark control from a first position to a second position and sending a message to a second virtual object, the message being used to instruct the second virtual object to reach the second position and execute the command.

[0008] An embodiment of the present application provides a message processing device in a virtual scene, the device comprising: a display module arranged to display a map of at least a sub-region of the virtual scene in a map interface corresponding to a first virtual object; the display module is further configured to, in response to appearance of at least one second virtual object in the partial region, display a location mark control on the map to indicate a first location where the second virtual object is currently located, the second virtual object being any virtual object belonging to the same camp as the first virtual object; and a message sending module arranged to, in response to a movement operation on the place mark control, move the place mark control from a first position to a second position and send a message to a second virtual object, the message being used to instruct the second virtual object to reach the second position and execute a command.

[0009] An embodiment of the present application provides an electronic device, the electronic device comprising: a memory for storing executable instructions; a processor for, when executing executable instructions stored in the memory, implementing a method for processing messages in a virtual scene according to an embodiment of the present application.

[0010] An embodiment of the present application provides a computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, implements a method for processing messages in a virtual scene according to an embodiment of the present application.

[0011] An embodiment of the present application provides a computer program product including a computer program or instructions which, when executed by a processor, implements a method for processing messages in a virtual scene according to an embodiment of the present application.

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

[0013] A location mark control of a second virtual object in the same camp as the first virtual object is displayed on a map interface, and when the location mark control of the second virtual object is moved, a corresponding command and message are sent to the second virtual object based on the movement operation, thereby realizing rapid point-to-point message transmission using the map interface of the virtual scene. Compared with message transmission by voice transmission or character input in related technologies, message transmission is faster by dragging the location mark control, thereby reducing the time required for message transmission.

[0014] By sending messages only to the second virtual object, accurate point-to-point message transmission is achieved and interference with other virtual objects in the same camp is prevented.

[0015] Multiplexing location mark controls in the map interface of the virtual scene to send messages simplifies the interaction logic of the virtual scene, improves operation efficiency, and realizes point-to-point message transmission without using sound collection equipment (e.g., a microphone), thereby saving the computing resources required for the virtual scene, compared with setting up a new control for message sending in the human-computer interaction interface. [Brief explanation of the drawings]

[0016] [Figure 1A] 1 is a schematic diagram of an application mode of a message processing method in a virtual scene according to an embodiment of the present application; [Figure 1B] 1 is a schematic diagram of an application mode of a message processing method in a virtual scene according to an embodiment of the present application; [Figure 2] 1 is a schematic diagram illustrating the configuration of a terminal device 400 according to an embodiment of the present application. [Figure 3A] 1 is a flowchart of a method for processing messages in a virtual scene according to an embodiment of the present application; [Figure 3B]1 is a flowchart of a method for processing messages in a virtual scene according to an embodiment of the present application; [Figure 3C] 1 is a flowchart of a method for processing messages in a virtual scene according to an embodiment of the present application; [Figure 3D] 1 is a flowchart of a method for processing messages in a virtual scene according to an embodiment of the present application; [Figure 3E] 1 is a flowchart of a method for processing messages in a virtual scene according to an embodiment of the present application; [Figure 3F] 1 is a flowchart of a method for processing messages in a virtual scene according to an embodiment of the present application; [Figure 4A] FIG. 2 is a schematic diagram of a map interface displayed in a virtual scene interface according to an embodiment of the present application. [Figure 4B] FIG. 1 is a schematic diagram of a map interface separate from a virtual scene interface according to an embodiment of the present application. [Figure 5A] FIG. 2 is a schematic diagram of a map of a message processing method in a virtual scene according to an embodiment of the present application; [Figure 5B] FIG. 2 is a schematic diagram of a map of a message processing method in a virtual scene according to an embodiment of the present application; [Figure 5C] FIG. 2 is a schematic diagram of a map of a message processing method in a virtual scene according to an embodiment of the present application; [Figure 5D] FIG. 2 is a schematic diagram of a map of a message processing method in a virtual scene according to an embodiment of the present application; [Figure 5E] FIG. 2 is a schematic diagram of a map of a message processing method in a virtual scene according to an embodiment of the present application; [Figure 5F] FIG. 2 is a schematic diagram of a map of a message processing method in a virtual scene according to an embodiment of the present application; [Figure 6A] FIG. 2 is a schematic diagram of a map of a message processing method in a virtual scene according to an embodiment of the present application; [Figure 6B] FIG. 2 is a schematic diagram of a map of a message processing method in a virtual scene according to an embodiment of the present application; [Figure 6C]FIG. 2 is a schematic diagram of a map of a message processing method in a virtual scene according to an embodiment of the present application; [Figure 6D] FIG. 2 is a schematic diagram of a map of a message processing method in a virtual scene according to an embodiment of the present application; [Figure 6E] FIG. 2 is a schematic diagram of a map of a message processing method in a virtual scene according to an embodiment of the present application; [Figure 6F] FIG. 2 is a schematic diagram of a map of a message processing method in a virtual scene according to an embodiment of the present application; [Figure 6G] FIG. 2 is a schematic diagram of a map of a message processing method in a virtual scene according to an embodiment of the present application; [Figure 7A] FIG. 1 is a schematic diagram of a command and control arrangement according to an embodiment of the present application. [Figure 7B] FIG. 10 is a schematic diagram of a virtual scene interface corresponding to a second virtual object according to an embodiment of the present application. [Figure 8] 1 is a flowchart illustrating an optional method for processing messages in a virtual scene according to an embodiment of the present application. DETAILED DESCRIPTION OF THE INVENTION

[0017] In order to make the purpose, technical means and advantages of the present application clearer, the present application will be described in detail below with reference to the drawings. The described embodiments should not be considered as limiting the present application. All other embodiments that can be obtained by a person skilled in the art without making creative efforts belong to the protection scope of the present application.

[0018] In the following description, references to "some embodiments" describe a subset of all possible embodiments, but it should be understood that "some embodiments" may be the same or different subsets of all possible embodiments and may be combined with each other unless inconsistent.

[0019] In the following description, references to the terms "first," "second," and "third" are merely intended to distinguish between similar objects and do not indicate a particular order of the objects. It should be noted that "first," "second," and "third" may be interchanged with respect to a particular order or order of precedence when permitted, such that the described embodiments of the present application may be practiced in orders other than those shown or described herein.

[0020] It should be noted that the embodiments of the present application refer to relevant data such as user information, user feedback data, etc., and 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 must comply with the relevant laws, regulations and standards of relevant countries and regions.

[0021] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art. The terms used herein are not intended to limit the present application, but merely to describe the embodiments of the present application.

[0022] Before describing the embodiments of the present application in more detail, the nouns and terms contained in the embodiments of the present application will be explained, and the nouns and terms contained in the embodiments of the present application are suitable for the following interpretation.

[0023] 1) Virtual Scene: A scene output by a device that differs from the real world. Visual perception of the virtual scene can be achieved with the naked eye or with the aid of a device, for example, two-dimensional images output by a display, or three-dimensional images output by stereoscopic display technologies such as stereoscopic projection, virtual reality, and augmented reality. Furthermore, various perceptions that simulate the real world, such as auditory perception, tactile perception, olfactory perception, and kinesthetic perception, can also be achieved with various possible hardware.

[0024] 2) In response to: Used to express a condition or state on which an operation to be performed depends. When the dependent condition or state is met, the operation or operations to be performed may be in real time or may have a set delay. Unless otherwise specified, the execution order of the operations to be performed is not limited to a chronological order.

[0025] 3) Virtual object: An object that interacts in a virtual scene, controlled by a user or a robot program (e.g., a robot program based on artificial intelligence), and can remain stationary, move, and perform various actions in the virtual scene, such as various characters in a game.

[0026] 4) Map: Used to display the terrain and various elements of the ground (e.g., buildings, virtual vehicles, virtual objects) of at least a portion of the virtual scene.

[0027] 5) Point-to-point message: A message sent from one terminal device to another in a point-to-point manner.

[0028] Embodiments of the present application provide a method for processing messages in a virtual scene, an apparatus for processing messages in a virtual scene, an electronic device, a computer-readable storage medium, and a computer program product that can efficiently transmit point-to-point messages in a virtual scene to eliminate the disturbance of messages to unrelated users.

[0029] The electronic devices according to the embodiments of the present application may be implemented as various types of user terminals, such as laptops, tablets, desktop computers, set-top boxes, mobile devices (e.g., mobile phones, portable music players, personal digital assistants, dedicated messaging devices, portable gaming devices, and in-car terminals), or may be implemented as servers.

[0030] In one embodiment, referring to Figure 1A, Figure 1A is a schematic diagram of an application mode of a message processing method for a virtual scene according to an embodiment of the present application, which is suitable for several application modes in which the calculation of virtual scene-related data is completed entirely by the computing capabilities of the graphics processing hardware of the terminal device 400. For example, standalone versions or offline modes of games can be used to output virtual scenes through various types of terminal devices 400, such as smartphones, tablets, virtual reality devices, and augmented reality devices.

[0031] By way of example, types of graphics processing hardware include a Central Processing Unit (CPU) and a Graphics Processing Unit (GPU).

[0032] As an example, a client 401 (e.g., a standalone version of a game application) is running on the terminal device 400. During the execution of the client 401, a virtual scene including role-playing is output. The virtual scene may be an environment for game characters to interact with each other, such as a plain, a highway, or a valley where game characters compete against each other. In the example of displaying the virtual scene from a first-person perspective, a first virtual object and a projectile (e.g., a shooting tool or a throwing tool) held by the first virtual object with a grip (e.g., a hand) are displayed in the virtual scene. Here, the first virtual object may be a game character controlled by a user. That is, the first virtual object is controlled by a real user and moves within the virtual scene in response to the real user's operation of a controller (e.g., a touch screen, a sound switch, a keyboard, a mouse, a joystick, etc.). For example, when a real user moves the joystick to the right, the first virtual object moves to the right within the virtual scene and can be controlled to stay still at its current location, jump, shoot, etc. The second virtual object is a virtual object of the same camp as the first virtual object. The map interface is displayed as a floating layer in a partial region of the virtual scene interface, or the map interface of the virtual scene is displayed in an interface independent of the virtual scene interface.

[0033] For example, the first virtual object may be a virtual object controlled by a user, and the client 401 displays a map 102 of at least a subregion of the virtual scene 101 in a map interface corresponding to the first virtual object. In response to at least one second virtual object (of the same faction as the first virtual object) appearing in the subregion, the client 401 displays a location mark control on the map to indicate a first location where the second virtual object is currently located. In response to a movement operation on the location mark control, the client 401 moves the location mark control from the first location to a second location and sends a message to the second virtual object, where the message includes the second location and an instruction, and the message is used to instruct the second virtual object to reach the second location and execute the instruction.

[0034] In another embodiment, referring to FIG. 1B, FIG. 1B is a schematic diagram of an application mode of a message processing method in a virtual scene according to an embodiment of the present application, which is applied to a terminal device 400 and a server 200, and is suitable for an application mode in which the virtual scene is calculated using the computing capability of the server 200 and the virtual scene is output by the terminal device 400.

[0035] Taking the example of forming a visual perception of a virtual scene, the server 200 calculates display data (e.g., scene data) related to the virtual scene and transmits it to the terminal device 400 via the network 300. The terminal device 400 then loads, analyzes, and renders the calculated display data using graphics calculation hardware, and outputs the virtual scene using graphics output hardware to form a visual perception. For example, a two-dimensional video frame can be displayed on the display screen of a smartphone, or a video frame can be projected onto the lenses of augmented reality / virtual reality glasses to achieve a three-dimensional display effect. It should be understood that in the case of perception in the form of a virtual scene, output can be performed using corresponding hardware of the terminal device 400, for example, using a microphone to form an auditory perception and a vibrator to form a tactile perception.

[0036] As an example, a client 401 (e.g., a network version of a game application) is running on a terminal device 400. The terminal device 400 connects to a server 200 (e.g., a game server) to interact with other users in a game and output a virtual scene 101 of the client 401. A first virtual object and a projectile (e.g., a shooting tool or a throwing tool) held by the first virtual object in a gripping portion (e.g., a hand) are displayed in the virtual scene. Here, the first virtual object may be a game character controlled by a user. That is, the first virtual object is controlled by a real user and moves within the virtual scene in response to the real user's operation of a controller (e.g., a touch screen, a sound switch, a keyboard, a mouse, a joystick, etc.). For example, when the real user moves the joystick to the right, the first virtual object moves to the right within the virtual scene and can also be controlled to stand still at its current location, jump, perform a shooting operation, etc. The second virtual object is a virtual object of the same camp as the first virtual object. The map interface is displayed as a floating layer in a partial area of ​​the virtual scene interface, or the map interface of the virtual scene is displayed in an interface independent of the virtual scene interface. The map 102 in Figure 1A is displayed as a floating layer in the virtual scene 101.

[0037] For example, the first virtual object may be a virtual object controlled by a user, and the client 401 displays a map 102 of at least a subregion of the virtual scene 101 in a map interface corresponding to the first virtual object. In response to at least one second virtual object (of the same faction as the first virtual object) appearing in the subregion, the client 401 displays a location mark control on the map to indicate a first location where the second virtual object is currently located. In response to a movement operation on the location mark control, the client 401 moves the location mark control from the first location to a second location and sends a message to the second virtual object, where the message includes the second location and an instruction, and the message is used to instruct the second virtual object to reach the second location and execute the instruction.

[0038] Taking a computer program as an example of the application program, the terminal device 400 executes an application program supporting a virtual scene. The application program may be a first-person shooter game (FPS), a third-person shooter game, a virtual reality application program, a three-dimensional map program, or a multiplayer survival game. A user uses the terminal device 400 to manipulate virtual objects in the virtual scene to perform actions. The actions include, but are not limited to, at least one of adjusting body posture, crawling, walking, running, riding, jumping, driving, picking up, shooting, attacking, throwing, and constructing a virtual building. Exemplarily, the virtual object may be a virtual character such as a simulation character or an animation character.

[0039] In some other embodiments, the embodiments of the present application may be realized by cloud technology, which is a hosting technology that integrates a set of resources such as hardware, software, and networks within a wide area network or a local area network to realize data calculation, storage, processing, and sharing.

[0040] Cloud technology is a collective term for network technology, information technology, integration technology, management platform technology, and application technology based on the cloud computing business model. It forms a resource pool and can be used as needed, making it flexible and convenient. Cloud computing technology is an important supporting technology. Background services in technical network systems require large amounts of computing and storage resources. Cloud gaming, also known as gaming on demand, is an online gaming technology based on cloud computing technology. Cloud gaming technology enables thin clients with relatively limited graphics processing and data computing capabilities to run high-quality games. In a cloud gaming scenario, games are run on cloud servers rather than on players' game devices. The cloud servers render game scenes into video and audio streams and transmit them to players' game devices over the network. Players' game devices do not need to have powerful graphics processing and data processing capabilities; they only need basic streaming media playback capabilities and the ability to receive and send player input commands to the cloud server.

[0041] 1B may be an independent physical server, a server cluster or a distributed system configured 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, content delivery networks (CDNs), and big data and artificial intelligence platforms. The terminal device 400 and the server 200 may be directly or indirectly connected via wired or wireless communications, although the embodiments of the present application are not limited thereto.

[0042] The configuration of the terminal device 400 shown in FIG. 1A will be described below. Referring to FIG. 2, FIG. 2 is a schematic diagram of the configuration of the terminal device 400 according to an embodiment of the present application. The terminal device 400 shown in FIG. 2 includes at least one processor 410, a memory 450, at least one network interface 420, and a user interface 430. The components of the terminal device 400 are connected via a bus system 440. The bus system 440 is used to realize connection and communication between these components. The bus system 440 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For convenience of explanation, the buses in FIG. 2 are collectively referred to as the bus system 440.

[0043] The processor 410 may be an integrated circuit chip having signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, etc. Here, the general-purpose processor may be a microprocessor or any conventional processor, etc.

[0044] The user interface 430 includes one or more output devices 431 that enable the display of media content, including one or more speakers and / or one or more visual displays. The user interface 430 further includes one or more input devices 432 that include user interface components that facilitate user input, such as a keyboard, a mouse, a microphone, a touchscreen display, a camera, other input buttons and widgets, etc.

[0045] Memory 450 may be removable, non-removable, or a combination thereof. Memory 450 may include volatile memory, non-volatile memory, or both volatile and non-volatile memory. In some embodiments, memory 450 may store data to support various operations, examples of which include programs, modules, data structures, or a subset or superset thereof, as illustratively described below.

[0046] Operating system 451: Includes system programs such as a framework layer, a core library layer, and a driver layer for processing various basic system services and executing hardware-related tasks, and is used to realize various basic operations and process hardware-based tasks.

[0047] Network communications module 452: Used to reach other computing devices via one or more (wired or wireless) network interfaces 420. Exemplary network interfaces 420 include Bluetooth, Wireless Fidelity (WiFi), Universal Serial Bus (USB), etc.

[0048] Presentation module 453: Used to enable the display of information by one or more output devices 431 (e.g., displays, speakers, etc.) associated with the user interface 430 (e.g., a user interface for operating peripheral devices and displaying content and information).

[0049] Input processing module 454: used to detect one or more user inputs or interactions from one of the one or more input devices 432 and to translate the detected inputs or interactions.

[0050] In some embodiments, the message processing device in the virtual scene according to the embodiments of the present application may be realized in the form of software. Fig. 2 shows a message processing device in the virtual scene 455 stored in memory 450, which may be software in the form of a program, a plug-in, or the like, and includes software modules of a display module 4551 and a message sending module 4552. These modules are logical, and therefore may be arbitrarily combined or further divided according to the functions to be realized.

[0051] Hereinafter, a method for processing a message in a virtual scene according to an embodiment of the present application will be described in detail with reference to the drawings. The method for processing a message in a virtual scene according to an embodiment of the present application can be performed by the terminal device 400 in FIG. 1A. Referring to FIG. 3A, FIG. 3A is a flowchart of the method for processing a message in a virtual scene according to an embodiment of the present application. The following description will be given with reference to the steps shown in FIG. 3A.

[0052] Step 301A displays a map of at least a subregion of the virtual scene in a map interface corresponding to a first virtual object.

[0053] For example, the map may be a preview of the entire area of ​​the virtual scene, or a preview of a partial area of ​​the virtual scene, where the partial area is an area radiating outward from a first virtual object as a center. In this embodiment, the first virtual object is a virtual object corresponding to a user. The second virtual object is another virtual object in the same camp as the first virtual object and may be controlled by another user or by artificial intelligence. In this embodiment, the second virtual object is controlled by another user. The first virtual object is a virtual object that sends a message, and the second virtual object is a virtual object that receives a message.

[0054] For example, refer to FIG. 5A, which is a schematic diagram of a map for a message processing method in a virtual scene according to an embodiment of the present application. The map 501A is a preview of the entire area of ​​the virtual scene, and a map zoom control 503A is provided on the outer edge of the map 501A. The map zoom control 503A is used to adjust the ratio of the map to the virtual scene. Moving the circular icon of the map zoom control 503A toward the plus sign 504A enlarges the map, while moving it toward the minus sign 505A reduces the map. The location mark control X2 is a location mark control for a first virtual object, and a line segment representing the viewing direction of the first virtual object in the virtual scene is displayed on the location mark control X2. The number 2 indicates that the first virtual object in the team or camp is number 2, and numbers are used to distinguish location mark controls for different virtual objects in the same camp. The location mark control X3 is a second virtual object numbered 3.

[0055] In some embodiments, before step 301A, the map interface can be displayed by either:

[0056] 1. Display a virtual scene in a virtual scene interface, and display a map interface on a floating layer that covers a partial area of ​​the virtual scene interface (e.g., areas such as the upper and lower corners of the interface).

[0057] For example, the map interface may be continuously displayed, or may be displayed in response to a call operation on the map interface, or may be hidden in response to a cancel operation on the map interface. As shown in FIG. 1B or 1A, the map 102 is continuously displayed as a floating layer in the upper right corner of the virtual scene 101. Referring to FIG. 4A, FIG. 4A is a schematic diagram of a map interface displayed in a virtual scene interface according to an embodiment of the present application. In the virtual scene interface 401A, in response to a call operation on the map interface 402A (e.g., clicking a shortcut key corresponding to the map interface), the map interface 402A is displayed in a floating layer on the virtual scene interface 401A.

[0058] 2. Displaying a virtual scene in a virtual scene interface and displaying a map interface in an area other than the virtual scene interface. Referring to FIG. 4B, FIG. 4B is a schematic diagram of a map interface independent of a virtual scene interface according to an embodiment of the present application. In FIG. 4B, a map interface 402B and a virtual scene interface 401B correspond to different tab pages, and the map interface 402B is displayed independently of the virtual scene interface 401B. For illustrative purposes, the tab page display method is merely one method for displaying independently of a virtual scene interface. In actual implementation, the map interface 402B may be displayed independently in other ways.

[0059] In step 302A, in response to at least one second virtual object appearing in the partial region, a location mark control is displayed on the map to indicate a first location where the second virtual object is currently located.

[0060] Here, the second virtual object is any virtual object that belongs to the same camp as the first virtual object.

[0061] For example, the location mark control of the virtual object moves within the map in synchronization with the movement of the virtual object in the virtual scene. In addition to displaying the location mark control of the virtual object on the map, location mark controls of markers and virtual vehicles can also be displayed. A marker is a point at a fixed position on the map.

[0062] In some embodiments, markers may be generated on the map as follows: in response to a trigger operation on a first mark control on the map, an indication of entering a point marking mode is displayed; in response to a click operation on the map, a first custom marker is displayed at the clicked position on the map; and in response to a trigger operation on a second mark control on the map, a second custom marker is displayed at a first position on the map where a first virtual object is currently located.

[0063] Here, the first custom marker is used to be synchronously displayed on the map interface corresponding to the second virtual object, and the second custom marker is used to be synchronously displayed on the map interface corresponding to the second virtual object.

[0064] Illustratively, the point marking mode may be indicated by either a text message indicating that point marking mode has been entered, by changing the map background color to a different color, or by highlighting grid lines used as location references for the map.

[0065] In an embodiment of the present application, by synchronously displaying the custom marker on the map interface of the second virtual object, teammates can share location information corresponding to the marker, thereby promoting teamwork between teammates on the same side based on different location marks. Furthermore, the marker can be used as a reference point for different locations on the map, allowing users to drag the location mark control to a desired location based on the reference point, thereby improving the accuracy of the second location included in the message.

[0066] For example, refer to FIG. 5D, which is a schematic diagram of a map of a message processing method in a virtual scene according to an embodiment of the present application. In the map 501A, a first mark control 501D and a second mark control 502D are displayed on the inner edge of the map, respectively. Triggering the first mark control 501D can enter a location marking mode (see FIGS. 5A and 5D. The map 501A in FIG. 5D is displayed in a different color compared to the map 501A in FIG. 5A). In the location marking mode, in response to a click operation on any position on the map, a first custom marker, for example, the first custom marker D1, is displayed at the clicked position on the map. When the second mark control 502D is triggered, a second custom marker D2 is displayed at the position of the location mark control X2 of the first virtual object.

[0067] In an embodiment of the present application, the second virtual object is a teammate of the first virtual object, and the custom marker is used to synchronously display on a map interface corresponding to the second virtual object. That is, a user can share a custom marker marked on his / her own map with the map of another teammate, so that each user on the same team can see the custom marker on their corresponding map, thereby realizing marker sharing and improving interaction efficiency.

[0068] In some embodiments, a location mark control corresponding to a virtual vehicle may also be displayed as follows: In response to at least one virtual vehicle (e.g., a car, a motorcycle, an airplane, etc.) appearing in the subregion, a location mark control is displayed on the map to indicate that the virtual vehicle is located at a second location, where the mark type of the virtual vehicle location mark control is a virtual vehicle location mark.

[0069] For example, a virtual vehicle is a tool for carrying a virtual object in a virtual scene, and a screen of the virtual vehicle carrying the virtual object and moving in response to a driving operation of the virtual vehicle is displayed in the virtual scene. The location mark control of the virtual vehicle in the map moves as the position of the virtual vehicle changes in the virtual scene. Referring to FIG. 6A, FIG. 6A is a schematic diagram of a map of a message processing method in a virtual scene according to an embodiment of the present application. The location mark control Z1 of the virtual vehicle is displayed adjacent to the location mark control X2 of a first virtual object. When the first virtual object drives the virtual vehicle corresponding to the location mark control Z1, the location mark control Z1 and the location mark control X2 are displayed superimposed, and the location mark control X2 and the location mark control Z1 move synchronously.

[0070] In step 303A, the place mark control is moved from a first position to a second position in response to a move operation on the place mark control.

[0071] In some embodiments, referring to Figure 3B, Figure 3B is a flowchart of a method for processing a message in a virtual scene according to an embodiment of the present application. Step 303A can be realized by steps 3031B to 3033B. The following is a detailed description.

[0072] In step 3031B, in response to the duration of the pressing operation on the position mark control reaching the pressing time threshold, the position mark control corresponding to the pressing operation is displayed in an enlarged mode.

[0073] For example, the enlarged mode enlarges the location mark control by a preset magnification of its original size, where the preset magnification is greater than 1, e.g., 1.2 times the original size. Referring to FIG. 5B, FIG. 5B is a schematic diagram of a map of a message processing method in a virtual scene according to an embodiment of the present application. The location mark control X3 in FIG. 5B is displayed in the enlarged mode and is larger than the location mark control X3 displayed in its original size in FIG. 5A. A hand shape indicates a pressing operation on the location mark control X3, and a pressing time threshold may be less than or equal to 0.5 seconds. When the duration of the pressing operation reaches the pressing time threshold, the location mark control X3 is displayed in the enlarged mode. The location mark control X3 may be moved.

[0074] In step 3032B, in response to a movement operation on the position mark control, the position mark control displayed in the enlarged mode is controlled to move synchronously from the first position.

[0075] For example, the first position is the start position of the movement operation. Synchronous movement refers to controlling the location mark control X3 to be synchronously displayed at the pressed position on the map corresponding to the movement operation in response to the user's continuous pressing of the location mark control X3 during the movement operation. Still referring to FIG. 5B , location mark control X3′ represents the moved location mark control X3, the direction of the arrow between them indicates the direction of the movement operation, and the dotted line indicates the movement trajectory of the location mark control X3.

[0076] In step 3033B, in response to the move operation being released at the second position, the position mark control displayed in the enlarged mode is moved to the second position.

[0077] Illustratively, the moving operation being released at the second position means that the user's finger is released to stop pressing the map when the finger moves to the second position, and the second position is the end position of the moving operation. Continuing to refer to FIG. 5B, the second position where the location mark control X3′ is located on the map 501A is the end position of the moving operation.

[0078] In some examples, when multiple location mark controls are displayed on a map, redundant location mark controls can be deleted as follows: In response to a selection operation on one of the location mark controls, the selected location mark control is displayed in a selected state (e.g., contrasting color, highlight, check mark, cross mark, etc.), and in response to a delete operation on a selected location mark control, the selected location mark control is deleted.

[0079] For example, when location mark controls of multiple second virtual objects are displayed, the location mark controls of some of the second virtual objects may be deleted, i.e., only the location mark control of the second virtual object to which the message was sent may be retained. Deletion means hiding or blocking the location mark control of the second virtual object on the map, or displaying the location mark control of the second virtual object in a dimmed state.

[0080] Referring to Figure 6B, Figure 6B is a schematic diagram of a map of a message processing method in a virtual scene according to an embodiment of the present application. In the upper diagram of Figure 6B, a map 501A includes a marker Q1, a location mark control X4 (representing a second virtual object numbered 4), and a delete control 601B. When the marker Q1 and the location mark control X4 are selected, a cross mark 602B is displayed to indicate the selected state, and in response to the delete control 601B being triggered, the selected marker Q1 and the location mark control X4 are deleted. The lower diagram of Figure 6B shows the map 501A from which the marker Q1 and the location mark control X4 have been deleted.

[0081] In some embodiments, the place mark controls may also be automatically removed as follows: In response to a move operation on any of the place mark controls, hide the place mark control of each second virtual object that is not moved.

[0082] Referring to FIG. 6C, FIG. 6C is a schematic diagram of a map of a message processing method in a virtual scene according to an embodiment of the present application. In the upper diagram of FIG. 6C, a pressing operation is performed on the position mark control X3, and the map 501A includes a position mark control X5 (representing a second virtual object numbered 5) and a position mark control X4. In the lower diagram of FIG. 6C, while the position mark control X3 is being moved, the position mark controls X5 and X4 that have not been moved are hidden. For example, when the movement operation on the position mark control X3 is released, the hidden position mark controls X5 and X4 are restored.

[0083] In the embodiment of the present application, by deleting some of the location mark controls, it is possible to prevent the map from being obscured by unnecessary location mark controls, thereby saving resources consumed for graphics calculations, and also to make it easier for the user to observe and operate the map and move the location mark control of the second virtual object that receives the message to the user's desired position, thereby improving the efficiency of human-computer interaction.

[0084] Step 304A sends a message to a second virtual object.

[0085] Here, the message is used to instruct a second virtual object to reach a second location and execute a command, the message includes the second location and the command, and the message is a point-to-point message.

[0086] Illustratively, steps 303A and 304A are performed simultaneously, and message types include voice messages, text messages, and mixed voice and text messages.

[0087] In some embodiments, a message can be sent to the second virtual object by either:

[0088] 1. In response to the release of a movement operation on the location mark control, a message type selection control is displayed, and in response to a selection operation on the type selection control, a message is sent to the second virtual object based on the selected message type. Here, the message type selection control includes message types of a voice message, a text message, and a mixed voice and text message. The mixed voice and text message is realized by displaying the text of the message in a human-computer interaction interface of the second virtual object and simultaneously playing the text message and corresponding voice for the second virtual object.

[0089] 2. In response to the release of the movement operation on the position mark control, a message is sent to the second virtual object based on the set message type.

[0090] In some embodiments, the method for indicating a second virtual object through a message includes:

[0091] 1. Present message content to the second virtual object in the form of voice or text, where the message content includes an instruction and a second location. For example, the text content of the text message may be "Go to Building B (1234, 5678)," where "Building B (1234, 5678)" is the second location, "go" represents a movement instruction, and (1234, 5678) is the coordinate location of Building B on the map.

[0092] 2. Present a message content including an instruction to a second virtual object in the form of voice or text, and display at least one of a location mark of the second location, a direction of the second location relative to the location mark control of the second virtual object, and a route between the location mark control of the second virtual object and the second location on a map interface corresponding to the second virtual object. In this method, the voice or text message does not need to include the second location.

[0093] For example, the text content of the text message is "Attack the enemy," and a path between the second virtual object and the second location where the enemy virtual object is located is displayed on a map interface corresponding to the second virtual object. Although the text content does not explicitly include the second location, displaying the path indicates the second location to the second virtual object.

[0094] 3. Present message content to the second virtual object in the form of voice or text, where the message content includes an instruction and a second location, and display at least one of a location mark of the second location, a direction of the second location relative to the location mark control of the second virtual object, and a route between the location mark control of the second virtual object and the second location on a map interface corresponding to the second virtual object.

[0095] For example, the message content is "Attack the enemy on the plain ground (3216, 4578)," and the path between the second virtual object and the second position where the enemy virtual object is located is displayed on the map interface corresponding to the second virtual object. (3216, 4578) is the location coordinate of the second position, and "on the plain ground" is a description of the second position.

[0096] In some examples, the second location can be displayed as follows: If a place mark control or place mark is present at the second location, highlight the place mark control or place mark (e.g., highlight, surround with a bubble, display in a different color, bold, blink, etc.); If a place mark control or place mark is not present at the second location, display a single place mark at the second location.

[0097] The following describes an example of a process for instructing a second virtual object through a message based on the above-mentioned method 2. Referring to FIG. 7B, FIG. 7B is a schematic diagram of a virtual scene interface corresponding to a second virtual object according to an embodiment of the present application. A map 702 is displayed in the upper right corner of the virtual scene 701. A screen related to a movement operation on the map corresponding to the first virtual object is displayed synchronously with the map 702 of the second virtual object, making the message easier to see and facilitating a timely response by the user corresponding to the second virtual object. The virtual scene 701 displays a message text 703 saying, "Please gather at teammate number 2," indicating that the user should gather at the location of the virtual object corresponding to the user who sent the message. The second teammate here is the first virtual object. The map 702 displays the direction and route between the location mark control of the second virtual object and the second location.

[0098] In some embodiments, before step 303, the command included in the message can be determined as follows: A command control is displayed inside or outside the map, where the command control includes multiple types of candidate commands, and in response to a command selection operation for one of the candidate commands in the command control (the command selection operation may be performed before or after the movement operation), the selected candidate command is displayed in a selected state, and the selected candidate command is set as the command included in the message.

[0099] Continuing to refer to FIG. 5A, for example, a command control 502A is displayed outside of the map 501A. Referring to FIG. 7A, FIG. 7A is a schematic diagram of an arrangement of command controls according to an embodiment of the present application. Command types corresponding to the command control 502A include attack commands, defense commands, and movement commands. A darkened portion indicates that the candidate command is in a selected state. The selected state can also be indicated by highlighting, bolding, a check mark, etc.

[0100] In some embodiments, for the selected state, in response to a command selection operation for any of the candidate commands in the command control, the selected candidate command is maintained in the selected state before receiving the next command selection operation, or after sending a point-to-point message to the second virtual object, the display switches from indicating that the selected candidate command is in the selected state to indicating that the default command is in the selected state.

[0101] Here, the default command is a candidate command that is set to an automatic selection state from among a plurality of types of candidate commands.

[0102] For example, the default command may be the first command in descending order of usage probability corresponding to all candidate commands. For example, since a movement command is frequently used in a virtual scene, the movement command is set as the default command. For example, if the default command is a movement command, when the user selects an attack command and sends a message, the selected attack command is switched to a non-selected state, and the movement command is switched to a selected state. As another example, when the user selects a movement command, the movement command is maintained in a selected state until the next command selection operation.

[0103] In an embodiment of the present application, the selection state of a candidate command in the command control is automatically maintained or the default command is switched to the selected state, thereby preventing the user from repeatedly operating the command control and saving message transmission time and computing resources.

[0104] In some embodiments, before step 303, the command included in the message can be determined as follows: Display a command control inside or outside the map, where the command control includes multiple types of candidate commands, and one candidate command among the multiple types of candidate commands is in an automatic selection state. In response to not receiving a command selection operation for any of the candidate commands in the command control within a set time, the candidate command in the automatic selection state is set as the command included in the message.

[0105] For example, the set time may be 5 minutes. Assuming that the movement command in the command control is in an automatic selection state, if no command selection operation is received within 5 minutes, the movement command in the automatic selection state is set as the command included in the message.

[0106] In an embodiment of the present application, by setting the command to an automatic selection state, the command included in the message can be selected for the user without the user having to perform frequent operations, thereby saving message transmission time and computing resources.

[0107] In some embodiments, when a command control includes multiple candidate commands, the multiple candidate commands can be sorted by any of the following:

[0108] 1. Sorting candidate commands in descending or ascending order according to their respective usage frequencies. For example, if the usage frequencies of candidate commands for a certain first virtual object are collected as statistics, and the frequencies of attack commands, movement commands, and defense commands are matched in descending order, the candidate commands are sorted in descending order, and the sorted command controls are displayed on the map of the first virtual object.

[0109] 2. Sorting the candidate commands in the order in which they are set. For example, the candidate commands are set by the user in the order of movement command, attack command, and defense command.

[0110] 3. Sort the candidate commands in ascending or descending order according to their respective usage probabilities.

[0111] For example, sorting by usage probability adaptively changes depending on the second virtual object being dragged each time. That is, the sorting order differs depending on the type of second virtual object. For example, if second virtual object A frequently receives messages containing attack commands, referring to command control 502A' in FIG. 7A, the sorting order corresponding to second virtual object A will have the attack command at the highest position and other commands at the lowest positions. Alternatively, if second virtual object B frequently receives messages containing attack commands, referring to command control 502A in FIG. 7A, the sorting order corresponding to second virtual object B will have the move command at the highest position.

[0112] In the embodiment of the present application, by sorting the commands, the user's frequently used commands or frequently used commands for a certain second virtual object are displayed at the top position of the command control, so that the user can quickly find the required command and send messages efficiently.

[0113] In some embodiments, the usage probability of each of the candidate commands can be determined as follows: A neural network model is invoked to perform a prediction process based on parameters of virtual objects in a virtual scene to obtain a usage probability corresponding to each of the candidate commands.

[0114] Here, the parameters of the virtual objects include at least one of the position and attribute values ​​of the first virtual object, including combat power, life value, defense value, etc., the position and attribute value of the second virtual object, and the difference between the attribute value of the camp to which the first virtual object belongs and the attribute value of the opposing camp (the difference in attribute value can represent a comparison of combat power with the opposing camp).

[0115] Here, the neural network model is obtained by training based on battle data of at least two camps, the battle data including positions and attribute values ​​of a plurality of virtual objects in the at least two camps, commands executed by the virtual objects of the winning camp, and commands executed by the virtual objects of the losing camp. Each tag of the commands executed by the virtual objects of the winning camp has a probability of 1, and each tag of the commands executed by the virtual objects of the losing camp has a probability of 0.

[0116] For example, the neural network model may be a graph neural network model or a convolutional neural network model. An initial neural network model is trained based on the match data, and the initial neural network model calculates the predicted probability based on the match data, and the difference between the predicted probability and the actual probability of the tag is input into a loss function to calculate a loss value. The loss function may be a mean squared error loss function, a mean absolute error loss, a quantile loss, a cross-entropy loss function, etc. Backpropagation is performed on the initial neural network model based on the loss value, and the parameters of the neural network model are updated using a backpropagation (BP) algorithm. The trained neural network model can predict the usage probability of each candidate command currently used by the first virtual object based on the current parameters of virtual objects in the same camp.

[0117] In the embodiment of the present application, the accuracy of obtaining the usage probability is improved by obtaining the usage probability using a neural network model, and by sorting the candidate commands based on the usage probability, the user can quickly find the required command, enabling efficient message transmission.

[0118] In some embodiments, referring to Figure 3C, Figure 3C is a flowchart of a message processing method in a virtual scene according to an embodiment of the present application. Before step 304A, a message to be sent to the second virtual object can be determined by steps 3041C to 3042C. The following will be described in detail.

[0119] In step 3041C, start position characteristics and end position characteristics corresponding to the movement operation in the virtual scene are determined based on the movement operation, the first position, and the second position, and the start position characteristics and end position characteristics are set as trigger conditions.

[0120] For example, the start position of the movement operation is the first position, and the end position of the movement operation is the second position. The position feature may be the area in which the position exists, the presence or absence of a mark near the position, or the like.

[0121] In some embodiments, step 3041C can be implemented as follows: Determine a first region (e.g., a non-safe region or a safe region) in which the first position is located in the virtual scene, and a second region (e.g., a non-safe region or a safe region) in which the second position is located in the virtual scene; Determine a mark type corresponding to the second position in the map interface, where the mark type includes no mark, a virtual object position mark, or a virtual vehicle position mark; Determine the first region as a start position characteristic of the movement operation, and the second region and mark type as an end position characteristic of the movement operation.

[0122] For example, in the non-safe area, the life value of the virtual object is periodically decreased. Conversely, the safe area is an area in the virtual scene where the life value of the virtual object is not periodically decreased. Referring to FIG. 5C, FIG. 5C is a schematic diagram of a map of a message processing method in a virtual scene according to an embodiment of the present application. The first position corresponding to the position mark control X3 is in the safe area 501C, the end position of the move operation is within the safe area 501C (the position of the position mark control X3'), and the mark type of the end position is no mark.

[0123] In some embodiments, the mark type corresponding to the second position in the map interface can be determined as follows: A subregion centered on the second position in the map is detected. For example, refer to FIG. 6G, which is a schematic diagram of a map of a message processing method in a virtual scene according to an embodiment of the present application. The subregion 601G may be a circular region centered on the second position, and the radius R of the circular region is positively correlated with the recognition accuracy of the erroneous operation. If at least one location mark control is detected, the mark type corresponding to the location mark control closest to the detected second position is determined as the mark type corresponding to the second position in the map interface. If no location mark control is detected, no mark is determined as the mark type corresponding to the second position in the map interface.

[0124] Still referring to FIG. 6G, if there is a location mark control X4 in the sub-region, the mark type corresponding to the second location in the map interface is a virtual object location mark.

[0125] Step 3042C queries the database based on the trigger conditions to obtain messages that match the trigger conditions.

[0126] Here, the database can store correspondences between different messages and different trigger conditions.

[0127] In some embodiments, if the command type is a movement command and a virtual vehicle is present within a preset range around the second location, the message content may be to go to the second location, gather together, and board the virtual vehicle. In this embodiment, the virtual vehicle is a drivable vehicle. Continuing to refer to FIG. 6A , the location mark control Z1 of the virtual vehicle is displayed near the location mark control X2 of the first virtual object. By moving the location mark control X3 to the location mark control X2 using a movement operation, the message content may be, "Please gather together at the location of teammate number 2 and board the vehicle."

[0128] In some embodiments, if the command type is a movement command and there is no virtual vehicle at the second location, the message content is to go to the second location to meet up. Continuing to refer to FIG. 5B , if there is no virtual vehicle at the second location for the movement operation, the message content can be "Please move to the specified location."

[0129] In some embodiments, if the command type is an attack command, the message content is to go to the second location and attack. Referring to FIG. 5E, FIG. 5E is a schematic diagram of a map of a message processing method in a virtual scene according to an embodiment of the present application. The command currently selected in the command control 502A is an attack command. Then, after moving the position mark control X3 to the second location, a small icon of the attack command can be displayed near the moved position mark control X3'. Synchronizing the small icon of the attack command with the map of the second virtual object makes it easier to determine the location where the second virtual object should attack. The message content can be "Please attack the specified location."

[0130] In some embodiments, if the command type is a defense command, the message content is to go to a second location to defend. The defense command is processed in the same way as an attack command, so the description is omitted here. The corresponding message content can be "Please defend the specified location."

[0131] In some embodiments, when a map of a sub-region of a virtual scene is displayed in a map interface, refer to FIG. 3D, which is a flowchart of a method for processing a message in a virtual scene according to an embodiment of the present application. Steps 302D to 304D can also be used to send a message to a second virtual object outside the map. The following is a detailed description.

[0132] In step 302D, a position mark control of the virtual object that has not yet appeared is displayed outside the map.

[0133] Here, the not-yet-appearing virtual object is a second virtual object that is not currently appearing in the partial area.

[0134] 6D, which is a schematic diagram of a map of a message processing method in a virtual scene according to an embodiment of the present application. The location mark control X4 is a second virtual object numbered 4 and located outside the virtual scene corresponding to the map. The location mark control X4 is displayed on the outer upper edge of the map 501A.

[0135] In step 303D, in response to a move operation on the location mark control of the not-yet-appeared virtual object, the location mark control is moved from outside the map to a second position.

[0136] For example, the moving operation in step 303D is the same as that in step 303A, and therefore the description thereof will be omitted here.

[0137] 6D, the hand shape represents a press operation, and in response to a move operation, moves place mark control X4 from outside map 501A to a second position (the position of place mark control X4') inside map 501A. Place mark control X4' is used to represent the moved place mark control X4.

[0138] In step 304D, a message is sent to the virtual object that has not yet appeared.

[0139] Here, the message includes a second location and a command, and the message is a point-to-point message.

[0140] For example, step 303D and step 304D are executed simultaneously. The method of determining the message content in step 304D can refer to steps 3041C to 3042C described above. The method of sending the message in step 304D is the same as that in step 304A, and therefore will not be described here.

[0141] In the embodiment of the present application, by displaying a location mark control of a virtual object that does not appear on the map outside the map and sending a message to the virtual object outside the map through a movement operation, the efficient message sending of the virtual object of the entire faction in the entire virtual scene is covered, the map interface is multiplexed, and the computing resources related to the rendering of the virtual scene on the terminal are saved.

[0142] In some embodiments, referring to FIG. 3E, FIG. 3E is a flowchart of a message processing method in a virtual scene according to an embodiment of the present application. When displaying a location mark control on a map to indicate a first location where a plurality of second virtual objects are currently located, step 303A can be realized by step 3031E and step 3032E, and step 304A can be realized by step 3041E. The following is a detailed description.

[0143] In step 3031E, in response to a batch selection operation, a plurality of position mark controls are displayed in a selected state.

[0144] Illustratively, the selected state may be represented by highlighting, bolding, a check mark, etc. Referring to FIG. 6E, FIG. 6E is a schematic diagram of a map of a message processing method in a virtual scene according to an embodiment of the present application. In the upper diagram of FIG. 6E, check marks 601E are added to the location mark control X3, the location mark control X4, and the location mark control X5, and the above three location mark controls are collectively selected and displayed in a selected state.

[0145] In step 3032E, in response to the move operation, the plurality of place mark controls are moved from their respective first positions to second positions.

[0146] Illustratively, the move operation is directed to one of the selected location mark controls. Continuing to refer to FIG. 6E , in the top diagram of FIG. 6E , the hand shape is pressed on location mark control X3, and the move operation acts only on location mark control X3, causing location mark control X3 to move according to the movement trajectory of the move operation on the map. When the move operation is released at the second position, each of the selected location mark controls that have not moved according to the move operation moves from the first position to the second position corresponding to each of the location mark controls. In the bottom diagram of FIG. 6E , the hand shape remains at the second position, i.e., the move operation is released at the second position, and location mark control X4 and location mark control X5 have moved to their second positions.

[0147] Step 3041E sends a message to a second virtual object corresponding to each of the plurality of place mark controls.

[0148] Here, the message includes a second position and a command, and each of the second virtual objects receives the same second position and command.

[0149] Illustratively, step 3032E and step 3041E are executed simultaneously. The message sending method in step 3041E is the same as that in step 304A above, and therefore will not be described here.

[0150] In an embodiment of the present application, by selecting location mark controls collectively, it is possible to multiplex the map and send point-to-point messages to the virtual objects of multiple teammates collectively, thereby improving the efficiency of message transmission, preventing interference with teammates unrelated to the message, preventing the occupation of the execution memory of the clients of teammates unrelated to the message, preventing large-scale resource consumption due to highly parallel processing of messages, and saving the computing resources required for message transmission.

[0151] In some embodiments, refer to Figure 3F, which is a flowchart of a method for processing a message in a virtual scene according to an embodiment of the present application. After step 304, a message can also be sent to a non-moving virtual object by steps 305F to 306F. The following is a detailed description.

[0152] In step 305F, a message sending control corresponding to the unmoved virtual object is displayed on the map.

[0153] Here, the unmoved virtual object is a second virtual object to which a message has not yet been sent, and the message sending control is used to repeatedly send a message.

[0154] 6F, which is a schematic diagram of a map of a message processing method in a virtual scene according to an embodiment of the present application. When the location mark control X3 is moved to a second position and the second virtual object numbered 3 corresponding to the location mark control X3 receives a corresponding message, the location mark control X3 is displayed at the current position of the second virtual object numbered 3. Since the location mark control X4 has not been moved while the location mark control X3 has been moved, the second virtual object corresponding to the location mark control X4 becomes an unmoved object, and a message sending control F1 is displayed near the location mark control X4. The message sending control F1 is used to repeatedly send a previously sent message.

[0155] In step 306F, in response to a trigger operation on any of the message sending controls, a message is sent to the unmoved virtual object corresponding to the triggered message sending control.

[0156] 6F, for illustrative purposes, assume that the message received by the second virtual object corresponding to the location mark control X3 is "Please gather at the specified location." When the message sending control F1 corresponding to the location mark control X4 is triggered, the second virtual object corresponding to the location mark control X4 also receives the message "Please gather at the specified location."

[0157] In an embodiment of the present application, by setting the message sending control to repeatedly send the previously sent message, the user can send the same message without having to re-move the map location mark control to the same end position as the previous movement operation, thereby saving the operation time required for message sending.

[0158] In an embodiment of the present invention, a location mark control of a second virtual object in the same camp as a first virtual object is displayed on a map interface. When the location mark control of the second virtual object is moved, a corresponding command and message are sent to the second virtual object based on the movement operation. This allows for quick point-to-point message transmission using the map interface of the virtual scene without using voice transmission or text input. Messages can be sent quickly by dragging the location mark control, saving the time required for message transmission. Furthermore, since messages are sent only to the second virtual object, accurate point-to-point message transmission is achieved and interference with other virtual objects in the same camp is prevented. Furthermore, since the location mark controls of the map interface of the virtual scene are multiplexed, point-to-point message transmission can be achieved without setting up a new control for message transmission in the human-computer interaction interface or using a sound collection device (e.g., a microphone), thereby saving computing resources required for the virtual scene.

[0159] An exemplary application example of an embodiment of the present application in a multiplayer game will be described below. Multiplayer games provided by related technologies include communication methods such as voice communication, shortcut messages preset by a game system, and text input. However, voice communication is limited by sound collection and playback devices, and some players may not have sound collection devices such as microphones or playback devices such as headphones. Some players choose text communication because they do not want to use their live voices in the game, but text input takes time. Shortcut messages preset by a game system have limitations and cannot fully express the information a player wants to convey. Team-wide visible or audible messages may disturb some teammates (on the one hand, highly parallel processing of team-wide visible or audible messages may prevent teammates from extracting useful messages, and on the other hand, team-wide visible messages consume computing resources and occupy the execution memory of teammates' clients). Furthermore, these communication methods do not allow for individual communication to specific teammates. The message processing method in a virtual scene according to an embodiment of the present application can quickly send point-to-point messages to teammates by multiplexing a map of the virtual scene and moving a position mark control (e.g., a teammate icon control) corresponding to the teammate on the map, thereby improving the efficiency of message transmission with low computing resource consumption.

[0160] Hereinafter, a description will be given of an example in which the terminal device 400 and the server 200 in FIG. 1B jointly execute a method for processing a message in a virtual scene according to an embodiment of the present application. Referring to FIG. 8, FIG. 8 is a selectable flowchart of a method for processing a message in a virtual scene according to an embodiment of the present application. The description will be given with reference to the steps shown in FIG. 8.

[0161] In step 801, it is determined whether the duration of the press on the map teammate icon control is greater than the press duration threshold.

[0162] Illustratively, the map is a virtual map corresponding to the virtual scene, a coordinate system is set on the virtual map, and the coordinates of each position in the virtual scene are fixed on the virtual map. The teammate icon control is a position mark control on the map for representing a second virtual object on the same team (or the same camp) as the first virtual object corresponding to the user, and is an operable position mark control (for example, a moving operation or a pressing operation).

[0163] The following description will be made with reference to the drawings. Referring to FIG. 5A, FIG. 5A is a schematic diagram of a map of a message processing method in a virtual scene according to an embodiment of the present application. In the map 501A, the location mark control X2 is the location mark control of a first virtual object, and the number 2 indicates that the first virtual object in the team or camp is number 2. The location mark control X3 is the second virtual object numbered 3. A map zoom control 503A and a command control 502A are provided on the outer edge of the map 501A. The map zoom control 503A is used to adjust the ratio of the map to the virtual scene. Moving the circular icon of the map zoom control 503A toward the plus sign 504A enlarges the map, while moving it toward the minus sign 505A reduces the map. The command control 502A is used to switch the type of command included in the message sent to teammates.

[0164] For example, the press time threshold may be 0.5 seconds. When a user presses and holds the teammate icon control for 0.5 seconds, it is determined that an icon trigger operation has been received, and the teammate icon control can move on the map according to a movement operation. In response to the icon trigger operation, the teammate icon control is displayed in an enlarged mode, and the teammate icon control moves in accordance with the movement operation (a movement operation means maintaining the press operation and sliding or dragging the press position on the human-computer interaction interface). Referring to FIG. 5B, FIG. 5B is a schematic diagram of a map of a message processing method in a virtual scene according to an embodiment of the present application. The location mark control X3 is displayed in an enlarged mode and is larger than the location mark control X3 in FIG. 5A.

[0165] For example, in an embodiment of the present application, the teammate icon control is displayed in an enlarged mode, making the operated position mark control easier to see, facilitating user operation and improving interaction efficiency.

[0166] In step 802, in response to a move operation on the teammate icon control, the teammate icon control is moved to the end position of the move operation.

[0167] For example, the movement operation may be a continuous drag operation or a slide operation.

[0168] Continuing to refer to FIG. 5B , the hand shape represents a user's finger pressing on the location mark control X3. When the user maintains the pressing on the location mark control X3 for more than 0.5 seconds, the location mark control X3 can be moved. When the user moves the finger from the first position where the location mark control X3 is currently located to the second position in the direction of the arrow, the location mark control X3 moves in accordance with the movement operation in the human-computer interaction interface. When the movement operation is stopped or released, the position where the movement operation is stopped or released becomes the end position of the movement operation, i.e., the second position. The location mark control X3′ at the second position is the moved location mark control. Before a message for the second virtual object is sent, the location mark control X3′ is temporarily displayed at the second position. After the message transmission is completed, the location mark control of the second virtual object returns to its current position corresponding to the second virtual object in the map.

[0169] In step 803, the currently selected command type is determined.

[0170] 7A, which is a schematic diagram of a command control arrangement according to an embodiment of the present application, the command types corresponding to the command control 502A include attack commands, defense commands, and movement commands.

[0171] If the command type is a move, step 804 is executed to determine the start and end position characteristics of the move operation.

[0172] For example, the start position characteristic may refer to a region of the virtual scene corresponding to the start position, such as a safe region or a non-safe region. In the non-safe region, the life value of the virtual object periodically decreases. Conversely, the safe region is a region of the virtual scene that does not enter a state where the life value of the virtual object periodically decreases.

[0173] Illustratively, the end position feature refers to the presence or absence of a virtual object's location mark control, a virtual vehicle's location mark control, or a marker in the area of ​​the virtual scene corresponding to the end position (e.g., a safe area, a non-safe area) and the end position (within a circular area centered on the end position). A marker is a point representing a location on a map. Referring to FIG. 5D , FIG. 5D is a schematic diagram of a map of a message processing method in a virtual scene according to an embodiment of the present application. In response to a trigger operation on the first mark control 501D, a marking mode is entered. In response to a selection operation on any position on the map, a first custom marker corresponding to the selected position, for example, a first custom marker D1, is displayed. In response to a trigger operation on the second mark control 502D, a second custom marker D2 is displayed at the position of the first virtual object's location mark control X2. In FIG. 5D , the end position feature corresponding to the move operation is that a marker exists within the safe area and that the marker is the first custom marker D1.

[0174] For example, if a corresponding location mark control or marker is present at the end location, the message may include content related to the location mark control or marker. For example, if a virtual vehicle is present at the end location, the message may include content such as "Get on the vehicle" or "Go to the vehicle location and get on the vehicle." If the end location is within a safe zone, the message may include content such as "Enter the safe zone."

[0175] In step 805, matching corresponding messages in the message trigger condition base based on the start location feature and the end location feature.

[0176] For example, trigger conditions to be sent for each triggerable message are compiled in advance in a database (message trigger condition base). The message trigger condition base stores messages and trigger conditions corresponding to the messages. If the end position feature (or the end position feature and start position feature) of a movement operation satisfies the trigger condition corresponding to a message, the corresponding message is sent to the teammate corresponding to the moved teammate icon control. After a slide operation on a teammate icon control is recognized, the start position and end position of the slide operation are set as trigger conditions for the slide operation, and the same trigger condition is matched in the trigger condition base. The start position is used to determine the action content (entering a safe zone / moving) of the virtual object in the sent message. The end position is used to determine the destination noun (specified point / virtual object position / vehicle) in the message.

[0177] Taking a message corresponding to a movement command as an example, the relationship between the trigger condition and the message is as follows: 1. If there is a marker at the end position where the teammate icon control is moved, and both the start and end positions are within the safe area, the corresponding message will be "Please move to the marker position." 2. If there is a vehicle at the end location where the teammate icon control is moved, and both the start and end locations are within the safe area, the corresponding message will be "Go to the vehicle location and get on the vehicle." 3. If the end position of the teammate icon control is the position of the first virtual object, the corresponding message is "Come to me." 4. If the start position of the teammate icon control is outside the safe zone and the end position is inside the safe zone, the corresponding message will be "Please enter the safe zone." 5. If the start position of a teammate icon control is in the safe area and there is another teammate icon control at the moved end position, the corresponding message will be "Meet at a teammate."

[0178] In some embodiments, when the command type is a movement command, different start position characteristics and end position characteristics correspond to different messages, as will be described in detail below.

[0179] In response to a movement operation on a teammate icon control of a designated teammate, if the start position of the movement operation is outside the safe area of ​​the virtual scene of the map and the end position is within the safe area of ​​the virtual scene of the map, a message saying "Please enter the safe area quickly" is sent to the designated teammate. Referring to FIG. 5C, FIG. 5C is a map schematic diagram of a message processing method in a virtual scene according to an embodiment of the present application. The position mark control X3 moves from outside the safe area 501C to within the safe area 501C. Then, a text message saying "Please enter the safe area quickly" can be sent to the designated teammate, and the end position corresponding to the movement operation can be displayed on the map interface corresponding to the designated teammate.

[0180] In response to a movement operation on a teammate icon control of a designated teammate, if the start position of the movement operation is within the safe area, a point mark exists at the end position, and the end position is within the safe area of ​​the virtual scene of the map, a message saying "Please go to the designated point" is sent to the designated teammate. The designated point is a position corresponding to the point mark, and the point mark is highlighted in the map interface of the designated teammate (e.g., the point mark is displayed in bold, in a different color, or highlighted). Similarly, if the teammate is outside the safe area, a message saying "Please enter the safe area and go to the designated point" is sent to the designated teammate. If the end position of the movement operation is at the position of a first virtual object and there is no vehicle at the position of the first virtual object, a message saying "Please meet at my place" is sent to the designated teammate. If there is a vehicle at the position of the first virtual object, a message saying "Please get in the vehicle quickly" or "Please go to a certain point quickly and get in the vehicle" is sent to the designated teammate. Here, the certain point refers to a position in the virtual scene.

[0181] In some embodiments, when a teammate icon control moves according to a movement operation, the server starts a comparison with a trigger condition based on a message trigger condition, based on a start position characteristic of the movement operation. When the movement operation ends, the server continues a search based on an end position characteristic of the movement operation among a plurality of messages corresponding to the start position characteristic obtained by the search, obtains a matching trigger condition, and transmits the message corresponding to the matching trigger condition. For example, if the position of a first virtual object corresponding to a user is within a safe area and a movement operation is performed on a teammate icon control outside the safe area, the end position of the movement operation becomes the current position of the position mark control of the first virtual object. In this case, two conditions are satisfied: "the start position is outside the safe area and the end position is within the safe area" and "the end position is a position corresponding to the first virtual object." Therefore, by sending the text content of the message "Please enter the safe area quickly and meet me" to the teammate, and highlighting (e.g., highlighting, surrounding the location mark control with a bubble, displaying in a different color, displaying in bold, etc.) the location mark control corresponding to the first virtual object in the map interface corresponding to the second virtual object (the teammate receiving the message from the first virtual object), it becomes easy for the user to control the second virtual object to go to the location of the first virtual object.

[0182] In step 806, the matching message is sent to the teammate corresponding to the teammate icon control.

[0183] Illustratively, the message is sent when the movement operation stops (e.g., when the user stops moving the location mark control after moving it to a certain position) or when the movement operation is released (e.g., when the user releases the finger that was pressing the location mark control).

[0184] Illustratively, the sending of the message may be a voice message, a text message, or a mixed voice and text message. The method for instructing the second virtual object through a message includes:

[0185] 1. Present message content to the second virtual object in the form of voice or text, where the message content includes a command and a second location.

[0186] For example, the text content of the text message is "Go to Building B (1234,5678)", where "Building B (1234,5678)" is the second location, "go" represents the movement command, and (1234,5678) is the coordinate location of Building B on the map.

[0187] As another example, the text content of the text message may be "Go to the second floor of building A," where "go" represents a movement command and "second floor of building A" is an explicit location of a second location.

[0188] 2. Present message content including instructions to a second virtual object in the form of voice or text, and display at least one of a location mark of the second location, a direction of the second location relative to the location mark control of the second virtual object, and a route between the location mark control of the second virtual object and the second location on a map interface corresponding to the second virtual object. In this method, the voice or text message may not include the second location or may not explicitly include the second location.

[0189] For example, refer to FIG. 7B, which is a schematic diagram of a virtual scene interface corresponding to a second virtual object according to an embodiment of the present application. A map 702 is displayed in the upper right corner of the virtual scene 701, and a screen related to a movement operation on the map corresponding to the first virtual object is displayed synchronously with the map 702 of the second virtual object, making the message easier to see and facilitating a timely response by the user corresponding to the second virtual object. The virtual scene 701 displays a message text 703 saying, "Please gather at teammate number 2." The second teammate here is the first virtual object, which means that the message should be gathered at the location of the virtual object corresponding to the user who sent the message. The map 702 displays the direction and route between the location mark control of the second virtual object and the second location.

[0190] 3. Present message content to the second virtual object in the form of voice or text, where the message content includes an instruction and a second location, and display at least one of a location mark of the second location, a direction of the second location relative to the location mark control of the second virtual object, and a route between the location mark control of the second virtual object and the second location on a map interface corresponding to the second virtual object.

[0191] For example, the text content of the message is "Please gather at the specified location (1472, 2147)." The text content is presented in text or audio format in the human-computer interaction interface corresponding to the second virtual object. A location mark for the specified location, a path between the location mark control of the second virtual object and the location mark corresponding to the specified location, and the direction of the specified location relative to the location mark control of the second virtual object are displayed on the map of the second virtual object. Here, (1472, 2147) is the location coordinate corresponding to the specified location on the map. Referring to FIG. 5F, FIG. 5F is a schematic diagram of a map for a message processing method in a virtual scene according to an embodiment of the present application. A location mark 501F for the second location is synchronously displayed on the map interface of the second virtual object receiving the message. A position mark 501F is displayed at the second position (in FIG. 5F the position mark is circular; in a specific implementation, the position mark can be displayed with highlighting, a speech bubble, etc., or marked in a different color, so that the second position is easier to see and the user controlling the second virtual object can find it), the dotted line between the position mark 501F and the position mark control X3 is the path between them, and the arrow pointing to the position mark 501F on the position mark control X3 represents the direction between them.

[0192] Illustratively, the location mark control is a control for moving the map correspondingly according to the position of the marked object in the virtual scene. When the moving operation is released or stopped and a message is sent to the corresponding teammate, the location mark control returns to the current position of the second virtual object. Continuing to refer to FIG. 5B , when the message sending is completed, the location mark control X3′ at the second position is hidden, and if the current position of the second virtual object is maintained at the first position during the message sending, the location mark control X3 that has exited the enlarged mode is redisplayed at the first position (exiting the enlarged mode means displaying the location mark control X3 in its original size).

[0193] If the command type is attack, execute step 807, and match the corresponding message in the message trigger condition base according to the end position feature of the moving operation.

[0194] For example, in step 807, the method for determining the end position feature is the same as in step 804, and the message matching principle is the same as in step 805, so the description will be omitted here. Both the defense command and the attack command are commands for operating on virtual objects, and the message matching principle corresponding to the defense command is the same as that of the attack command, so the description will be omitted here.

[0195] In some embodiments, in response to a movement operation on a teammate icon control of a designated teammate, if a marker exists at the end position of the movement operation, a message saying "Attack the marker position" is sent to the designated teammate. In response to a movement operation on a teammate icon control of a designated teammate, if a hostile virtual object exists at the end position of the movement operation, a text message saying "Attack the enemy" is sent to the designated teammate, and a location mark of a second position where the hostile virtual object is located is synchronously displayed on a map interface corresponding to the designated teammate. Referring to FIG. 5E, FIG. 5E is a schematic diagram of a map of a message processing method in a virtual scene according to an embodiment of the present application. The currently selected command of the command control 502A is an attack command. Then, after the location mark control X3 is moved to the second position, a small icon for the attack command can be displayed at the second position. By synchronously displaying the small icon for the attack command on the map of the second virtual object, it becomes easier to determine the position where the second virtual object should attack. Continuing to refer to FIG. 5F, when the move operation is released, the location mark 501F of the second position is displayed on the map interface of the first virtual object, and the location mark 501F of the second position is synchronously displayed on the map interface corresponding to the second virtual object receiving the message.

[0196] In some embodiments, the defensive command includes sending a message to the designated teammate saying "Defend the marker location" in response to a movement operation on the designated teammate's teammate icon control if a marker is located at the end of the movement operation. In response to a movement operation on the designated teammate's teammate icon control if another teammate icon control is located at the end of the movement operation, sending a message to the designated teammate saying "Defend a certain teammate," where a certain teammate refers to a teammate's number or name.

[0197] In the embodiment of the present application, by classifying and querying messages based on the type of command, the efficiency of querying messages based on message trigger conditions can be improved, and messages can be sent immediately when the movement operation is released or terminated, thereby improving the efficiency of message sending.

[0198] After step 807, step 806 is executed to send the matched message to the teammate corresponding to the teammate icon control.

[0199] The specific method for sending the message has been described above, so a detailed description will be omitted here.

[0200] In an embodiment of the present application, by multiplexing location mark controls on a map of a virtual scene, a user can quickly send point-to-point messages to teammates by moving the location mark controls on the map representing the teammates. Point-to-point message transmission prevents interference with unrelated players (players who do not need to receive the message) and prevents burden on the execution memory of the clients of unrelated players, while saving graphics computing resources required for the virtual scene and realizing efficient message transmission in the virtual scene without being limited by sound collection devices or playback devices.

[0201] 2 , the software module of the message processing device 455 in the virtual scene stored in the memory 430 may include: a display module 4551 arranged to display a map of at least a partial area of ​​the virtual scene in a map interface corresponding to a first virtual object, the display module 4551 being further arranged to display, in response to at least one second virtual object appearing in the partial area, a location mark control on the map to indicate a first location where the second virtual object is currently located, the second virtual object being any virtual object belonging to the same faction as the first virtual object; and a message sending module 4552 arranged to move the location mark control from the first location to a second location and send a message to the second virtual object in response to a movement operation on the location mark control, the message including the second location and an instruction.

[0202] In some embodiments, the message sending module 4552 is configured to display a command control containing multiple types of candidate commands inside or outside the map, and in response to a command selection operation on one of the candidate commands in the command control, to make the selected candidate command the command included in the message.

[0203] In some embodiments, the message sending module 4552 is further configured to, in response to a command selection operation for any of the candidate commands in the command control, maintain the selected candidate command in a selected state before receiving a next command selection operation, or, after sending the message to the second virtual object, switch from indicating that the selected candidate command is in a selected state to indicating that a default command, which is a candidate command set to an auto-selection state among the plurality of candidate commands, is in a selected state.

[0204] In some embodiments, the message sending module 4552 is further configured to, when the command control includes multiple candidate commands, sort the multiple candidate commands by either sorting them in descending or ascending order according to the frequency of use of each of the candidate commands, sorting them in an order in which each of the candidate commands is set, or sorting them in ascending or descending order according to the probability of use of each of the candidate commands.

[0205] In some embodiments, the message sending module 4552 is further configured to call a neural network model to perform a prediction process based on parameters of virtual objects in the virtual scene to obtain a usage probability corresponding to each of the candidate commands. The parameters of the virtual objects include a position and attribute values ​​including combat power and life value of a first virtual object, a position and attribute value of a second virtual object, and at least one difference between an attribute value of a camp to which the first virtual object belongs and an attribute value of an opposing camp. The neural network model is obtained by training based on battle data of at least two camps, the battle data including positions and attribute values ​​of a plurality of virtual objects in the at least two camps, and commands executed by virtual objects of a winning camp and a losing camp, wherein a tag of each command executed by the virtual object of the winning camp has a probability of 1, and a tag of each command executed by the virtual object of the losing camp has a probability of 0.

[0206] In some embodiments, when multiple location mark controls are displayed on the map, the message sending module 4552 is further arranged to display the selected location mark control in a selected state in response to a selection operation on any of the location mark controls, and to delete the selected location mark control in response to a delete operation on the selected location mark control.

[0207] In some embodiments, when displaying a map of a subregion of the virtual scene in the map interface, the message sending module 4552 is further configured to display a location mark control of a non-appeared virtual object, which is a second virtual object that is not currently appearing in the subregion, outside the map, and in response to a move operation on the location mark control of the non-appeared virtual object, move the location mark control from outside the map to the second position and send a message to the non-appeared virtual object to instruct the non-appeared virtual object to reach the second position and execute the command.

[0208] In some embodiments, when displaying location mark controls on the map to represent first locations where a plurality of second virtual objects are currently located, the message sending module 4552 is further configured to: in response to a bulk selection operation, display the plurality of location mark controls in a selected state; in response to a move operation, move the plurality of location mark controls from the first locations where they are respectively located to a second location; and send messages to the second virtual objects corresponding to the plurality of location mark controls, respectively, to instruct the second virtual objects corresponding to the plurality of location mark controls, respectively, to reach the second location and execute a command.

[0209] In some embodiments, after sending the message to the second virtual object, the message sending module 4552 is further arranged to display message sending controls on the map for repeatedly sending messages corresponding to unmoved virtual objects, which are second virtual objects to which messages have not been sent, and to send a message to the unmoved virtual object corresponding to the triggered message sending control in response to a triggering operation on any of the message sending controls.

[0210] In some embodiments, if the type of command is a movement command and a virtual vehicle exists at the second location, the content of the message is to go to the second location to gather and enter the virtual vehicle; if the type of command is a movement command and a virtual vehicle does not exist at the second location, the content of the message is to go to the second location to gather; if the type of command is a defense command, the content of the message is to go to the second location to defend; and if the type of command is an attack command, the content of the message is to go to the second location to attack.

[0211] In some embodiments, the message sending module 4552 is further arranged to send the message to the second virtual object by either displaying a message type selection control including message types of a voice message, a text message, and a mixed voice and text message in response to a selection operation on the type selection control, or sending a message to the second virtual object based on the selected message type in response to a movement operation on the location mark control being released.

[0212] In some embodiments, before displaying the map of at least a subregion of the virtual scene in the map interface corresponding to the first virtual object, the display module 4551 is further arranged to display the map interface by either displaying the virtual scene in the virtual scene interface and displaying the map interface in a floating layer covering the subregion of the virtual scene interface, or displaying the virtual scene in the virtual scene interface and displaying the map interface in an area other than the virtual scene interface.

[0213] In some embodiments, the map is a preview of the entire area of ​​the virtual scene, or the map is a preview of a sub-area of ​​the virtual scene, where the sub-area is an area radiating outward from a center of the first virtual object.

[0214] In some embodiments, the message sending module 4552 is arranged to: in response to the duration of a press operation on a location mark control reaching a press time threshold, display the location mark control corresponding to the press operation in an enlarged mode; in response to a move operation on the location mark control, control the location mark control displayed in the enlarged mode to move synchronously from a first position; and in response to the move operation being released at the second position, move the location mark control displayed in the enlarged mode to the second position.

[0215] In some embodiments, before sending the message to the second virtual object, the message sending module 4552 is further configured to: determine, based on the movement operation, the first position, and the second position, start and end position features corresponding to the movement operation in the virtual scene, set the start and end position features as trigger conditions, and query a database based on the trigger conditions to obtain messages matching the trigger conditions, wherein the database stores correspondences between different messages and different trigger conditions.

[0216] In some embodiments, the message sending module 4552 is further configured to determine a first region in which the first location is located in the virtual scene and a second region in which the second location is located in the virtual scene, and determine a mark type corresponding to the second location in the map interface, the mark type comprising: no mark, a virtual object location mark, a virtual vehicle location mark, and to set the first region as a start location characteristic of the movement operation and the second region and mark type as an end location characteristic of the movement operation.

[0217] In some embodiments, the message sending module 4552 is further configured to detect a sub-region centered on the second location on the map, and if at least one location mark control is detected, set the mark type corresponding to the location mark control closest to the detected second location as the mark type corresponding to the second location on the map interface, and if no location mark control is detected, set no mark as the mark type corresponding to the second location on the map interface.

[0218] In some embodiments, the display module 4551 is further configured to, in response to the appearance of at least one virtual vehicle in the sub-region, display a location mark control on the map to indicate that the virtual vehicle is located at a second location, where the mark type of the virtual vehicle location mark control is a virtual vehicle location mark.

[0219] In some embodiments, the message sending module 4552 is further configured to: indicate entry into a point marking mode in response to a trigger operation on a first mark control on the map; to display a first custom marker for synchronous display in the map interface corresponding to a second virtual object at the click position on the map in response to a click operation on the map; and to display a second custom marker for synchronous display in the map interface corresponding to the second virtual object at a first position on the map where the first virtual object is currently located in response to a trigger operation on a second mark control on the map.

[0220] An embodiment of the present application provides a computer program product or a computer program including computer instructions stored in a computer-readable storage medium, the computer instructions being read by a processor of a computing device from the computer-readable storage medium and executed by the computing device to perform the method for processing messages in a virtual scene according to the embodiment of the present application.

[0221] An embodiment of the present application provides a computer-readable storage medium having executable instructions stored thereon that, when executed by a processor, cause the processor to perform a method for processing messages in a virtual scene according to an embodiment of the present application, such as the method for processing messages in a virtual scene shown in FIG.

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

[0223] In some embodiments, the executable instructions may be in the form of a program, software, software module, script, or code, written in any type of programming language (including a compiled or interpreted language, or a declarative or procedural language), and may be implemented in any form, for example, as a stand-alone program, a module, component, subroutine, or other unit suitable for use in a computing environment.

[0224] As an example, the executable instructions may be implemented to execute on one computing device, or on multiple computing devices located at a single location, or on multiple computing devices distributed across multiple locations and interconnected via a communications network.

[0225] In summary, the present embodiment displays a location mark control of a second virtual object in the same camp as a first virtual object on a map, or displays the location mark control of the second virtual object outside the map. When the location mark control of the second virtual object is moved, a corresponding command and message are sent to the second virtual object based on the movement operation. This allows for quick point-to-point message transmission using the map interface of the virtual scene without using voice transmission or text input. Dragging the location mark control allows for quick message transmission, saving the time required for message transmission. Furthermore, since messages are sent only to the second virtual object, accurate point-to-point message transmission is achieved and interference with other virtual objects in the same camp is prevented. Furthermore, by multiplexing the location mark controls on the map interface of the virtual scene, point-to-point message transmission is achieved without setting up a new control for message transmission in the human-computer interaction interface or using a sound collection device (e.g., a microphone), thereby saving computing resources required for the virtual scene.

[0226] The above are only examples of the present application and are not intended to limit the scope of protection of the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and scope of the present application are included in the scope of protection of the present application.

Claims

1. 1. A method for processing messages in a virtual scene, performed by an electronic device, comprising: displaying a map of at least a subregion of the virtual scene in a map interface corresponding to a first virtual object; displaying a location mark control on the map in response to appearance of at least one second virtual object in the partial area, the location mark control representing a first location where the second virtual object is currently located, the second virtual object being any virtual object belonging to the same camp as the first virtual object; a step of moving the location mark control from the first position to a second position in response to a move operation on the location mark control, and sending a message to the second virtual object, the message including the second position and an instruction for the second virtual object to reach the second position and execute; A method for processing messages in a virtual scene, comprising:

2. A method as described in claim 1, wherein the command included in the message is one of multiple types of candidate commands that can be executed upon reaching the second position.

3. Prior to moving the place mark control from the first position to a second position in response to a move operation on the place mark control, the method further comprises: displaying a command control within the map or outside the map, the command control including the plurality of types of candidate commands; In response to a command selection operation on the command control for any of the candidate commands, the selected candidate command is set as the command included in the message; The method of claim 2 further comprising:

4. The method comprises: In response to a command selection operation on the command control for one of the candidate commands, maintaining the selected candidate command in a selected state before receiving a next command selection operation; or a step of switching the display from a display indicating that the selected candidate command is in a selected state to a display indicating that a default command is in a selected state, the default command being a candidate command that is set to an automatic selection state among the plurality of types of candidate commands, after transmitting the message to the second virtual object; The method of claim 3 further comprising:

5. Prior to moving the place mark control from the first position to a second position in response to a move operation on the place mark control, the method further comprises: displaying a command control inside or outside the map, the command control including the plurality of types of candidate commands, one of the plurality of types of candidate commands being in an automatic selection state; in response to not receiving a command selection operation for any of the candidate commands in the command control within a set time, the candidate command in an automatic selection state is set as the command included in the message; The method of claim 2 further comprising:

6. When the command control includes a plurality of the candidate commands, the method further comprises: sorting the candidate commands in descending or ascending order according to their frequency of use; sorting the candidate commands according to a set order; sorting the candidate commands in ascending or descending order according to their respective usage probabilities; The method of any one of claims 3 to 5, further comprising the step of sorting the plurality of candidate commands by one of the following:

7. The method comprises: and further comprising: calling a neural network model to perform a prediction process based on parameters of virtual objects in the virtual scene, and obtaining a usage probability corresponding to each of the candidate commands; The method according to claim 6 , wherein the parameters of the virtual objects include at least one of the position of the first virtual object and attribute values ​​including combat power and life value, the position and attribute values ​​of the second virtual object, and a difference between an attribute value of a camp to which the first virtual object belongs and an attribute value of an opposing camp.

8. Before calling a neural network model to perform a prediction process based on parameters of a virtual object in the virtual scene, the method includes:

7. The method of claim 6, further comprising: training the neural network model based on battle data of at least two camps, the battle data including positions, attribute values, and commands executed by virtual objects of a winning camp and commands executed by virtual objects of a losing camp, wherein a tag of each of the commands executed by virtual objects of the winning camp has a probability of 1, and a tag of each of the commands executed by virtual objects of the losing camp has a probability of 0.

9. When displaying a plurality of the place mark controls on the map, the method further comprises: In response to a selection operation on any one of the position mark controls, displaying the selected position mark control in a selected state; deleting the selected position mark control in response to a delete operation on the selected position mark control; The method of any one of claims 1 to 5, further comprising:

10. When displaying a map of a subregion of the virtual scene in the map interface, the method further comprises: displaying a position mark control of a virtual object that has not yet appeared outside the map, the virtual object being the second virtual object that is not currently appearing in the partial area; moving the location mark control from outside the map to the second position in response to a movement operation on the location mark control of the non-appearing virtual object; sending a message to the non-appeared virtual object, the message being used to instruct the non-appeared virtual object to reach the second location and execute the command; The method of any one of claims 1 to 5, further comprising:

11. When a location mark control for indicating a first location where a plurality of the second virtual objects are currently located is displayed on the map, a step of moving the location mark control from the first location to a second location in response to a movement operation on the location mark control and transmitting a message to the second virtual object includes: displaying a plurality of said position mark controls in a selected state in response to a batch selection operation; moving the plurality of place mark controls from the first positions to the second positions in response to a move operation; sending the message to the second virtual objects corresponding to the plurality of place mark controls, respectively, the message being used to instruct the second virtual objects corresponding to the plurality of place mark controls, respectively, to reach the second location and execute the command; The method according to any one of claims 1 to 5, comprising:

12. After sending the message to the second virtual object, the method further comprises: displaying a message sending control corresponding to an unmoved virtual object on the map, the unmoved virtual object being the second virtual object to which the message has not been sent, the message sending control being used to repeatedly send the message; In response to a trigger operation on any of the message sending controls, sending the message to the unmoved virtual object corresponding to the triggered message sending control; The method of any one of claims 1 to 5, further comprising:

13. When the type of the command is a movement command and a virtual vehicle exists at the second location, the content of the message is to go to the second location, gather, and enter the virtual vehicle; If the type of the command is a movement command and no virtual vehicle is present at the second location, the content of the message is to go to the second location and gather there; If the type of the command is a defense command, the content of the message is to go to the second location and defend it; The method according to any one of claims 1 to 5, wherein if the type of the command is an attack command, the content of the message is to go to the second location and attack.

14. The method comprises: In response to the move operation on the location mark control being released, display a message type selection control including message types of a voice message, a text message, and a mixed voice and text message, and in response to a selection operation on the type selection control, transmit the message to the second virtual object based on the selected message type; or In response to the move operation on the position mark control being released, transmit the message to the second virtual object based on the set message type; The method of any one of claims 1 to 5, further comprising the step of sending the message to the second virtual object by any one of the following:

15. Before displaying a map of at least a subregion of the virtual scene in a map interface corresponding to the first virtual object, the method further comprises: displaying the virtual scene in a virtual scene interface and displaying the map interface in a floating layer covering a subregion of the virtual scene interface; displaying the virtual scene in the virtual scene interface and displaying the map interface in an area other than the virtual scene interface; The method of any one of claims 1 to 5, further comprising the step of displaying the map interface by any one of the following:

16. 6. The method of claim 1, wherein the map is a preview of an entire area of ​​the virtual scene, or wherein the map is a preview of a sub-area of ​​the virtual scene, the sub-area being an area radiating outward from the first virtual object as a center.

17. The step of moving the place mark control from the first position to the second position in response to a move operation on the place mark control includes: In response to a time duration of the pressing operation on the position mark control reaching a pressing time threshold, displaying the position mark control corresponding to the pressing operation in an enlarged mode; In response to a movement operation on the position mark control, controlling the position mark control displayed in an enlarged mode to start synchronous movement from the first position; In response to the move operation being released at the second position, moving the position mark control displayed in the enlarged mode to the second position; The method according to any one of claims 1 to 5, comprising:

18. Before sending a message to the second virtual object, the method further comprises: determining a start position feature and an end position feature corresponding to the movement operation in the virtual scene based on the movement operation, the first position, and the second position, and setting the start position feature and the end position feature as trigger conditions; querying a database based on the trigger conditions to obtain the messages that match the trigger conditions, the database storing correspondences between various messages and various trigger conditions; The method of any one of claims 1 to 5, further comprising:

19. determining a start position feature and an end position feature corresponding to the movement operation in the virtual scene based on the movement operation, the first position, and the second position, determining a first region in which the first location is located in the virtual scene and a second region in which the second location is located in the virtual scene; determining a mark type corresponding to the second location on the map interface, the mark type including no mark, a virtual object location mark, and a virtual vehicle location mark; setting the first area as a start position characteristic of the movement operation, and setting the second area and the mark type as an end position characteristic of the movement operation; 20. The method of claim 18, comprising:

20. determining a mark type corresponding to the second location in the map interface, detecting a sub-region in the map centered on the second location; if at least one of the location mark controls is detected, determining that the mark type corresponding to the detected location mark control closest to the second location is the mark type corresponding to the second location in the map interface; if the location mark control is not detected, then setting no mark as the mark type corresponding to the second location in the map interface; 20. The method of claim 19, comprising:

21. The method comprises:

20. The method of claim 19, further comprising the step of displaying a location mark control on the map in response to at least one virtual vehicle appearing in the sub-region to indicate that the virtual vehicle is located at the second location, wherein the mark type of the virtual vehicle location mark control is a virtual vehicle location mark.

22. The method comprises: a step of displaying, in response to a trigger operation on a first mark control of the map, an indication that a point marking mode has been entered, and, in response to a click operation on the map, displaying a first custom marker at the click position on the map, the first custom marker being used for synchronous display on a map interface corresponding to the second virtual object; displaying a second custom marker at the first position on the map where the first virtual object is currently located in response to a trigger operation on a second mark control of the map, the second custom marker being used for synchronous display on a map interface corresponding to the second virtual object; The method of any one of claims 1 to 5, further comprising:

23. 1. An apparatus for processing messages in a virtual scene, comprising: a display module arranged to display a map of at least a subregion of the virtual scene in a map interface corresponding to a first virtual object; the display module is further configured to, in response to appearance of at least one second virtual object in the partial region, display a location mark control on the map to indicate a first location where the second virtual object is currently located, the second virtual object being any virtual object belonging to the same camp as the first virtual object; a message sending module arranged to move the place mark control from the first position to a second position in response to a move operation on the place mark control and to send a message to the second virtual object, the message including the second position and an instruction for the second virtual object to reach the second position and perform an action; and A message processing device in a virtual scene, comprising:

24. An electronic device, a memory for storing executable instructions; A processor for performing the method for processing messages in a virtual scene according to any one of claims 1 to 5 when executing executable instructions stored in said memory.

25. A computer program which, when executed by a processor, performs the method for processing messages in a virtual scene according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Path information sending method in virtual scene, computer equipment and storage medium

    CN112569600A