Method, device, equipment, and program for marking a position in a virtual scene

The drag-and-drop method for marking virtual resource icons in virtual scenes addresses the inefficiencies of tap-based systems, improving accuracy and reducing accidental touches by allowing quick and precise location marking on large maps without map repositioning.

JP2024541520AActive Publication Date: 2024-11-08TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2024531371
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2022-02-25
Filing Date
2022-11-09
Publication Date
2024-11-08
Estimated Expiration
2042-11-09

AI Technical Summary

Technical Problem

Existing methods for marking locations in virtual scenes, such as open-world games, require multiple tap operations, leading to low efficiency and increased human-computer interactions, and are prone to accidental touches and difficulty in accurate marking due to frequent map adjustments.

Method used

A method involving drag-and-drop operations to move virtual resource icons on a map, allowing for quick and accurate marking without changing the map's proportion or position, combined with local magnification and multi-point marking modes to enhance efficiency and reduce accidental touches.

Benefits of technology

The drag-and-drop method significantly reduces the number of interactions, enhances marking accuracy, and avoids accidental touches, enabling efficient and precise location marking on large maps without map repositioning.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024541520000001_ABST
    Figure 2024541520000001_ABST
Patent Text Reader

Abstract

The present application provides a method, apparatus, device, storage medium, and program product for position marking in a virtual scene, the method including the steps of: displaying a map of the virtual scene; displaying at least one virtual resource icon in response to a position marking command for a virtual resource in the virtual scene; controlling, in response to a drag operation on a target virtual resource icon of the at least one virtual resource icon, the target virtual resource icon to move on the map in conjunction with the execution of the drag operation; and, in response to a release command for the drag operation, marking the target virtual resource icon at a position on the map where the target virtual resource icon currently resides.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present application relates to the technical field of virtualization and human-computer interaction, and in particular to a method, an apparatus, a device, a storage medium, and a program product for marking positions in a virtual scene.

[0002] This application is based on and claims priority to a Chinese patent application having application number 202210179779.2 and filing date February 25, 2022, the entire contents of which are hereby incorporated by reference into this application. [Background technology]

[0003] With the increasing number of open-world themed games, players usually perform various game tasks recommended by the system in a large world. There are many types of tasks in games, and each task often has different interaction scenes and non-player characters. Usually, when a player checks a task scene, he or she needs to open the map through the map function in the game, find the corresponding task icon on the map, perform automatic navigation, or set a marking point, and then follow the guidance in the game to proceed to the task point.

[0004] In the related art, if one wants to mark a position on a map, multiple tapping operations are required, and if one wants to mark repeatedly, more tapping steps need to be repeated, which increases the number of human-computer interactions and reduces the efficiency of marking. Summary of the Invention [Problem to be solved by the invention]

[0005] The embodiments of the present application provide a method, an apparatus, an electronic device, a computer-readable storage medium, and a computer program product for marking a position in a virtual scene, which can realize quick marking on a virtual resource icon, reduce the number of human-computer interactions, and improve the operation control efficiency of the virtual scene. [Means for solving the problem]

[0006] The technical solutions of the embodiments of the present application are realized as follows:

[0007] An embodiment of the present application provides a method for marking a location in a virtual scene, comprising: displaying a map of the virtual scene; displaying at least one virtual resource icon in response to a location marking command for a virtual resource in the virtual scene; In response to a drag operation on a target virtual resource icon of the at least one virtual resource icon, controlling the target virtual resource icon to move on the map in association with the execution of the drag operation; In response to a release command for the drag operation, marking the target virtual resource icon at a location on the map where the target virtual resource icon currently resides.

[0008] An embodiment of the present application provides a position marking device in a virtual scene, the device including: a display module, a control module, and a marking module; the display module is configured to display a map of the virtual scene in a virtual scene interface; The display module is further configured to display at least one virtual resource icon in response to a position marking instruction for a virtual resource in the virtual scene; the control module is configured to, in response to a drag operation on a target virtual resource icon of the at least one virtual resource icon, control the target virtual resource icon to move on the map in association with execution of the drag operation; The marking module is configured to, in response to a release command for the drag operation, mark the target virtual resource icon at a location on the map where the target virtual resource icon currently resides.

[0009] An embodiment of the present application provides an electronic device, a memory configured to store executable instructions; and a processor configured to, when executing executable instructions stored in the memory, implement a method for marking a position in a virtual scene provided by an embodiment of the present application.

[0010] An embodiment of the present application provides a computer-readable storage medium having executable instructions stored thereon that, when executed by a processor, are used to realize the method for marking a location in a virtual scene provided by the embodiment of the present application.

[0011] An embodiment of the present application provides a computer program product, which includes a computer program or instructions, which, when executed by a processor, realizes the method for marking a position in a virtual scene provided by the embodiment of the present application. Effect of the Invention

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

[0013] By applying the embodiment of the present application, the target virtual resource icon displayed in the virtual scene can be controlled to move on the map by a drag operation on the target virtual resource icon, and the marking process on the target virtual resource icon can be completed after receiving a release command for the drag operation. In this way, the virtual resource icon can be quickly and accurately marked by dragging in a situation where the scale and position of the map do not need to be changed, so that compared with the method of tapping a position on the map to trigger a marking pop-up window to perform marking in the related art, the number of human-computer interactions can be reduced, the efficiency of marking the virtual resource icon on the map can be improved, and at the same time, erroneous touching can be avoided, and the efficiency of operation control of the virtual scene can be improved. [Brief description of the drawings]

[0014] [Figure 1] FIG. 1 is an architecture schematic diagram of a position marking system in a virtual scene provided by an embodiment of the present application. [Diagram 2] FIG. 2 is a structural schematic diagram of an electronic device implementing the method for marking a position in a virtual scene provided by an embodiment of the present application; [Diagram 3] 1 is a flowchart of a method for marking a position in a virtual scene provided by an embodiment of the present application; [Figure 4] FIG. 2 is a schematic diagram of a map interface of a virtual scene provided by an embodiment of the present application; [Diagram 5] FIG. 2 is a schematic diagram of graphics drawing provided by an embodiment of the present application; [Figure 6A] FIG. 2 is a schematic diagram of a virtual resource icon display provided by an embodiment of the present application; [Figure 6B] FIG. 2 is a schematic diagram of a virtual resource icon display provided by an embodiment of the present application; [Figure 7] FIG. 2 is a schematic diagram of a target display style provided by an embodiment of the present application. [Figure 8]FIG. 2 is a schematic diagram of a wheel display style provided by an embodiment of the present application. [Figure 9] FIG. 2 is a schematic diagram of information presentation provided by an embodiment of the present application. [Figure 10] FIG. 2 is a schematic diagram of a resource name modification provided by an embodiment of the present application; [Figure 11] FIG. 2 is a schematic diagram of a local magnification interface provided by an embodiment of the present application. [Figure 12] FIG. 2 is a schematic diagram of a fixed local magnification interface provided by an embodiment of the present application. [Figure 13] FIG. 2 is a schematic diagram of a multi-point marking mode provided by an embodiment of the present application. [Figure 14] FIG. 2 is a schematic diagram of a multi-point marking area provided by an embodiment of the present application. [Figure 15] FIG. 1 is a schematic diagram of a map marking provided by the related art. [Figure 16] 4 is a flowchart of a location marking operation for a virtual resource provided by an embodiment of the present application; [Figure 17] 4 is a flowchart of an editing operation for a marking name provided by an embodiment of the present application; [Figure 18] 1 is a flowchart of a position marking method provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0015] In order to make the objectives, technical solutions and advantages of the present application clearer, the present application is described in detail below in conjunction with the drawings. The described embodiments should not be considered as limiting the present application, and all other embodiments obtained by those skilled in the art under the premise that no creative work is required belong to the protection scope of the present application.

[0016] In the following description, references are made to "some embodiments," which describe a subset of all possible embodiments, but it will be understood that "some embodiments" may be the same or different subsets of all possible embodiments, and may be combined with each other where no inconsistency arises.

[0017] Where a description similar to "first / second" appears in the application documents, the following explanation is added, and in the following description, the terms "first\second\third" are merely used to distinguish between similar objects and do not represent a particular ranking of the objects. As will be understood, "first\second\third" may be interchanged in the specified order or order of precedence, where permitted, such that the embodiments of the present application described herein may be implemented in orders other than those shown or described herein.

[0018] 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 only for describing the embodiments of the present application and are not intended to limit the present application.

[0019] Before describing the embodiments of the present application in detail, the nouns and terms referred to in the embodiments of the present application will be explained. The nouns and terms referred to in the embodiments of the present application are applied as follows.

[0020] 1) A client is an application program that runs on a terminal and is used to provide various services, such as an instant messaging client or a video playing client.

[0021] 2) "In response" is used to describe a condition or state upon which an operation is performed that depends. The operation or operations that are performed upon satisfaction of the dependent condition or state may be in real time or may have a configured delay, and unless otherwise stated, there is no restriction on the order of execution of the operations that are performed.

[0022] 3) A virtual scene is a virtual scene that is displayed (or provided) when an application program runs on a terminal. The virtual scene may be a simulation environment for the real world, a semi-simulated semi-fictional virtual environment, or a purely fictional virtual environment. The virtual scene may be any kind of 2D virtual scene, 2.5D virtual scene, or 3D virtual scene, but the embodiment of the present application does not limit the dimension of the virtual scene. For example, the virtual scene may include sky, land, and ocean, etc., and the land may include environmental elements such as desert and city. A user can control virtual objects to move in the virtual scene, and the movements include at least one of body posture adjustment, crawling, walking, running, cycling, jumping, driving, picking up, shooting, attacking, and throwing, but are not limited to these. The virtual scene may be displayed from a first-person perspective (e.g., the player plays a virtual object in the game from his or her own perspective), a third-person perspective (e.g., the player plays the game by chasing a virtual object in the game), or an overhead perspective, where the virtual scene may be displayed from any of the above perspectives.

[0023] Taking the display of a virtual scene from a first-person perspective as an example, the virtual scene displayed in the human-computer interaction interface may include determining a viewing area of ​​a virtual object according to a viewing position and a viewing angle in the complete virtual scene of the virtual object, and presenting a part of the virtual scene located in the viewing area in the complete virtual scene, that is, the displayed virtual scene may be a part of the virtual scene for the panoramic virtual scene. The first-person perspective is the viewing perspective that can have the greatest impact on the user, and thus the user can realize a sense of immersion in the operation process. Taking the display of a virtual scene from a bird's-eye perspective as an example, the interface of the virtual scene presented in the human-computer interaction interface may include presenting a part of the virtual scene corresponding to the scaling operation in the human-computer interaction interface in response to a scaling operation on the panoramic virtual scene, that is, the displayed virtual scene may be a part of the virtual scene for the panoramic virtual scene. In this way, the operability in the user's operation process can be improved, and the efficiency of human-computer interaction can be improved.

[0024] 4) The scene data represents various features that an object in a virtual scene expresses in the interaction process, and may include, for example, the position of the object in the virtual scene. Of course, different types of features may be included according to the type of the virtual scene, for example, in a game virtual scene, the scene data may include the time that needs to be waited when configuring various functions in the virtual scene (determined by the number of times the same function can be used within a certain time), and may represent the attribute values ​​of various states of a game character, such as life value (also called hit point), magic value (also called mana point), status value, and health point, etc.

[0025] 5) Open world games, also known as free roam games, are a type of game stage design in which players can roam freely in a virtual world and freely choose the time and manner to complete game tasks.

[0026] Based on the above interpretation of the nouns and terms mentioned in the embodiments of the present application, the position marking system in a virtual scene provided by the embodiments of the present application will be described below. Referring to Fig. 1, Fig. 1 is an architecture schematic diagram of the position marking system in a virtual scene provided by the embodiments of the present application, in which terminals (terminals 400-1 and 400-2 are shown as examples) are connected to a server 200 via a network 300 to realize the support of one exemplary application. The network 300 may be a wide area network, a local area network, and / or a combination of both, and realizes the transmission of data using wireless or wired links.

[0027] A terminal (e.g., the terminal 400-1 and the terminal 400-2) is configured to receive a trigger operation for entering a virtual scene based on a view interface, and to send a request for acquiring scene data of the virtual scene to the server 200; The server 200 is configured to receive a request for acquiring scene data, and in response to the request, return scene data of the virtual scene to the terminal; The terminals (e.g., terminal 400-1 and terminal 400-2) are configured to receive scene data of the virtual scene, render a screen of the virtual scene based on the obtained scene data, and present the screen of the virtual scene on a graphics interface (graphics interface 410-1 and graphics interface 410-2 are shown as examples), where corresponding map information is presented on the screen of the virtual scene, and the contents presented on the screen of the virtual scene are all obtained by rendering based on the returned scene data of the virtual scene; The terminals (e.g., terminal 400-1 and terminal 400-2) are further configured to display a map of the virtual scene, display at least one virtual resource icon in response to a position marking command for a virtual resource in the virtual scene, control the target virtual resource icon to move on the map accompanying the execution of the drag operation in response to a drag operation for a target virtual resource icon among the at least one virtual resource icon, and mark the target virtual resource icon at a current position of the target virtual resource icon on the map in response to a release command for the drag operation. In this way, marking of any position in the entire open world map can be completed by only the drag operation for the target virtual resource icon.

[0028] In some embodiments, the embodiments of the present application are realized by cloud technology. Cloud technology refers to a kind of hosting technology that integrates a series of resources such as hardware, software, and network in a wide area network or a local area network to realize computing, storage, processing, and sharing of data. Cloud technology is a collective term for network technology, information technology, integration technology, management platform technology, and application technology based on the business mode application of cloud computing, which can form a resource pool, which can be used as needed, and is flexible and convenient. Cloud computing technology has become an important support. The background service of the technology network system requires a lot of computing and storage resources. For example, when the virtual scene is a game scene, the corresponding game is a cloud game, and the screen of the virtual scene displayed on the terminal is all rendered and obtained by the server.

[0029] In practical applications, the server 200 may be an independent physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms. The terminals (e.g., the terminals 400-1 and 400-2) may be, but are not limited to, smartphones, tablet computers, laptops, desktop computers, smart speakers, smart TVs, and smart watches. The terminals (e.g., the terminals 400-1 and 400-2) and the server 200 may be directly or indirectly connected by wired or wireless communication, and the present application does not limit the present invention.

[0030] In practical applications, the terminals (including the terminal 400-1 and the terminal 400-2) have installed and running application programs supporting virtual scenes. The application programs may be any of the following: first-person shooter games (FPS), third-person shooter games, driving games in which the main action is steering, multiplayer online battle arena games (MOBA), two-dimensional (abbreviated as 2D) game applications, three-dimensional (abbreviated as 3D) game applications, virtual reality application programs, three-dimensional map programs, or multiplayer survival games. The application programs may be standalone application programs, such as standalone 3D game programs.

[0031] Taking a scene of an electronic game as an exemplary scene, a user can operate the terminal in advance, and the terminal can download a game profile of the electronic game after detecting the user's operation, and the game profile may include an application program, interface display data, or virtual scene data of the electronic game, etc., so that the user can call up the game profile when logging in to the electronic game on the terminal, and render and display the electronic game interface. A user can perform a touch control operation on the terminal, and the terminal can determine game data corresponding to the touch control operation after detecting the touch control operation, and render and display the game data, and the game data may include virtual scene data, and behavior data of virtual objects in the virtual scene, etc.

[0032] Referring to FIG. 2, FIG. 2 is a structural schematic diagram of an electronic device implementing the method for marking a position in a virtual scene provided by the embodiment of the present application. In practical application, the electronic device 500 may be the server or terminal shown in FIG. 1. Taking the electronic device 500 as the terminal shown in FIG. 1 as an example, the electronic device implementing the method for marking a position in a virtual scene provided by the embodiment of the present application is described. The electronic device 500 provided by the embodiment of the present application includes at least one processor 510, a memory 550, at least one network interface 520, and a user interface 530. Each component in the electronic device 500 is connected together via a bus system 540. As can be understood, the bus system 540 is configured to realize connection communication between these components. In addition to including a data bus, the bus system 540 further includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, in FIG. 2, all buses are represented as a bus system 540.

[0033] The processor 510 may be an integrated circuit chip having signal processing capabilities, such as a general purpose processor, a digital signal processor (DSP), other programmable logic device, discrete gate and transistor logic devices, or discrete hardware components, where the general purpose processor may be a microprocessor, or any other common processor, etc.

[0034] User interface 530 includes one or more output devices 531 on which media content can be presented, including one or more speakers, and / or one or more visual display screens. User interface 530 further includes one or more input devices 532, including user interface members that contribute user input, such as a keyboard, a mouse, a microphone, a touch sensitive display screen, a camera, other input buttons, and controls.

[0035] Memory 550 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state memory, hard disk drives, optical disk drives, etc. Memory 550 optionally includes one or more storage devices whose physical location is remote from processor 510.

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

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

[0038] The operating system 551 includes system programs configured to process various basic system services and execute hardware-related tasks, such as a frame layer, a core library layer, and a driver layer, which are used to realize various basic services and process hardware-based tasks; The network communication module 552 is configured to reach other computing devices via one or more (wired or wireless) network interfaces 520; exemplary network interfaces 520 include Bluetooth, Wireless Fidelity (WiFi), Universal Serial Bus (USB), etc. A presentation module 553 is configured to present information via one or more output devices 531 (e.g., a display screen, a speaker, etc.) associated with a user interface 530 (e.g., a user interface used to operate peripherals and display content and information); The input processing module 554 is configured to detect one or more user inputs or interactivity from one of the one or more input devices 532 and to interpret the detected inputs or interactivity.

[0039] In some embodiments, the position marking device in a virtual scene provided by the embodiments of the present application may be realized by adopting a software method. Figure 2 shows a position marking device in a virtual scene 555 stored in a memory 550, which may be software in the form of a program, a plug-in component, etc., and includes software modules: a display module 5551, a control module 5552, and a marking module 5553. These modules are logical, and therefore can be arbitrarily combined or divided according to the functions to be realized, so the functions of each module will be described below.

[0040] In some other embodiments, the position marking device in a virtual scene provided by the embodiments of the present application may be realized by adopting a method combining software and hardware. As an example, the position marking device in a virtual scene provided by the embodiments of the present application may be a processor adopting a hardware decode processor type, which is programmed to execute the position marking method in a virtual scene provided by the embodiments of the present application. For example, the processor in the form of a hardware decode processor may adopt one or more application specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field programmable gate arrays (FPGAs), or other electronic components.

[0041] Based on the above description of the position marking system in a virtual scene and the electronic device provided by the embodiment of the present application, the position marking method in a virtual scene provided by the embodiment of the present application will be described below. In some embodiments, the position marking method in a virtual scene provided by the embodiment of the present application may be implemented by a server or a terminal alone, or may be implemented by a server and a terminal together. In some embodiments, the terminal or the server can realize the position marking method in a virtual scene provided by the embodiment of the present application by operating a computer program. For example, the computer program may be a native program or a software module in an operating system, or a local (Native) application program (APP, Application), that is, a program that needs to be installed in an operating system to operate. For example, it may be a client that supports virtual scenes such as a game APP, and may be an applet, that is, a program that can be operated simply by downloading in a browser environment, or may be an applet that can be incorporated into any APP. In short, the computer program may be an application program, module, or plug-in member in any form.

[0042] Hereinafter, the method for marking a position in a virtual scene provided by the embodiment of the present application will be described by taking the implementation by a terminal as an example. As shown in Fig. 3, Fig. 3 is a flowchart of the method for marking a position in a virtual scene provided by the embodiment of the present application, and the method for marking a position in a virtual scene provided by the embodiment of the present application includes the following steps 101 to 104.

[0043] In step 101, the terminal displays a map of the virtual scene.

[0044] In practical implementation, the terminal may have installed thereon an application client (e.g., a game client) that supports virtual scenes, or may be a client that integrates virtual scene functions (e.g., an instant messaging client, a live client, and an education client, etc.). When a user opens an application client of the terminal and the terminal runs the application client, the user can perform interactions between virtual objects based on the screen of the virtual scene displayed on the client. For example, when the client is a game client, the user can perform interactions (e.g., virtual battles) between game characters (virtual objects) in the game scene based on the game screen displayed on the game client. In some embodiments, the terminal presents an interface of a virtual scene (e.g., an open world adventure game), and presents a corresponding map (scene map) in the interface of the virtual scene, in which there are many virtual resources for the player to collect in the map corresponding to the virtual scene, and the player can also mark various virtual resources at the location points of the map. Common virtual resources may include treasure chests, energy bars, etc.

[0045] For example, refer to FIG. 4, which is a schematic diagram of a map interface of a virtual scene provided by an embodiment of the present application, which can display location points of virtual resources on a map for the virtual scene in the figure.

[0046] At step 102, at least one virtual resource icon is displayed in response to a location marking command for a virtual resource in the virtual scene.

[0047] In practical implementation, the terminal can display at least one virtual resource icon after receiving a position marking instruction for a virtual resource in a virtual scene.

[0048] A triggering manner of a position marking instruction will be described. In some embodiments, before displaying at least one virtual resource icon, the terminal can receive a position marking instruction for a virtual resource in a virtual scene in the following manner: The terminal displays a position marking function item in an interface of the virtual scene, and receives a position marking instruction for the virtual resource in the virtual scene in response to a first triggering operation on the position marking function item.

[0049] In actual implementation, a position marking function item is displayed in the interface of a virtual scene, where the position marking function item is a control, and may have a variety of presentation formats, such as a graphic button, a progress bar, a menu, a list, etc., and the embodiment of the present application is not limited thereto. When a user triggers the position marking function item, the terminal can receive a position marking command for a virtual resource.

[0050] Illustratively, referring to FIG. 4, reference numeral 1 in the figure indicates a location marking button, and when a user taps the location marking button, the terminal can receive a location marking instruction.

[0051] In some embodiments, before displaying at least one virtual resource icon, the terminal may receive a position marking instruction for the virtual resource in the following manner: The terminal receives a graphics drawing operation triggered according to an interface of a virtual scene, and receives a position marking instruction for the virtual resource in the virtual scene when the graphics drawn by the graphics drawing operation match a preset graphic (predetermined graphic).

[0052] In actual implementation, a user can perform a graphics drawing operation on a virtual scene interface at any position on the screen of the terminal. In response to the graphics drawing operation performed by the user, the terminal obtains position information of each point of the graphics drawing operation, generates a graphics drawn by the graphics drawing operation, and matches the drawn graphics with pre-stored graphics in the graphics library, which are used to trigger a position marking command. If the matching between at least one pre-stored graphic and the drawn graphics is successful (i.e., the similarity reaches a similarity threshold, and the magnitude of the similarity threshold can be specifically set according to actual needs, for example, 0.8), it means that a position marking command for a virtual resource can be triggered after the graphics drawing operation is finished. Or, the terminal obtains a drawing trajectory when the user performs a graphics drawing operation, matches the pattern formed by the drawing trajectory with the pre-stored graphics, and triggers a position marking command for a virtual resource when the matching is successful. In addition, the terminal can further predict the drawn graphics by a multi-classification model based on artificial intelligence for classifying graphics, which is deployed in the terminal. The input information of the multi-classification model is the position information of the drawn graphics, and the output information is the graphics category to which the drawn graphics belongs in a pre-defined graphics library.

[0053] Illustratively, refer to Fig. 5, which is a schematic diagram of graphics drawing provided by an embodiment of the present application. A user performs a graphics drawing operation on a virtual scene interface, and obtains a graphics indicated by reference number 1 in the figure (the graphics style may be multiple, such as a circle, a triangle, etc.). It is necessary to explain that, in order to avoid affecting the user's viewing experience, the graphics obtained by the graphics drawing operation may not be displayed in the virtual scene interface, that is, the graphics indicated by reference number 1 in the figure may not be displayed in the actual virtual live room interface.

[0054] The above method of triggering position marking instructions by graphics drawing can effectively reduce the screen occupancy of controls in the virtual scene interface, and save the occupancy of screen space.

[0055] In some embodiments, the terminal can display the resource name of the virtual resource indicated by the virtual resource icon in the following manner: The terminal obtains the icon display length of the virtual resource icon and the name display length of the resource name of the virtual resource indicated by the virtual resource icon, and when the sum of the icon display length and the name length does not reach a length threshold, displays the resource name of the virtual resource indicated by the virtual resource icon in the process of displaying the virtual resource icon.

[0056] In practical implementation, the terminal receives a position marking command for the virtual resource triggered by the above-mentioned triggering manner, and displays at least one virtual resource icon and the resource name of the virtual resource indicated by the virtual resource icon in the virtual scene interface according to the actual situation of the virtual scene displayed on the terminal screen. It is necessary to explain that the virtual resource icon and the resource name of the virtual resource indicated by the virtual resource icon can be displayed simultaneously, or only the virtual resource icon can be displayed. The terminal can determine whether to display the virtual resource icon and the corresponding resource name simultaneously according to the icon length of the virtual resource icon and the name length of the resource name. The terminal determines the length threshold for synchronously displaying the virtual resource icon and the corresponding resource name according to the distribution situation of each element (such as control and header) in the virtual scene, and displays the virtual resource icon and the corresponding resource name simultaneously when the sum of the icon length and the resource name length reaches the threshold.

[0057] For example, Figures 6A to 6B are schematic diagrams of displaying virtual resource icons provided by an embodiment of the present application. As shown in Figure 6A, Figure 6A simultaneously displays a virtual resource icon and a corresponding resource name.

[0058] The above manner of simultaneously displaying the virtual resource icons and the corresponding resource names can display the virtual resource names intuitively, and improve the human-computer interaction experience.

[0059] In some embodiments, the terminal can display the resource name of the virtual resource indicated by the virtual resource icon in the following manner: when the sum of the icon display length and the name display length reaches a width threshold, the terminal hides the resource name of the corresponding virtual resource in the process of displaying the virtual resource icon, and adopts the form of a floating layer to display the resource name of the virtual resource indicated by the virtual resource icon when the virtual resource icon is in a selected state. In this way, when the sum of the icon display length and the name display length reaches a width threshold, the manner of hiding the resource name reduces the occupation of the display resource and releases the display space, and when the virtual resource icon is in a selected state, the manner of a floating layer is adopted to display the resource name of the selected virtual resource icon, enriching the display manner of information, thereby making the display of resource names more flexible and improving the utilization rate of the display resource.

[0060] In practical implementation, when the terminal determines that the sum of the icon display length and the name display length reaches the width threshold, it can only display the virtual resource icon. That is, when the virtual resource icon is displayed, the name of the corresponding virtual resource is hidden, and when the user moves the cursor to any one of the virtual resource icons, the resource name of the virtual resource indicated by the current virtual resource icon can be displayed in the form of a floating layer. It is necessary to note that the terminal can also provide a setting interface for the display mode of the virtual resource icon, and adopt the set target display mode to display the virtual resource icon in the virtual interface.

[0061] Illustratively, as shown in Fig. 6B, reference numeral 1 in Fig. 6B indicates a display method of a virtual resource icon, in which only the virtual resource icon is displayed and the resource name of the virtual resource is hidden, and when the cursor moves to any virtual resource icon, the resource name is displayed in the form of a floating layer as in the display method of the resource name indicated by reference numeral 2 in the figure.

[0062] The above method in which only virtual resource icons are displayed can reduce the space utilization rate of the virtual interface and improve the human-computer interaction experience.

[0063] In some embodiments, the terminal can display a virtual resource icon in the following manner: in response to a position marking command for a virtual resource in a virtual scene, the terminal displays an icon floating layer in an interface of the virtual scene, and displays at least one virtual resource icon in the icon floating layer by adopting a target display style, where the target display style includes at least one of a list display style and a wheel display style.

[0064] In actual implementation, the terminal provides a setting interface for setting a display style for displaying at least one virtual resource icon. In the setting interface, at least one display style option is presented, including but not limited to a list display style option, a wheel display style option, etc. In response to a selection operation on a target display style option among the at least one display style option, the terminal determines a target display style corresponding to the target display style option as a display style of the at least one virtual resource icon. After determining the target display style, the terminal can adopt the target display style to display the at least one virtual resource icon in the virtual scene interface in the form of a floating layer.

[0065] Illustratively, refer to FIG. 7, which is a schematic diagram of a target display style provided by an embodiment of the present application. In the figure, two target display style options are displayed, and an example diagram corresponding to each target display style option is shown. When the target display style is a list display style, the display style of at least one virtual resource icon is shown in FIG. 6A-6B. Refer to FIG. 8, which is a schematic diagram of a wheel display style provided by an embodiment of the present application. In FIG. 8, the terminal determines that the target display style for at least one virtual resource icon is a wheel display style. In response to a long press operation on a location function item (shown by reference number 1 in the figure), the terminal can call up a wheel (shown by reference number 2 in the figure) used to display at least one virtual resource icon, and when the cursor is slid from the location function item to any one virtual resource icon in the wheel, the terminal can adopt the form of a floating layer to display the resource name of the virtual resource indicated by the virtual resource icon. It is necessary to explain that the at least one virtual resource icon of the wheel display style may be at any position in the virtual interface.

[0066] The above multiple display styles for at least one virtual resource icon can meet users' individualized needs and improve the human-computer interaction experience.

[0067] In some embodiments, the terminal can display the virtual resource icons in the following manner: when at least one virtual resource icon is in a prohibited state, the terminal displays presentation information in response to a trigger operation on the prohibited virtual resource icon, where the presentation information is used to present that the marking quantity of the virtual resource corresponding to the prohibited virtual resource icon has reached a quantity threshold.

[0068] In actual implementation, the marking quantity of the virtual resource corresponding to any virtual resource icon has a certain number requirement. When the marking quantity of a virtual resource in the map of the virtual scene reaches the corresponding quantity threshold, the virtual resource indicated by the virtual resource icon cannot be marked further. Therefore, the virtual resource icon may be in a disabled state and may be used to notify the user that the virtual resource indicated by the current virtual resource icon in the map has reached the quantity threshold.

[0069] For example, refer to FIG. 9, which is a schematic diagram of information presentation provided by an embodiment of the present application. In the figure, a list display style is adopted to simultaneously display a virtual resource icon and a resource name (indicated by reference numeral 1 in the figure). Here, "resource name 1" and "resource name 2" are in a disabled state, and other virtual resource icons are in a usable state. In response to a trigger operation (tap operation) on "resource name 1" in a disabled state, the terminal presents a floating layer (indicated by reference numeral 2 in the figure) in the virtual scene interface, and displays presentation information in the floating layer that "the marking quantity of resource name 1 has reached the upper limit, and the current icon cannot be used."

[0070] In some embodiments, the terminal can edit the resource name of the virtual resource in the following manner: in response to a trigger operation on a virtual resource icon, the terminal controls the resource name of the virtual resource indicated by the virtual resource icon to be in an editable state, and in response to an editing operation on the resource name in the editable state, displays the edited resource name.

[0071] In actual implementation, the terminal can provide an editing operation for the resource name indicated by the virtual resource icon. In response to a trigger operation for the resource name (e.g., a double tap operation for the virtual resource name), the terminal controls the resource name to be in an editable state, receives an editing operation (re-input) for the selected resource name, and confirms the modified resource name.

[0072] For example, refer to Fig. 10, which is a schematic diagram of a resource name modification provided by an embodiment of the present application. In the figure, the terminal receives a double tap operation on "resource name 4" and controls to make "resource name 4" editable. At this time, the cursor blinks in the input box where "resource name 4" is located, prompting the user to input a new resource name, and after the input is completed, the new resource name is displayed.

[0073] In step 103, in response to a drag operation on a target virtual resource icon of the at least one virtual resource icon, the target virtual resource icon is controlled to move on the map in association with the execution of the drag operation.

[0074] In actual implementation, in response to a drag operation on a target virtual resource icon, the terminal can control the virtual resource icon to move along a drag trajectory of the drag operation on the map as the drag operation is performed.

[0075] In some embodiments, the terminal can control the target virtual resource icon to move on the map in the following manner: In response to a drag operation on a target virtual resource icon in a floating state among at least one virtual resource icon, the terminal controls the target virtual resource icon in a floating state to move on the map accompanying the execution of the drag operation.

[0076] In actual implementation, the terminal can perform a drag operation on the target virtual resource icon in a floating state. Here, there are multiple ways to control the virtual resource icon to be in a floating state. In some embodiments, the terminal can provide a setting for whether the virtual resource icon is in a floating state.

[0077] In some embodiments, the terminal can control the virtual resource icon to be in a floating state in the following manner: the terminal obtains operation parameters of the pressing operation in response to a pressing operation on a target virtual resource icon among the at least one virtual resource icon, where the operation parameters include at least one of an operation time and a pressure magnitude, and controls the target virtual resource icon to be in a floating state when the operation time reaches a time threshold or the pressure magnitude reaches a pressure threshold.

[0078] In actual implementation, the terminal can obtain parameters such as the operation time and pressure magnitude of the pressing operation based on the pressing operation on the virtual resource icon, and can compare the operation time with a preset time threshold or compare the pressure magnitude with a preset pressure magnitude, and control the target virtual resource icon to be in a floating state when the operation time is greater than the preset time threshold or when the pressure magnitude is greater than the pressure threshold.

[0079] Regarding the above method of triggering the target virtual resource icon to be in a floating state by performing a pressing operation on the virtual resource icon, in actual application, when a user wants to mark the target virtual resource icon on the map, he / she first performs a pressing operation on it to make it in a floating state, and then drags the target virtual resource icon in the floating state to move it on the map to the position that the user wants to mark. The process of the target virtual resource icon floating and being dragged can be performed by the user in one go, and the operation is simple, so that the user can easily select an address and mark the virtual resource icon quickly.

[0080] Exemplarily, as shown in FIG. 8, the terminal calls up a wheel (shown by reference numeral 2 in the figure) that displays a virtual resource icon in response to a long press operation on a position marking button shown by reference numeral 1. At this time, the long press operation is directly switched to a slide operation starting from the position marking button, and slides to the icon of "resource name 2" (target virtual resource icon). If the icon of "resource name 2" is in a floating state, the slide operation is switched to a drag operation (shown by reference numeral 3 in the figure) on the target resource icon, and the icon of "resource name 2" is controlled to move on the map accompanying the execution of the drag operation. If the icon of "resource name 2" is in a non-floating state (fixed state), at this time, slides to the icon of "resource name 2" and performs a pressing operation on the icon of "resource name 2" until the icon of "resource name 2" is in a floating state. After that, the long press operation on the icon of "resource name 2" is switched to a drag operation on the icon of "resource name 2", thereby controlling the icon of "resource name 2" to move on the map accompanying the execution of the drag operation.

[0081] The above method of controlling the movement of a target virtual resource icon on a map can quickly and easily realize the movement operation of the target virtual resource icon on the map through uninterrupted continuous operations, thereby improving the human-computer interaction experience.

[0082] In some embodiments, the terminal can further control the target virtual resource icon to move on the map in the following manner: the terminal displays at least one virtual resource icon in a movable state in response to a position marking command for a virtual resource in the virtual scene, and accordingly generates an icon copy in a movable state corresponding to the target virtual resource icon in response to a drag operation on a target virtual resource icon among the at least one virtual resource icon in the movable state, and controls the icon copy in the movable state to move on the map accompanying the execution of the drag operation.

[0083] In practical implementation, when the virtual resource icon is in a movable state, an icon copy of the virtual resource icon can be further created, so that the icon copy can be controlled to move on the map in response to a drag operation on the icon copy. In this way, it is possible to ensure that the position of the original virtual resource icon is not vacant, and to ensure the beauty of displaying the virtual resource icon.

[0084] In some embodiments, the terminal can display the real-time location of the target resource icon in the following manner: In the process of controlling the target virtual resource icon to move on the map accompanying the execution of the drag operation, the terminal obtains the real-time location of the target virtual resource icon, and synchronously displays a local magnification interface including the real-time location.

[0085] In actual implementation, when the terminal controls the target virtual resource icon to move on the map, the real-time location of the target virtual resource icon on the map can be displayed in real time, without needing to change the map proportion or manually drag and drop the map to move it, so that the local enlarged interface including the real-time location of the target virtual resource can be synchronously displayed on the map.

[0086] For example, refer to Fig. 11, which is a schematic diagram of a local magnification interface provided by an embodiment of the present application. In the figure, the terminal controls the target resource icon (indicated by reference number 1 in the figure) to move on the map in response to a drag operation on the target resource icon, and simultaneously determines the real-time position of the target resource on the map. Therefore, in the interface of the virtual scene, a local magnification interface (indicated by reference number 2 in the figure) including the real-time position can be displayed, and the position where the current target resource icon is located and the surrounding situation of the position can be clearly displayed in the local magnification interface indicated by reference number 2.

[0087] The above method of displaying the real-time location of the target resource icon through the local magnification interface accurately displays the real-time location of the virtual resource icon when the map is not moved and the map scale is not changed, i.e., when the map proportion is the smallest, so that the user does not need to independently change the map proportion or manually drag and drop the map to move it, thereby improving the human-computer interaction experience.

[0088] In some embodiments, the terminal can display the local magnification interface in the following manner: The terminal displays a target area in an interface of a virtual scene, and synchronously displays a local magnification interface including a real-time position in the target area.

[0089] In practical implementation, the terminal can adopt a fixed manner to synchronously display the local magnification interface including the real-time position. The terminal provides a display format setting interface for the local magnification interface, and provides at least two display format options, such as follow-up and fixed, and can display the fixed local magnification interface in the interface of the virtual scene in response to the selection operation for the fixed option. That is, display the local magnification interface including the real-time position where the target virtual icon is located in an appropriate area in the virtual scene interface. It is necessary to explain that the shape of the target area can be a rectangle, a circle, etc., and the target area is movable, that is, the position of the target area can be moved according to the actual needs of the user.

[0090] For example, refer to Fig. 12, which is a schematic diagram of a fixed local magnification interface provided by an embodiment of the present application. In the figure, in response to a drag operation on a target virtual resource icon indicated by reference numeral 1, a terminal synchronously displays a local magnification interface of a real-time position where the target virtual icon is located within a target area (circular area) indicated by reference numeral 2.

[0091] In some embodiments, the terminal can further display the local magnification interface in the following manner: The terminal synchronously displays an associated floating layer associated with the target virtual resource icon, and displays a local magnification interface including a real-time position in the associated floating layer.

[0092] In practical implementation, the terminal can adopt a tracking manner to synchronously display a local magnification interface including a real-time position. The terminal provides a display format setting interface for the local magnification interface, and provides at least two display format options, for example, tracking and fixed, and can display the tracking local magnification interface in the interface of the virtual scene in response to a selection operation for the tracking option.

[0093] Illustratively, referring to Fig. 11, the local magnification interface indicated by reference numeral 2 in the figure is of a follow-up type. That is, when the terminal controls the virtual resource icon corresponding to "resource name 2" to move on the map, the terminal synchronously displays an associated floating layer associated with the virtual resource icon corresponding to "resource name 2". The associated floating layer can move with the movement of the virtual resource icon corresponding to "resource name 2", and displays a local magnification interface including the real-time position where the virtual resource icon corresponding to "resource name 2" is located in the associated floating layer in real time.

[0094] In step 104, in response to a release command for the drag operation, the target virtual resource icon is marked on the map at the location where the target virtual resource icon currently resides.

[0095] In actual implementation, when the terminal controls the target virtual resource icon to move on the map, it marks the target virtual resource icon in response to a release command for the drag operation, i.e., at the position where the target virtual resource icon is currently located. At this time, such a marking mode can be understood as a single-point marking mode, i.e., the marking operation on the target virtual resource icon marks only one position each time.

[0096] In some embodiments, the terminal may be triggered to enter a multi-point marking mode for a target virtual resource icon by a number of different methods. For example, the terminal displays a multi-point marking mode switch in an interface of a virtual scene. In response to a trigger operation on the multi-point marking mode switch, the terminal enters the multi-point marking mode for the target virtual resource icon. That is, when the multi-point marking mode switch is opened, the terminal enters the multi-point marking mode, and when the multi-point marking mode switch is closed, the terminal is in the single-point marking mode. Furthermore, the terminal controls to enter the multi-point marking mode for the target virtual resource icon in response to a first trigger operation on a target virtual resource icon of the at least one virtual resource icon.

[0097] In practical implementation, the terminal can further turn on a multi-point marking mode for the target virtual resource icon. In the multi-point marking mode, the marking operation for the target resource icon can be performed multiple times in succession. The terminal can be controlled to enter the multi-point marking mode for the target virtual resource icon in response to a trigger operation (such as a double tap) for the target resource icon.

[0098] Therefore, in some embodiments, the terminal can mark a target virtual resource icon on the map in the following manner: In a multi-point marking mode, the terminal controls the target virtual resource icon to be in a cursor-following state: in response to a tap operation on a first position on the map, the terminal marks the target virtual resource icon at a first position on the map, and after marking the target virtual resource icon at the first position, the terminal marks the target virtual resource icon at a second position when receiving a tap operation on a second position on the map.

[0099] In actual implementation, in the multi-point marking mode, the terminal controls the target virtual resource icon to move with the cursor, and marks the target virtual resource icon at position A in response to a tap operation on position A on the map, and then marks the target virtual resource icon at position B when the target virtual resource icon continues to move with the cursor and responds to a tap operation on position B on the map.

[0100] For example, refer to Fig. 13, which is a schematic diagram of a multi-point marking mode provided by an embodiment of the present application. In response to a double tap operation on a resource icon of "resource name 2", the terminal controls to perform a multi-point marking mode and marks the resource icon at a position indicated by reference numeral 1. Then, the terminal continues to perform a drag operation on the resource icon and marks the resource icon again at a position indicated by reference numeral 2. Finally, the terminal marks the resource icon for the third time at a position indicated by reference numeral 3. That is, in the multi-point marking mode, the resource icon of "resource name 2" is marked three times in succession.

[0101] Through the above manner of turning on the multi-point marking mode, multi-point marking is performed on the target virtual resource icon, that is, the user can realize multiple consecutive markings on the target virtual resource icon through one trigger on the target virtual resource icon, which can effectively improve the efficiency of marking on the resource icon, reduce the number of operations, and enhance the human-computer interaction experience.

[0102] In some embodiments, the terminal can be controlled to exit the multi-point marking mode in the following manner: the terminal switches the display style of the target virtual resource icon from a first display style to a second display style, and the terminal controls to exit the multi-point marking mode and switches the display style of the target virtual resource icon from the second display style to the first display style in response to a second trigger operation on the target virtual resource icon after marking the target virtual resource icon at a second position.

[0103] In actual implementation, the terminal can control the terminal to exit the multi-point marking mode for the target virtual resource icon by responding to another trigger operation for the target virtual resource icon again, and change the display style of the target resource icon, where the first display style is the style of the target resource icon when entering the multi-point marking mode, and the second display style is the style of the target resource icon when exiting the multi-point marking mode (normal marking mode or single-point marking mode).

[0104] Exemplarily, as shown in FIG. 13, in the process of a drag operation on a target resource icon in the figure (indicated by reference numeral 4 in the figure), when the target resource icon in the icon wheel receives a tap operation again, the multi-point marking mode for the target resource icon is terminated and the display style of the target resource icon is returned to the first display style.

[0105] The above method of exiting the multi-point marking mode can flexibly control the on-off of the multi-point marking mode and improve the marking efficiency.

[0106] In some embodiments, the terminal can realize multi-point marking for the target resource icon in the following manner: The terminal displays a drag trajectory corresponding to the drag operation in the virtual scene; when the corresponding graphic of the drag trajectory on the map is a closed graphic, the area corresponding to the closed graphic is the multi-point marking area; thus, in response to a release command for the drag operation, the terminal marks the target virtual resource icon at each markable resource position in the non-marking state within the multi-point marking area respectively.

[0107] Here, in practical application, there are multiple markable resource positions on a map. The terminal can give a markable indication to each of the markable resource positions, so that the user can know that the position is a markable resource position. Of course, the terminal can indicate the unmarkable resource positions marked by the user, so that the user can grasp the overall situation of the markable resource positions and the unmarkable resource positions on the map. In order to realize rapid marking of multiple markable resource positions, a closed graphics drawing manner is used, in which the user drags a target resource icon to draw a drag trajectory, which is a closed graphics, on the map, thereby realizing selection of multiple markable resource positions. Therefore, rapid marking of resource icons can be realized, and the efficiency of marking of resource icons can be improved.

[0108] When actually implemented, in a multi-point marking mode for a target resource icon, the terminal can further select a multi-point marking area according to a drag operation on the target resource icon, and simultaneously mark at least one target virtual resource icon in the multi-point marking area after receiving a release command for the drag operation.

[0109] Illustratively, refer to FIG. 14, which is a schematic diagram of a multi-point marking area provided by an embodiment of the present application. In the figure, in response to a drag operation on a target resource icon shown by reference number 1, the terminal displays a drag trajectory (shown by reference number 2 in the figure) corresponding to the drag operation. Here, the drag trajectory can form a closed graphic, and within the closed graphic, each resource position on the map in a non-marking state is obtained. The terminal receives a release command for the drag operation and marks the four target virtual icons shown in the figure.

[0110] The above method of determining the multi-point marking area under the multi-point marking mode can greatly reduce the operation steps during multi-point marking and improve the marking efficiency.

[0111] By applying the embodiment of the present application, the target virtual resource icon is controlled to move on the map by different trigger operations under different display conditions for the target virtual resource icon. During the moving process, a local magnification interface including the real-time position of the target virtual resource icon is synchronously displayed, and the target virtual resource icon is marked on the map in response to a release command for the drag operation. In this way, in the situation where the proportion and position of the map do not need to be changed, the combination of quick drag and drop and local magnification allows quick and accurate marking on the map, and at the same time avoids the situation of erroneous touching.

[0112] The following describes an exemplary application of the embodiments of the present application in one practical application scenario.

[0113] In the related art, as shown in Figure 15, Figure 15 is a schematic diagram of map marking provided by the related art. In the figure, in a virtual scene corresponding to an open world, a player taps a position on the map to trigger a marking pop-up window for marking, but the position marking method often has the following problems:

[0114] Too many taps. Marking a location on the map requires multiple taps, and repeating the marking requires more taps. At the same time, the marking points may be scattered in different locations on the map, so players need to constantly adjust the map to mark a fixed point.

[0115] Inability to mark accurately. When players need to mark at different locations on a large world map, if the map is reduced in size, it is difficult to control the marking to be at the exact location for players who need precise marking.

[0116] It is easy to cause players to touch other places by mistake. In most games, there are relatively many transfer points and task points, so when players try to tap and mark places close to these points, it is easy for players to touch them by mistake, which affects the player's operation experience and requires players to frequently change the map position to mark after expanding the map.

[0117] When a player needs to mark different locations on a large world map, shrinking the map makes it difficult to mark the exact location, while enlarging the map requires the player to constantly drag and drop the map to change the location, which increases the player's operations.

[0118] Based on this, the embodiment of the present application provides a method for marking a position in a virtual scene. The method first tries to reduce the tapping operation of the player by only using the drag-and-drop method, and at the same time can avoid the situation of tapping erroneously, so that the player can complete the marking process without interruption. At the same time, the method increases the magnifying glass effect on a large map, so that the player can accurately mark one relatively large map area without moving the map, even in the situation where the proportion of the map is relatively small.

[0119] Next, a location marking method provided by the embodiment of the present application will be described from the product side. In some embodiments, as shown in FIG. 16, FIG. 16 is a flowchart of a location marking operation for a virtual resource provided by the embodiment of the present application. A player presses and holds or taps a marking button (shown by reference number 1 in the figure) on a map to trigger a location marking command. In response to the location marking command, the terminal displays a marking classification list (also called a resource icon list) shown by reference number 2 in the figure. Next, the player drags and drops the marking button to the called marking classification list to select one marking, or taps the called list and then drags and drops a marking (a target marking shown by reference number 3 in the figure) in the list. The player moves the target marking to a specific location on the map, and the magnifying glass (shown by reference number 4 in the figure) follows. Finally, the player drags and drops the target marking to the target position on the map, releases his / her finger to release the drag-and-drop operation on the target marking, and displays the target marking at the target position, completing one marking process for the resource.

[0120] The marking operation process shown in the embodiment of the present application is, on the one hand, quick and easy to operate, and can complete marking of any position on the entire large world map by simply dragging and dropping. On the other hand, it avoids the situation of erroneous touching of task points due to marking on the map. Currently, most games have relatively many transfer points and task points, so when tapping on a point close to these points to mark, it is easy to cause the player to erroneously touch, which affects the player's operation experience. In addition, it is possible to accurately mark without moving the map, that is, under the situation where the proportion of the large world map is the smallest. When using, the player can directly and accurately mark on the complete large map, and does not need to independently change the proportion of the map or manually drag and drop the map to move it. That is, the above marking step allows quick and accurate marking on the map by combining quick drag and drop and a magnifying glass in a situation where the proportion and position of the map do not need to be changed, and at the same time avoids the situation of erroneous touching.

[0121] Next, the editing operation process for the marking name provided by the embodiment of the present application will be described. Refer to FIG. 17, which is a flowchart of the editing operation for the marking name provided by the embodiment of the present application. The player presses and holds the marking button on the large map to generate an editing command for the marking name. After receiving the editing command, the terminal presents an editing interface for the marking name (shown by reference number 1 in the figure) in the interface with the map. The player renames the selected marking name in the editing interface, and after tapping the confirm button, the modified marking name is displayed in the marking classification list.

[0122] Next, the position marking method provided by the embodiment of the present application will be described from the technical side. Referring to FIG. 18, FIG. 18 is a flow chart of the position marking method provided by the embodiment of the present application. The process is as follows: The terminal executes step 201 of receiving a trigger operation on a marking button by a player, executes step 202 of determining whether the trigger operation is a long press operation, and executes step 203a of displaying a marking classification selection list when the trigger operation is a long press operation. At this time, each marking item in the list cannot be tapped and cannot be renamed. When the trigger operation is a tap operation, executes step 203b of displaying a marking classification list, and at this time, each marking item in the list can be tapped and can be renamed. When the terminal receives a trigger operation on a target marking in the marking classification selection list by a player, executes step 204a of determining whether the trigger operation is a long press operation, and executes step 205a of the player dragging the target marking to any one point on the map when it is determined to be a long press operation. During the drag process, the terminal executes step 206a to determine whether the user's finger is lifted from the screen, i.e., whether a release command for the drag operation is received. After receiving the release command, the terminal executes step 207a to complete the marking. That is, the target marking is marked at the target position on the map, and when the terminal does not receive the release command, the player continues to execute step 205a. The player can also execute step 204b to select the target marking by tapping or long pressing the marking list. The terminal determines whether the operation performed by the player is a long press operation or a tap operation, and if it is a long press operation, it can execute step 205a, and if it is a tap operation, the player can continue to execute step 205b to rename the target marking, i.e., perform a rename operation on the target marking according to the operation process shown in FIG. 16.

[0123] The application of the embodiment of the present application has the following effects.

[0124] 1. Easy to operate. Quickly drag and drop to mark, no need to tap repeatedly.

[0125] 2. Avoid mistouching of marking and improve player experience. Completely avoid the mistouching situation caused by the tap position being too close to the transfer point, and improve the player's marking experience. At the same time, it avoids the extra operation of tapping the map to pop up the marking window and then closing it again.

[0126] 3. It has both the largest map and accurate marking, and can reduce the operation of the player. It can perform the most accurate marking in the situation where the map of the largest area is displayed, and it reduces the operation of moving and shrinking the map by the player.

[0127] 4. The learning cost is relatively low. The drag-and-drop method allows players to get started and learn quickly.

[0128] As can be understood, in the embodiments of the present application, with respect to relevant data such as user information, user permission or consent must be obtained when the embodiments of the present application are implemented in a product or technology, and the collection, use, and processing of the relevant data must comply with the relevant laws, regulations, and standards of the relevant countries or regions.

[0129] The following continues to describe an exemplary structure implemented as a software module of the position marking device in a virtual scene 555 provided by the embodiment of the present application. In some embodiments, as shown in FIG. 2, the software modules in the position marking device in a virtual scene 555 stored in the memory 550 may include a display module 5551, a control module 5552, and a marking module 5553; a display module 5551 configured to display a map of the virtual scene; The display module 5551 is further configured to display at least one virtual resource icon in response to a position marking instruction for a virtual resource in the virtual scene; The control module 5552 is configured to, in response to a drag operation on a target virtual resource icon of the at least one virtual resource icon, control the target virtual resource icon to move on the map in association with the execution of the drag operation; The marking module 5553 is configured to, in response to a release command for the drag operation, mark the target virtual resource icon at a location on the map where the target virtual resource icon currently resides.

[0130] In some embodiments, the display module is further configured to display a position marking function item in an interface of the virtual scene, and to receive a position marking instruction for a virtual resource in the virtual scene in response to a first trigger operation for the position marking function item.

[0131] In some embodiments, the display module is further configured to receive a graphics drawing operation triggered based on an interface of the virtual scene, and receive a position marking instruction for a virtual resource in the virtual scene when graphics drawn by the graphics drawing operation match pre-set graphics.

[0132] In some embodiments, the display module is further configured to obtain an icon display length of the virtual resource icon and a name display length of a resource name of the virtual resource indicated by the virtual resource icon, and when the sum of the icon display length and the name length does not reach a length threshold, display the resource name of the virtual resource indicated by the virtual resource icon in the process of displaying the virtual resource icon.

[0133] In some embodiments, the display module is further configured to: hide the resource name of the corresponding virtual resource in the process of displaying the virtual resource icon when the sum of the icon display length and the name display length reaches a width threshold; and adopt the form of a floating layer to display the resource name of the virtual resource indicated by the virtual resource icon when the virtual resource icon is in a selected state.

[0134] In some embodiments, the display module is further configured to: in response to a trigger operation on the virtual resource icon, control the resource name of the virtual resource indicated by the virtual resource icon to be made editable, and in response to an editing operation on the resource name in the editable state, display the edited resource name.

[0135] In some embodiments, the control module is further configured to, in response to a drag operation on a target virtual resource icon of the at least one virtual resource icon in the floating state, control the target virtual resource icon in the floating state to move on the map accompanying the execution of the drag operation.Accordingly, the control module is further configured to, in response to a pressing operation on a target virtual resource icon of the at least one virtual resource icon, obtain operation parameters of the pressing operation, the operation parameters including at least one of an operation time and a pressure magnitude, and control the target virtual resource icon to be in a floating state when the operation time reaches a time threshold or the pressure magnitude reaches a pressure threshold.

[0136] In some embodiments, the display module is further configured to display at least one virtual resource icon in a movable state in response to a position marking command for a virtual resource in the virtual scene; Accordingly, in some embodiments, the control module is further configured to, in response to a drag operation on a target virtual resource icon among the at least one virtual resource icon in a movable state, generate an icon copy in a movable state corresponding to the target virtual resource icon, and control the icon copy in the movable state to move on the map in conjunction with the execution of the drag operation.

[0137] In some embodiments, the display module is further configured to display presentation information in response to a trigger operation on a disabled virtual resource icon when a disabled virtual resource icon exists among the at least one virtual resource icon, wherein the presentation information is used to present that a marking quantity for a virtual resource corresponding to the disabled virtual resource icon has reached a quantity threshold.

[0138] In some embodiments, the display module is further configured to obtain a real-time position of the target virtual resource icon and synchronously display a local magnification interface including the real-time position during the process of controlling the target virtual resource icon to move on the map in conjunction with the execution of the drag operation.

[0139] In some embodiments, the marking module is further configured to display a target area in an interface of the virtual scene, and synchronously display a local magnification interface including the real-time position in the target area.

[0140] In some embodiments, the marking module is further configured to synchronously display an associated floating layer associated with the target virtual resource icon, and display a local magnification interface including the real-time location within the associated floating layer.

[0141] In some embodiments, the display module is further configured to display an icon floating layer in the interface in response to a position marking command for a virtual resource in the virtual scene, and to display at least one virtual resource icon in the icon floating layer adopting a target display style, where the target display style includes at least one of a list display style and a wheel style.

[0142] In some embodiments, the control module is further configured to control, in response to a first trigger operation on a target virtual resource icon of the at least one virtual resource icon, to enter a multi-point marking mode on the target virtual resource icon; Accordingly, in some embodiments, the marking module is further configured to control the target virtual resource icon to be in a cursor following state in the multi-point marking mode, and to mark the target virtual resource icon at a first position on the map in response to a tap operation at a first position on the map, and after marking the target virtual resource icon at the first position, mark the target virtual resource icon at the second position when receiving a tap operation at a second position on the map.

[0143] In some embodiments, the control module is further configured to switch a display style of the target virtual resource icon from a first display style to a second display style. Accordingly, the control module is further configured to control to exit the multi-point marking mode and switch a display style of the target virtual resource icon from the second display style to the first display style in response to a second trigger operation on the target virtual resource icon.

[0144] In some embodiments, the control module is further configured to display a drag trajectory corresponding to the drag operation in the virtual scene, and when a corresponding graphic on the map of the drag trajectory is a closed graphic, an area corresponding to the closed graphic is a multi-point marking area. Accordingly, the marking module is further configured to mark the target virtual resource icon at each markable resource position in a non-marking state within the multi-point marking area in response to a release command for the drag operation, respectively.

[0145] According to the application of the embodiment of the present application, the target virtual resource icon displayed in the virtual scene is controlled to move on the map by a drag operation on the target virtual resource icon, and the marking process on the target virtual resource icon is completed after receiving a release command for the drag operation. In this way, in a situation where the proportion and position of the map do not need to be changed, the virtual resource icon can be quickly and accurately marked by dragging, which reduces the number of human-computer interactions and improves the marking efficiency of the virtual resource icon on the map, and at the same time, avoids erroneous touching, and improves the operation control efficiency of the virtual scene.

[0146] An embodiment of the present application provides a computer program product or a computer program, the computer program product or the computer program including computer instructions, the computer instructions being stored in a computer-readable storage medium, a processor of a computing device reading the computer instructions from the computer-readable storage medium, and the processor executing the computer instructions, thereby causing the computing device to perform the method for marking a position in a virtual scene according to the embodiment of the present application.

[0147] An embodiment of the present application provides a computer-readable storage medium on which executable instructions are stored, and when the executable instructions are stored and executed by a processor, the processor performs a method for marking a position in a virtual scene provided by an embodiment of the present application, for example, the method for marking a position in a virtual scene shown in FIG. 3.

[0148] In some embodiments, the computer-readable storage medium may be a memory such as Read-Only Memory (ROM), Random Access Memory (RAM), Erasable Programmable Read-Only Memory (EPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Flash memory, magnetic surface memory, optical disk, or CD-ROM, or may be any type of device including one or any combination of the above memories.

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

[0150] As an example, the executable instructions may, but do not necessarily, correspond to a file in a file system and may be stored as part of a file that stores other programs or data, for example in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program under consideration, or in multiple cooperating files (e.g., files that store one or more modules, subprograms, or code portions).

[0151] As an example, the executable instructions may be deployed to be executed on one computing device, or on multiple computing devices located at one location, and / or on multiple computing devices distributed across multiple locations and connected together via a communications network.

[0152] As described above, the embodiment of the present application enables quick and accurate marking on a map by combining quick drag-and-drop and local zooming in a situation where the proportion and position of the map in the virtual scene are not changed, while at the same time avoiding accidental touch situations.

[0153] The above is merely an embodiment of the present application and is not used 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. [Explanation of symbols]

[0154] 200 Servers 300 Network 400-1 Terminal 400-2 Terminal 410-1 Graphics Interface 410-2 Graphics Interface 500 Electronic equipment 510 Processor 520 Network Interface 530 User Interface 531 Output Device 532 Input Device 540 Bus System 550 Memory 551 Operating Systems 552 Network Communication Module 553 Presentation Module 554 Input Processing Module 555 Position Marking Device

Claims

1. 1. A method for marking a location in a virtual scene, performed by an electronic device, the method comprising: displaying a map of the virtual scene; displaying at least one virtual resource icon in response to a location marking command for a virtual resource in the virtual scene; In response to a drag operation on a target virtual resource icon of the at least one virtual resource icon, controlling the target virtual resource icon to move on the map in association with execution of the drag operation; in response to a release command for the drag operation, marking the target virtual resource icon at a location on the map where the target virtual resource icon currently resides.

2. Prior to the step of displaying at least one virtual resource icon in response to a position marking instruction for a virtual resource in the virtual scene, the method further comprises: displaying a position marking function item in the virtual scene interface; The method of claim 1 , further comprising the step of: receiving a location marking instruction for a virtual resource in the virtual scene in response to a first trigger operation for the location marking feature.

3. prior to the step of displaying at least one virtual resource icon in response to a position marking command for a virtual resource in the virtual scene; receiving a graphics drawing operation triggered based on an interface of the virtual scene; and receiving a position marking instruction for a virtual resource in the virtual scene when the graphics drawn by the graphics drawing operation match a preset graphic.

4. The method comprises: obtaining an icon display length of the virtual resource icon and a name display length of a resource name of the virtual resource indicated by the virtual resource icon; The method of claim 1 , further comprising, in the process of displaying the virtual resource icon, a step of displaying a resource name of the virtual resource indicated by the virtual resource icon when the sum of the icon display length and the name length does not reach a length threshold.

5. The method comprises: When the sum of the icon display length and the name display length reaches a width threshold, in the process of displaying the virtual resource icon, the resource name of the corresponding virtual resource is not displayed; and 5. The method according to claim 4, further comprising the step of: displaying, when the virtual resource icon is in a selected state, a resource name of the virtual resource indicated by the virtual resource icon in the form of a floating layer.

6. After the step of displaying a resource name of the virtual resource indicated by the virtual resource icon, the method further comprises: a step of controlling in response to a trigger operation on the virtual resource icon so that a resource name of the virtual resource indicated by the virtual resource icon is made editable; 5. The method according to claim 4, further comprising the step of: displaying the edited resource name in response to an editing operation on the resource name in the editable state.

7. The step of controlling, in response to a drag operation on a target virtual resource icon of the at least one virtual resource icon, so that the target virtual resource icon moves on the map in association with the execution of the drag operation, includes: in response to a drag operation on a target virtual resource icon in a floating state among the at least one virtual resource icon, controlling the target virtual resource icon in the floating state to move on the map in association with the execution of the drag operation; Before controlling the target virtual resource icon to accompany the execution of the drag operation, the method further comprises: acquiring operation parameters of a pressing operation in response to a pressing operation on a target virtual resource icon of the at least one virtual resource icon, the operation parameters including at least one of an operation time and a pressure magnitude; The method of claim 1 , further comprising: controlling the target virtual resource icon to be in a floating state when the manipulation time reaches a time threshold or the pressure magnitude reaches a pressure threshold.

8. displaying at least one virtual resource icon in response to a position marking command for a virtual resource in the virtual scene, displaying at least one virtual resource icon in a moveable state in response to a position marking command for a virtual resource in the virtual scene; The step of controlling, in response to a drag operation on a target virtual resource icon of the at least one virtual resource icon, so that the target virtual resource icon moves on the map in association with the execution of the drag operation, includes: generating an icon copy in a movable state corresponding to a target virtual resource icon in response to a drag operation on the target virtual resource icon of the at least one virtual resource icon in a movable state; The method according to claim 1 , further comprising the step of: controlling the icon copy in a movable state to move on the map in association with the execution of the drag operation.

9. The method comprises: When a virtual resource icon in a disabled state exists among the at least one virtual resource icon, The method further includes the step of displaying presentation information in response to a trigger operation on the virtual resource icon in a disabled state; The method according to claim 1 , wherein the presentation information is used to present that a marking quantity for a virtual resource corresponding to the virtual resource icon in a prohibited state has reached a quantity threshold.

10. The method comprises: obtaining a real-time position of the target virtual resource icon in the process of controlling the target virtual resource icon to move on the map in association with the execution of the drag operation; The method of claim 1 , further comprising: synchronously displaying a local magnification interface including the real-time location.

11. The step of synchronously displaying a local magnification interface including the real-time position includes: displaying a target area in an interface of the virtual scene; and synchronously displaying a local magnification interface including the real-time location in the target area.

12. The step of synchronously displaying a local magnification interface including the real-time position includes: The method of claim 10 , further comprising: synchronously displaying an associated floating layer associated with the target virtual resource icon, and displaying a local magnification interface including the real-time location within the associated floating layer.

13. displaying at least one virtual resource icon in response to a position marking command for a virtual resource in the virtual scene, In response to a position marking command for a virtual resource in the virtual scene, displaying an icon floating layer in the interface, and displaying at least one virtual resource icon in the icon floating layer by adopting a target display style; The method of claim 1 , wherein the target display style includes at least one of a list display style and a wheel style.

14. After the step of displaying at least one virtual resource icon, the method further comprises: The method further includes controlling, in response to a first trigger operation on a target virtual resource icon of the at least one virtual resource icon, to enter a multi-point marking mode on the target virtual resource icon; After the step of marking the target virtual resource icon on the map at its current location, the method further comprises: Controlling the target virtual resource icon to follow a cursor in the multi-point marking mode; marking the target virtual resource icon at the first location on the map in response to a tap operation on the first location on the map; and 2. The method of claim 1, further comprising: after marking the target virtual resource icon at the first location, when receiving a tap operation to a second location on the map, marking the target virtual resource icon at the second location.

15. After the step of controlling to enter a multi-point marking mode for the target virtual resource icon, the method further comprises: further comprising switching a display style of the target virtual resource icon from a first display style to a second display style; After the step of marking the target virtual resource icon at the second location, the method further comprises: In response to a second trigger operation on the target virtual resource icon, control to terminate the multi-point marking mode; and The method of claim 14 , further comprising: switching a display style of the target virtual resource icon from a second display style to a first display style.

16. Prior to the step of marking the target virtual resource icon, the method further comprises: displaying a drag trajectory corresponding to the drag operation in the virtual scene; and when the corresponding graphic on the map of the drag trajectory is a closed graphic, setting an area corresponding to the closed graphic as a multipoint marking area; said step of marking said target virtual resource icon at a current location of said target virtual resource icon on said map in response to a release command for said drag operation comprising:

2. The method of claim 1, further comprising the step of marking the target virtual resource icon at each markable resource location in a non-marking state within the multi-point marking area in response to a release command for the drag operation.

17. 1. A device for marking a position in a virtual scene, the device including: a display module; a control module; and a marking module; the display module is configured to display a map of the virtual scene; The display module is further configured to display at least one virtual resource icon in response to a position marking command for a virtual resource in the virtual scene; the control module is configured to, in response to a drag operation on a target virtual resource icon of the at least one virtual resource icon, control the target virtual resource icon to move on the map in association with execution of the drag operation; The marking module is configured to, in response to a release command for the drag operation, mark the target virtual resource icon at a position on the map where the target virtual resource icon currently resides.

18. An electronic device, comprising: a memory configured to store executable instructions; A processor configured to implement the method for position marking in a virtual scene according to any one of claims 1 to 16 when executing executable instructions stored in the memory.

19. 17. A computer readable storage medium having executable instructions stored thereon, the executable instructions, when executed by a processor, implementing the method for position marking in a virtual scene according to any one of claims 1 to 16.

20. A computer program product comprising a computer program or instructions which, when executed by a processor, realises the method for position marking in a virtual scene according to any one of claims 1 to 16.

Citation Information

Patent Citations

  • Virtual object marking method and device in three-dimensional virtual scene, and storage medium

    CN110738738A

  • Data processing method, device and equipment based on virtual scene, and storage medium

    CN111506323A

  • Method and device for displaying prop resources in virtual scene

    CN112711458A

  • Virtual resource acquisition method, computer readable storage medium and electronic equipment

    CN113171605A

  • System and method for consumption based tagging of resources

    US10642698B1