Method and Apparatus for Controlling Virtual Object to Mark Virtual Item and Medium
Patent Information
- Application Number
- SA521430633
- Authority / Receiving Office
- SA · SA
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-10-18
- Publication Date
- 2024-05-22
- Estimated Expiration
- 2040-06-19
AI Technical Summary
Existing methods for marking virtual items in virtual environments are cumbersome and inefficient, requiring complex user interactions such as aiming and manual button presses, leading to delayed information transmission and missed opportunities for team members to acquire valuable items.
A method and apparatus that simplifies the process by allowing users to highlight virtual items using a pick-up item list, enabling a different operation like a long press or slide to mark the item, which automatically sends information to teammates, reducing the complexity and enhancing teamwork.
Simplifies the operation of marking virtual items by allowing users to highlight and transmit item information more efficiently, ensuring teammates receive timely updates on available items, thereby improving team coordination and item acquisition.
Abstract
Description
<h2 style=";text-align:left;direction:ltr">Full description<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Background of the invention<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> This application relates to the field of computers, and in particular, to a method and apparatus for controlling a virtual object to distinguish a virtual item, a peripheral, a device, and a medium.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In a 3D virtual reality application, a battle royale shooter, a user can control a virtual object in the virtual environment to perform actions such as walking, running, shooting, fighting, and driving, and a group of users can form a team over the internet to cooperatively complete a mission in the same virtual environment.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The user can control the virtual object to mark virtual materials scattered in the virtual environment, and provide material names and virtual locations of virtual materials to colleagues through the marking process.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In the related art, to mark a virtual item, the user first needs to control the payment age for the payment on the virtual item, and then a button to mark the virtual item is displayed on the user interface (UI).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">By clicking / tap-ing the button, the user can complete the recognition process, and notify team members that the virtual item is in the designated location.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In the process of operating to mark the virtual item, it is not easy for the user to control the payment age for the payment on the virtual item, and the steps are relatively complicated, which results in the virtual item marking process not being completed quickly.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> A document titled "How to mark materials to stimulate the battlefield? Tell your teammates the name of the material found" describes a scheme for finding materials and marking the location and name of materials on the exciting battlefield.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> General description of the invention<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Embodiments of this application provide a method and apparatus for controlling a virtual object to identify a virtual item, a peripheral, a device, and a medium, which can simplify the operating steps for identifying a virtual item. The technical solutions are as follows:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">According to one aspect of this application, a method is provided for controlling a virtual object to distinguish a virtual item, applicable to a terminal, the method comprising:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Display an image of a virtual environment, the image of the virtual environment includes the virtual object and the virtual item in a virtual environment;<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Controlling the virtual object to move, in the virtual environment, within a close range of the virtual item;<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Display pick-up item list on the virtual environment image, the default item field available for pick display in the pick-up item list; and<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Receive a discrimination operation in the virtual item field, and mark the virtual item in the virtual environment according to the discrimination operation, so that the discrimination operation is a different operation from the selection operation.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> According to another aspect of this application, a device is provided for controlling a virtual object to distinguish a virtual item, comprising:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">A display module, configured to display an image of a virtual environment, the image of the virtual environment including a virtual object and a virtual item in a virtual environment;<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> A control module, configured to control a virtual object to move, in the virtual environment, within close range of the virtual item;<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> such that the display unit is also configured to display a pick-up item list on the virtual environment image, the virtual item field available for pick-up display in the pick-up item list; and<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> A receiving module, configured to: receive a discrimination operation in the virtual item field, and to distinguish the virtual item in the virtual environment according to the discrimination operation, such that the discrimination operation is a different operation from the selection operation.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">According to another aspect of this application, a peripheral unit is provided, including a processor and a memory, wherein the memory stores at least one instruction, at least one program, a set of codes, or a set of instructions, wherein the at least one instruction, at least one program, a set of codes, or a set of instructions is loaded and executed by the processor to implement a method for controlling a virtual object to identify a virtual item according to the foregoing aspect.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> According to another aspect of this application, a computer is provided, including a processor and a memory, wherein the memory stores at least one instruction, at least one program, a set of codes, or a set of instructions, wherein the at least one instruction, at least one program, a set of codes, or a set of instructions is loaded and executed by the processor to implement a method for controlling a virtual object to distinguish a virtual item according to the foregoing aspect.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">According to another aspect of this application, a computer-readable storage medium is provided, storing at least one instruction, at least one program, a code set, or a set of instructions, wherein the at least one instruction, at least one program, a code set, or a set of instructions is loaded and executed by a processor to implement a method of controlling a virtual object to identify a virtual item according to the foregoing aspect.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> According to another aspect of this application, a computer program product, a computer program product or a computer program that includes computer instructions, wherein the computer instructions are stored in a computer-readable storage medium, a processor of the computer reads the computer instructions from the computer-readable storage medium, executes the computer instructions, and causes the computer to perform a method for controlling a virtual object to identify a virtual item provided in the foregoing optional implementations.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The technical solutions presented in these application forms achieve at least the following beneficial effects:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Based on a situation where a user controls a virtual object to pick up a virtual item in a virtual environment using a pick-up item list, a highlighting operation is added to the pick-up item list, so that the user can control, using the pick-up item list, the virtual object to highlight the virtual item in the virtual environment, and provide the virtual item name and position to colleagues in the same team, thus simplifying the operation steps for highlighting the virtual item in the virtual environment, and enabling colleagues in the same team to receive the virtual item highlighting information in a timely manner.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Brief explanation of the drawings<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> To more clearly describe the technical solutions in the forms of this application, the following briefly presents the accompanying drawings required to describe the forms. Apparently, the accompanying drawings in the following description show only some of the forms of this application, and a person of ordinary skill in the art could still derive other drawings from these accompanying drawings without creative effort.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 1 is a schematic diagram of an interface for characterizing a virtual item in the relevant art according to an exemplary embodiment of this application.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 2 is a schematic diagram of an interface for characterizing a virtual item according to an exemplary embodiment of this application.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 3 represents a frame diagram of an application medium based on a representative model of this application.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 4 represents a flowchart of a method for marking a virtual item according to a representative example of this application.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 5 is a schematic diagram of an interface for unfolding a pick-up item list according to an exemplary embodiment of this application.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 6 represents a flowchart of a method for activating a long-press operation according to a representative embodiment of this application.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 7 represents a flowchart of a long-press activation method according to a representative example of this application.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 8 is a schematic diagram of a pick-up item list interface for marking a virtual item according to a representative embodiment of this request.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 9 is a schematic diagram of an interface for receiving a recognition message according to a representative example of this application.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 10 represents a flowchart of a method for characterizing a virtual item by a sliding operation in accordance with another exemplary embodiment of this application.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 11 is a schematic diagram of a pick-up item list interface for marking a virtual item by a sliding operation according to another exemplary embodiment of this application.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 12 is a schematic diagram of a picklist interface for highlighting a virtual item by drag operation in accordance with another exemplary embodiment of this application.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 13 represents a flowchart of a method for sending and receiving identification information using a server according to a representative example of this request.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 14 represents a block diagram of a virtual object control device to identify a virtual item according to a representative embodiment of this request.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 15 is a schematic block diagram of an electronic device according to an exemplary embodiment of this application.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Detailed description:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> To make the objectives, technical solutions and advantages of this application more clear, the following describes the applications of this application in detail with reference to the accompanying drawings.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> First, the terms included in this application form are presented:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Virtual Environment: A virtual environment that is displayed (or provided) when an application is run on a terminal. The virtual environment can be a simulated environment of the real world, a semi-simulated, semi-imaginary environment, or a fully imaginary environment. A virtual environment can be a two-dimensional virtual environment, a two-dimensional virtual environment, or a three-dimensional virtual environment. This is not limited in this application. A description is made using an example in which the virtual environment is a three-dimensional virtual environment in the following embodiments.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Virtual object: A moving object in the virtual environment. A moving object can be a virtual human, a virtual animal, an animated character, or something similar, such as a human, animal, plant, oil drum, wall, stone, or something similar displayed in a 3D virtual environment. Optionally, a virtual object is a 3D model created using skeletal animation technology. Each virtual object has a shape and size in the 3D virtual environment and occupies some space in the 3D virtual environment.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Virtual Materials: Items equipped or carried by a virtual object, or some virtual material present in the virtual environment, e.g., at least one item of food, medicine, weapons, or clothing. These virtual materials are used to supplement the health of the virtual object and extend the life of the virtual object in the virtual environment, are used for the virtual object to fight in battle, or are used to protect and beautify the virtual object.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Battle Royale Game: A game in which at least two virtual objects compete in a single-round battle mode in the virtual environment. The virtual object avoids attacks from other virtual objects and hazards (e.g., a toxic gas zone, a swamp) in the virtual environment to survive in the virtual environment, and the last virtual object standing wins. Optionally, the battle begins the moment the first agent joins the battle and ends the moment the last agent leaves the battle. Each agent is configured to control one or more virtual objects in the virtual environment. Optionally, battle arena modes may include a single-player battle mode, a two-player team battle mode, or a four-player team battle mode. The battle mode is not limited in the models of this application.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In a specific example, a battle is a battle in a battle arena game. When the first client clicks "Start Game," the server receives the game start signal sent by the client and creates a round of battle according to the game start signal. Clients that click "Start Game" automatically join the client battle created by the server until the amount of virtual items in the virtual battle reaches a predetermined amount.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Pick-up item list: A list of virtual items included in the virtual environment that will be picked up by the virtual object. When the user controls the virtual object to move to the area surrounding the virtual item, the pick-up list button is pressed / clicked, displaying the pick-up item list on the virtual environment image.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The list displays the virtual materials in the virtual environment near the virtual object that are available for selection by the virtual object.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Pick operation: The operation performed when a user controls a virtual object to pick up a virtual item in the virtual environment. Through the pick operation, the user can control the virtual object to pick up a virtual item in the virtual environment, place the virtual item in a backpack of the virtual object, equip the virtual object with the picked virtual item, or have the picked virtual item carried on the virtual object.<h2 style=";text-align:left;direction:ltr">The user may make settings for automatic virtual material pick-up, i.e., when the user controls the virtual object to move to the virtual material perimeter, the virtual material is automatically picked up by the virtual object; the user may alternatively make settings for manual virtual material pick-up (including setting the quantity of virtual material to be picked up), i.e., when the user controls the virtual object to move to the virtual material perimeter, the pick-up menu button is clicked to open the pick-up item list, and the virtual material to be picked up and the quantity of it can be selected from the pick-up item list.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Selection process: The user controls a virtual object to mark a virtual item in the virtual environment, and the selected virtual item displays a distinctive mark. Relevant information about the virtual item (such as the virtual item name, attribute, type, material quantity, and position coordinates) is sent to other virtual objects in the virtual environment. These other virtual objects receive a message with relevant information about the virtual item and can quickly find the virtual item.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Long press: A press received by a virtual environment-enabled application that lasts longer than the duration of a click / tap.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Device-independent pixels (DIP or DP): Also referred to as device-independent pixels or density-independent pixels (DIP or DP), DIP is a device-independent pixel used to measure logical pixels—that is, virtual pixels—that are converted into physical pixels by a related system. Different devices have different resolutions, resulting in different display effects for the same image on different devices. Therefore, a universal pixel measurement standard is required for all devices to ensure the same physical size for the same image on different devices. The formula for calculating DIP is as follows:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> DP = PPI / 160<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In formula, pixels per inch (PPI) refers to the amount of physical pixels (or device pixels) per inch, and a higher pixel density value indicates higher image quality for the device.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The phrase "carried or equipped" is used in this application to describe virtual items owned by the virtual object. The virtual object has a backpack, and there is a mesh bag in the backpack. When the virtual object places a virtual item captured in the virtual environment into the mesh bag of the backpack, the virtual object is carrying or equipped with the virtual item. The virtual item held by the virtual object and the virtual item used for an additional appearance (for example, clothing) for the virtual object are also virtual items carried or equipped by the virtual object.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The method presented herein can be applied to a virtual reality (VR) application, a 3D mapping program, a military simulation program, a first-person shooter (FPS) game, a multiplayer online battle arena (MOBA) game, and the like. One application during a game is used as an example to describe the following embodiments.<h2 style=";text-align:left;direction:ltr">A game built on a virtual environment is usually composed of maps of one or more game worlds. The virtual environment in the game simulates real-world scenarios. A user may control a virtual object in the game to perform actions such as walking, running, jumping, picking up an item, marking an item, shooting, fighting, and driving in the virtual environment, which is characterized by relatively high interactivity. In addition, a large number of users may form an online team to play an arena game. When a large number of users form an online team to cooperatively complete a task in the same virtual environment, the virtual objects controlled by the users need to cooperate with each other. In the virtual environment, the user controls the virtual object to pick up a virtual item to supplement the materials equipped or carried by the virtual object. Alternatively, when the levels of materials equipped or carried by the virtual object are relatively low, the virtual object has a better battle state by picking a higher-level virtual item.<h2 style=";text-align:left;direction:ltr">When a user controls a virtual object to move to the virtual item's surroundings, if the virtual object doesn't need the virtual item, or if the virtual object's bag grid is full and there is no more space for the virtual item, the user controls the virtual object to highlight the virtual item and transmits a tag message (the tag message includes at least two of the following forms: virtual item name, virtual item position, virtual item attribute, virtual item type, virtual item quantity, etc.) to teammates on the same team. Therefore, team members who receive the tag message can quickly find or pick up the virtual item based on the tag message.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In the related art, a method is provided for controlling a virtual object to mark a virtual item. Figure 1 shows an interface displayed by an application when a virtual item is marked in the related art. Referring to (a) Figure 1, a virtual item 101, a virtual object 102, a sight bead 103 corresponding to the virtual object, and an information option 104 on the mark interface 10. When controlling the virtual object 102 to mark the virtual item 101 is required, the user controls the virtual object 102 to move to the vicinity of the virtual item 101, and controls the sight bead 103 corresponding to the virtual object to direct it to the virtual item 101 to be marked.<h2 style=";text-align:left;direction:ltr">For example, the virtual item 101 to be highlighted is a 2x scope (based on the game situation, the 2x scope is configured to be assembled on a gun, so that the user-controlled virtual object can see a farther target), and the information option 104 is clicked / tapped, so that the highlighting interface 10 changes to the message interface 11, as shown in (b) of Figure 1. The virtual item 101, the virtual object 102, the scope nib 103 corresponding to the virtual object, a highlighted virtual item 105 (e.g., a 2x scope), the information list 106 (including at least one of the following: information to induce danger, information to induce the presence of a specific virtual item, gathering information, assault information, rapid-speech contact information, departure information, and the like), and information 107 to induce the presence of a specific virtual item are displayed on the highlighting interface 11. A description is made using an example in which the selected virtual item 105 is a scope 2x.<h2 style=";text-align:left;direction:ltr">When the user controls the virtual object to navigate to the selected virtual item 105 (2x binoculars), information 107 is displayed to prompt for the presence of the selected virtual item (e.g., I have 2x binoculars) in the information list 106. Information 107 is automatically generated to prompt for the presence of the selected virtual item. Based on a different highlighted virtual item 101, information 107 is different to prompt for the presence of the selected virtual item. For example, when a user-controlled virtual item whose target virtual object is a first aid kit (depending on the game state, the first aid kit is used to add or supplement the health points of the virtual object in the virtual environment, prolonging the virtual object's residence time in the virtual environment), information 107 is displayed to prompt for the presence of the selected virtual item as follows: I have a first aid kit.<h2 style=";text-align:left;direction:ltr">The user clicks / tap on the information 107 to claim a specific virtual item or clicks / tap on the submit button to transmit the information 107 to claim a specific virtual item to teammates on the same team. In this case, teammates on the same team receive the information 107 to claim a specific virtual item, as shown in (c) of Figure 1. The virtual item 101, the virtual object 102, the virtual item 105 (e.g., a 2x telescope), a tag 108, and the highlighting information 109 are displayed on the message display interface 12. The highlighting information 109 is used to help teammates on the same team quickly identify the highlighted virtual item 105. The highlighting information 109 includes a teammate's nickname and the name of the highlighted virtual item 105. Other users on the same team receive the highlighting information 109.<h2 style=";text-align:left;direction:ltr">If the user needs the virtual item 105, the user can quickly find the specified virtual item 105 according to the discrimination information 109 by controlling the virtual object 102.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In the previous recognition process, the user needs to control the telescope point corresponding to the virtual object to aim it at the virtual item to be highlighted, and then manually press / click the information option or the send button to transmit information to urge the presence of a specific virtual item to teammates on the same team. In an emergency, a situation may easily occur where the user is unable to aim at the virtual item.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Additionally, information to trigger a specific virtual item must be transmitted manually via a click / tap, making the process relatively complex and the transmission of information subject to delays. This results in team members missing out on the opportunity to find or pick up the virtual item.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">This application provides a method for controlling a virtual object to highlight a virtual item. Figure 2 is a diagram of a virtual object control interface for highlighting a virtual item according to an exemplary embodiment of this application. Referring to (a) of Figure 2, a pick-up item list 110, a virtual item field 111, a collapsible option 113, a virtual item 202, and a virtual object 203 are displayed on a display interface 20. The user controls the virtual object 202 to move around in a virtual environment. When virtual object 203 is moved to the virtual item 202, the pick-up item list 110 is displayed as a virtual environment, and the field 111 for the virtual item available for pickup is displayed in the pick-up item list 110. The user can control virtual object 203 to perform a pick-up operation on virtual item 202, and the picked virtual item 202 is prepared or carried by virtual object 203.<h2 style=";text-align:left;direction:ltr">When virtual item 203 does not require use-control of the virtual item 202, the virtual item is highlighted so that team members on the same team can quickly find the virtual item. Referring to (b) of Figure 2, the pick-up item list 110, the virtual item field 111, the highlighting operation 112, the collapsible option 113, the tag 114, the virtual item 202, and the virtual object 203 are displayed on the mark interface 21. In this case, the user presses and holds the field 111 of the virtual item available for pickup in the pick-up item list 110 (for example, the virtual item available for pickup field is the field in which the 2x binoculars are located). The application receives a long press signal and displays the tagging operation 112 and the tag 114 in field 111 of the virtual item in the pick-up item list 110. The tagging operation 112 is displayed according to the duration of the long press operation.<h2 style=";text-align:left;direction:ltr">When the tagging process 112 is completed, the user-controlled virtual object 203 tags the virtual item 202. Referring to (c) of Figure 2, the pick-up item list 110, the tagging process 112, the fold option 113, the tag 114, the virtual item 202, and the virtual object 203 are displayed on the interface 22 of successful tagging. The tagging process 112 is completed (including the completion code), and the tag 114 is displayed in the pick-up item list 110. The tag 114 is used to indicate that the virtual item 202 has been flagged, the tagging process for the virtual item 202 has been completed by the user-controlled virtual object 203, and team members on the same team will receive the tag information to tag the virtual item. As shown in (d) of Figure 2, information tag 204 is displayed at the position of the virtual item. For example, information tag 204 includes: the image of the virtual item and the distance between the virtual item and the virtual item.<h2 style=";text-align:left;direction:ltr">At the same time, prompt message 205 is displayed on the virtual environment image. For example, prompt message 205 includes a prompt for a user nickname or account and a virtual item name. In one example, a user whose user nickname is AAA posts a prompt message requesting a 2x binocular at user AAA's position.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 3 is a block diagram of a computer system according to an exemplary embodiment of this application. The computer system 100 includes a primary station 120, a server 140, and a secondary station 160.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">An application program supporting a virtual environment is installed and operated on the first terminal 120. The application can be any VR application, 3D map application, military simulation software, FPS game, MOBA game, or multiplayer survival game. The first terminal 120 is a terminal used by a first user. The first user uses the first terminal 120 to control a first virtual object in the virtual environment to perform a movement, which movement includes, but is not limited to, at least one of adjusting a body position, crawling, walking, running, cycling, jumping, driving, picking up a virtual item, marking a virtual item, shooting, attacking, and throwing. For example, the first virtual object is a first virtual character, such as a simulated character object or a cartoon character object.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The first terminal 120 is connected to the server 140 using a wireless or wired network.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The server 140 includes at least one server, a plurality of servers, a cloud computing platform, and a virtualization center. For example, the server 140 has a processor 144 and a memory 142. The memory 142 includes a display module 1421, a control module 1422, and a receiving module 1423. The server 140 is configured to provide a backend service for an application that supports a three-dimensional virtual environment. Optionally, the server 140 performs primary computing, and the first station 120 and the second station 160 perform secondary computing; or the server 140 performs secondary computing, and the first station 120 and the second station 160 perform primary computing; collaborative computing is implemented using a distributed computing architecture between the server 140, the first station 120, and the second station 160.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">An application supporting a virtual environment is installed and operated on the second station 160. The application can be any VR application, 3D mapping application, military simulation software, FPS game, MOBA game, or multiplayer survival game. The second station 160 is a terminal used by a second user, and the second user uses the second station 160 to control a second virtual object in the virtual environment to perform a movement, which movement includes, but is not limited to, at least one of adjusting a body position, crawling, walking, running, cycling, jumping, driving, picking up a virtual item, marking a virtual item, shooting, attacking, and throwing. For example, the second virtual object is a second virtual character, such as a simulated character object or a cartoon character object.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Optionally, the first virtual object and the second virtual item reside in the same virtual environment. Optionally, the first virtual object and the second virtual item may belong to the same team, the same organization, be friends with each other, or have temporary connection permission.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Optionally, the applications installed on the first terminal 120 and the second terminal 160 are the same, or the applications installed on both terminals are the same type of applications on different control system platforms. The first terminal 120 can generally be one of many terminals, and the second terminal 160 can generally be one of a plurality of terminals. In this embodiment, the first terminal 120 and the second terminal 160 are used as examples of the description. The first terminal 120 and the second terminal 160 are of the same type or different types of devices. The device type includes at least one smartphone, a tablet computer, an e-book reader, a motion picture expert group, an audio layer III (MP3) player, a motion picture expert group, an audio layer IV (MP4) player, a laptop computer, and a desktop computer. The following embodiment is described using an example terminal comprising a smartphone.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">A person skilled in the art will recognize that there may be a greater or lesser number of terminals. For example, there may be only one terminal, or there may be dozens, hundreds, or even more. The quantity and type of equipment are not limited to the terminals in these order forms.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 4 is a flowchart of a method for controlling a virtual object to distinguish a virtual item according to an exemplary embodiment of this application. The method is applicable to a first terminal 120 or a second terminal 160 in the computer system shown in Figure 3 or another terminal in the computer system. The method includes the following steps:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Step 401: Display a virtual environment image, and the virtual environment image including a virtual object and a virtual item in a virtual environment.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The virtual environment image is displayed on a terminal application interface, and the virtual environment image includes the virtual object and the virtual item in the virtual environment, as shown in Figure 2.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Optionally, the virtual environment displayed on the virtual environment image includes at least one of the following elements: mountain, plain, river, lake, sea, desert, sky, vegetation, building, and vehicle.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Optionally, virtual item 202 is at least a medicine-type virtual item, an energy-type virtual item, a food-type virtual item, or a weapon-type virtual item. The medicine-type virtual item is used to supplement or expand the health points of the virtual object 203 in the virtual environment; the energy-type virtual item is used to supplement the physical strength or energy of the virtual object 203; compared with the medicine-type virtual item, the health points of the virtual object 203 are restored relatively slowly and cannot be restored to an initial state; the food-type virtual item is also used to supplement the physical strength or energy of the virtual object 203; compared with the energy-type virtual item, the health points of the virtual object 203 are restored to an initial state more slowly; and the weapon-type virtual item is used to engage in combat in the virtual environment by the virtual object 203, e.g., to complete actions such as close combat, shooting, and throwing.<h2 style=";text-align:left;direction:ltr">Optionally, default items for a weapon type include: weapons such as a rifle, grenade, hand grenade, arrow, close-quarters pot, dagger, sword, or they can be attachments such as a magazine, buttstock, muzzle, grip, and scope.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Step 402: Control the virtual object to move, in the virtual environment, into the proximity range of the virtual object.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The user controls the virtual object to move, in the virtual environment, to the proximity range of the virtual element, as shown in (a) of Figure 5.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">When a user controls a virtual object to move, in the virtual environment, into the proximity range of a virtual item, the virtual object optionally automatically picks up the virtual item in the virtual environment, or a pick-up list button is displayed in the virtual environment image and clicked to open the pick-up item list. The user controls the virtual object to select, from the pick-up item list, a virtual item that the user intends to pick up. Optionally, the user may set a quantity of virtual materials to be picked up by the virtual object, or the quantity of virtual materials to be picked up (set by default) is set in the application.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In one example, the content displayed on the virtual environment image is described with reference to Figure 5. Figure 5 is a schematic diagram of an interface revealing a pick-up item list according to an exemplary embodiment of this application. A pick-up list button 201, a virtual item 202, and a virtual object 203 are displayed on the interface 19 of the virtual environment image, as shown in (a) of Figure 5. Optionally, the pick-up list button 201 is always displayed in the virtual environment image, or when the virtual object 203 is moved into proximity to the virtual item 202, the pick-up list button 201 is automatically displayed. The pick-up list button 201 is used to reveal a pick-up item list.<h2 style=";text-align:left;direction:ltr">For example, when virtual object 203 is moved into the proximity range of virtual item 202, pick-up list button 201 may be automatically displayed, and upon receipt of an open operation on pick-up list button 201, pick-up item list 110 is displayed, as shown in (b) of Figure 5. Pick-up item list 110 is displayed on the face 20 of the virtual environment image, and a field 111 of the virtual item, a collapsible option 113, virtual item 202, and virtual object 203 are displayed on pick-up item list 110.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">A pick-up item list refers to a list of virtual items available for picking in the virtual environment. The user selects a virtual item from the pick-up item list to pick the virtual item in the virtual environment. The picked virtual item is prepared or carried by the virtual object. This request provides a method for setting up a highlight operation on the pick-up item list, such that the user marks the virtual item in the virtual environment by performing a highlight operation on the pick-up item list.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Optionally, the pick-up item list is displayed in at least one of the following ways: displaying the pick-up item list by operating a button anywhere in the virtual environment, e.g., having a pick-up list button in the pick-up item list; displaying the pick-up item list automatically when a user controls a virtual object to move into the affinity range of the virtual item; or displaying the pick-up item list by operating a button when a user controls a virtual object to move into the affinity range of the virtual item. The method of displaying the pick-up item list is not limited in this application.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Optionally, the pick-up item list is displayed anywhere on the virtual environment image, e.g., on the right side of the virtual environment image. The position of the pick-up item list on the virtual environment image is unlimited in this request. Optionally, the shape of the pick-up item list is arbitrary. For example, the pick-up item list is rectangular. The shape of the pick-up item list is not limited in this request. Optionally, the size of the pick-up item list is arbitrary. For example, the size of the pick-up item list is the same as the size of the virtual environment image. The size of the pick-up item list is not limited in this request. Optionally, the user can set the transparency of the pick-up item list, or there is a transparency setting (default) for the pick-up item list in the application. This is not limited by this request.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Optionally, the pick-up item list is displayed according to the position of the virtual object in the virtual environment (the pick-up item list is displayed at the corresponding position according to the moving position of the virtual object), or the pick-up item list is displayed at the position of a virtual item available for pickup. This is not limited by what is stated in this request.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Optionally, the pick-up item list is collapsed in at least one of the following ways: collapsing the pick-up item list using a collapsible trigger button; automatically collapsing the pick-up item list when the user controls the virtual object to move to a position a certain distance away from the proximity range of the virtual item; or displaying the collapsible trigger button when the user controls the virtual object to move to a position a certain distance away from the proximity range of the virtual item, and collapsing the pick-up item list using the collapsible trigger button. The method of collapsing the pick-up item list is not limited in this application.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Optionally, default materials are displayed in the pick-up item list in at least one of the following ways: The pick-up item list displays default materials by posting, or the pick-up item list displays default images of items using a trigger operation. Optionally, the user may set a quantity of default materials displayed in the pick-up item list, or a default quantity is set in the application. The method for setting the quantity of default materials displayed is not limited in this application.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Optionally, the user scrolls through the pick-up item list, clicks / presses a button to launch the next page, clicks / presses an open button, clicks to launch a "Show All" button to display virtual items, or the pick-up item list displays virtual items based on the quantity of virtual materials available for picking within the proximity range of the virtual item. This is not limited by this request.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">For example, five default items are displayed in the pick-up item list, and three default items are displayed on each page of the pick-up item list. The user clicks the "Next Page" button, and the pick-up item list moves from the first page to the second page. Two default items are displayed on the second page.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Optionally, virtual materials are arranged in the pick-up item list in at least one of the following orders: sorting virtual materials according to their levels (for example, a higher-level virtual item is preferred), preferring to display virtual materials of the same type as virtual materials processed or carried by the virtual object, sorting virtual materials according to the initial letters or initial vowel characters of virtual material names (for example, a to z), or sorting virtual materials according to their quantities (for example, preferring to display virtual items with a larger quantity). The arrangement of virtual materials in the pick-up item list is not limited by this order.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">For example, a proximity range is a region defined by the position of a virtual item in the virtual environment. For example, a proximity range is a spherical range that uses the position of the virtual item as its center and has a radius of 1 meter. For example, controlling a virtual object to be moved, in the virtual environment, into the proximity range of a virtual item means controlling the virtual object to enter the proximity range of the virtual item, or controlling the virtual object to move to a location that is less than a threshold distance from the virtual item.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Step 403: Display the pick-up item list on the virtual environment image, which is a field for the default item available for picking that is displayed in the pick-up item list.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Referring to (a) of Figure 2, a description of the display of a pick-up item list on the virtual environment image is provided. The pick-up item list is displayed on the virtual environment image for the first customer, and the pick-up item list 110, the virtual item field 111, the fold option 113, the virtual item 202, and the virtual object 203 are displayed on the display interface 20. The field 111 of the virtual item available for pickup is displayed in the pick-up item list 110. The virtual item in field 111 of the virtual item corresponds to the virtual item 202 in the virtual environment. The virtual item in field 111 of the virtual item is a virtual item that must be highlighted (e.g., the virtual item is at least one of a 2x scope, a medical kit, or a sniper rifle silencer).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Step 404: Receive a mark operation in the virtual item field, and mark the virtual item in the virtual environment according to the mark operation, where the mark operation is a different operation from the pick operation.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The first client user performs a tag operation on the virtual item field and tags the virtual item in the virtual environment according to the tag operation. The tag operation is different from the pick operation. The pick operation is the operation performed when the user controls a virtual object to pick a virtual item in the virtual environment. Through the pick operation, the user can control the virtual object to pick the virtual item in the virtual environment, place the virtual item in the virtual object's backpack, equip the virtual object with the picked virtual item, or have the picked virtual item carried on the virtual object.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">For example, the marking process is the process of highlighting a virtual item in the virtual environment. Marking means setting the virtual item in the virtual environment, displaying a distinctive mark on the virtual item, or displaying real-time information about the virtual item on the interface. For example, using the marking process enables other users to quickly obtain relevant information (virtual item information such as name, quantity, and position) about the virtual item. For example, the identification process is to select the virtual item and create a position indicator at the position of the virtual item, so that other virtual objects in the same camp as the virtual object all see the position indicator and can quickly access the position of the virtual item according to the position indicator.<h2 style=";text-align:left;direction:ltr">For example, the position pointer, based on the relative positions of the virtual object and the virtual item, indicates the direction of the virtual object in which the virtual item is located and the distance from the virtual item to the virtual object of the virtual object.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Based on the above, by adding a different mark operation from the pick-up item list, the user performs the mark operation on the virtual item field available for pickup in the pick-up item list, so that the user can control the virtual object to mark the virtual item, and mark on the virtual item when controlling the virtual object to pick the virtual item in the virtual environment, thus simplifying the mark operation on the virtual item, and enabling the virtual object controlled by the user to better cooperate with the corresponding virtual objects of other teammates in the same team.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The recognition operation received in the default element field is different from the selection operation. For example, the selection operation is a click / tap operation, and the selection operation includes at least one of the following operations: long press, slide operation, drag operation, double click / tap operation, and so on.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The three differentiation processes used in the previous model are described separately below: long-press, slide, and pull.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">For example, long pressing, sliding, and swiping are all touch operations performed on a device's touch screen by the user. For example, a touch screen is a sensor that can receive a user's touch operation. For example, a touch screen can be at least one of a capacitive touch screen, an infrared touch screen, a resistive touch screen, or a surface acoustic wave touch screen. For example, when a user touches a touch screen with a finger or other contact device, the touch screen receives a touch point (contact point) and generates the coordinates of the contact point. For example, after receiving the contact point, the touch screen periodically detects a change in the position of the contact point, for example, detecting the position of the contact point once every 0.1 seconds. In this way, a tapping operation is a process in which the touch screen receives a contact point and the contact point disappears within a specified time—that is, the user momentarily and quickly taps the touch screen.<h2 style=";text-align:left;direction:ltr">A long press operation is a process in which the touch screen receives a contact point, the contact point does not disappear within a specified time, and the displacement (the distance between the initial position of the contact point and the position obtained during the last cyclic detection) of the contact point is less than a threshold. A sliding operation is a process in which the touch screen receives a contact point, the contact point does not disappear within a specified time, and the displacement (the distance between the initial position of the contact point and the position obtained during the last cyclic detection) of the contact point is greater than a threshold. A swipe operation is a process in which the touch screen receives a contact point, and after the displacement of the contact point for the first time is less than a threshold, the displacement of the contact point for the second time is greater than a threshold.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Below is a description of the implementation of the differentiation process using the long press process as an example.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Based on the method of controlling a virtual object to mark a virtual item described in the preceding embodiment, step 404 may be implemented in two steps: first, a long-press operation is activated; second, a long-press operation takes effect. The method of activating the long-press operation and the method of taking effect for the long-press operation are described by reference to Figure 6 and Figure 7. Figure 6 is a flowchart of a method for activating the long-press operation according to an exemplary embodiment of this application. The method is applicable to a first terminal 120 or a second terminal 160 in the computer system shown in Figure 3 or another terminal in the computer system. The method for activating the long-press operation includes the following steps.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Step 601: Receive a long press operation in the virtual item field.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The user performs a long press operation on the default item field, and the long press operation is received on the default item field, and the long press operation is a different operation from the pick operation.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">A long press operation is one in which the user presses a virtual item field and holds the press for a period of time. For example, to distinguish it from a sliding operation, a long press operation is one in which the virtual item field is pressed, the press action is held for a period of time, and the displacement of the touch point pressed by the button used during the press falls below a threshold.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Step 602: Determine whether the duration of the pressing operation is longer than the long-press activation duration: If the duration of the pressing operation is longer than the long-press activation duration, perform step 603; if the duration of the pressing operation is shorter than the long-press activation duration, perform step 606.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The application detects whether the duration of the received press operation on the virtual item field is longer than the long-press activation duration. If the press operation duration is longer than the long-press activation duration, the application continues to detect the horizontal coordinate shift of the long-press operation and executes step 603. If the press operation duration is shorter than the long-press activation duration, the long-press operation fails to activate, and the application executes step 606. In this case, the user needs to perform a long-press operation on the virtual item field again, and the application re-detects the press operation duration.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> For example, the activation duration of a long press is 0.2 seconds, and when the duration of the received press operation in the virtual item field is longer than 0.2 seconds, the horizontal coordinate shift detection of the long press operation continues.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">For example, the default environment image is a rectangle, and the horizontal coordinate corresponds to the direction of any edge parallel to the rectangular image. For example, a rectangular coordinate system is created using the directions of two edges parallel to the rectangular image, and the horizontal coordinate refers to the x-axis of a rectangular coordinate system, or the horizontal coordinate refers to the y-axis of a rectangular coordinate system. For example, the horizontal coordinate refers to the x-axis of a rectangular coordinate system, and the vertical coordinate refers to the y-axis of a rectangular coordinate system. For example, the horizontal offset refers to the displacement of the touch point that the user presses in the x-direction.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Step 603: Determine whether the horizontal coordinate displacement of the long press operation is less than the threshold value of the first horizontal displacement: If the horizontal coordinate displacement of the long press operation is less than the threshold value of the first horizontal displacement, perform step 604; if the horizontal coordinate displacement of the long press operation is greater than the threshold value of the first horizontal displacement, perform step 606.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> When the duration of a long press operation is longer than the activation duration of the long press operation, the application continues to detect whether the horizontal coordinate displacement of the long press operation received in the virtual item field is less than the first horizontal displacement threshold value. If the horizontal coordinate displacement of the long press operation is less than the first horizontal displacement threshold value, the application continues to detect whether the vertical displacement of the long press operation is less than the first vertical displacement threshold value and executes step 604. If the horizontal coordinate displacement of the long press operation is greater than the first horizontal displacement threshold value, the activation of the long press operation fails, and the application executes step 606. In this case, the user needs to perform a long press operation in the virtual item field again, and the application re-detects the duration of the long press operation and the horizontal coordinate displacement of the long press operation.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">For example, the threshold value for the first horizontal offset of a long press operation is 8dp. When the horizontal coordinate offset of the long press operation received in the virtual item field is less than 8db, whether the vertical offset of the long press operation is less than the threshold value for the first vertical offset.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Step 604: Determine whether the vertical coordinate displacement of the long press operation is less than the threshold value of the first vertical displacement: If the vertical coordinate displacement of the long press operation is less than the threshold value of the first vertical displacement, perform step 605; if the vertical coordinate displacement of the long press operation is greater than the threshold value of the first vertical displacement, perform step 606.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">When the horizontal coordinate displacement of the long press operation is less than the threshold value of the first horizontal displacement, the application detects the vertical coordinate displacement of the long press operation received in the virtual item field. If the vertical coordinate displacement of the long press operation is less than the threshold value of the first vertical displacement, the long press operation is activated, and the application continues to monitor the duration of the long press operation and executes step 605. In this case, the application enters the discrimination entry phase of the long press operation, as shown in Figure 7.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> For example, the threshold value for the first horizontal displacement and the threshold value for the first vertical displacement can be the same or different. For example, the threshold value for the first vertical displacement of a long press operation is 8 dB. When the vertical coordinate displacement of the long press operation received in the virtual item field is less than 8 dB, the long press operation is activated. In this case, the duration of the long press operation is monitored for a period of time, and step 605 is executed.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Step 605: The long press process is activated, and you continue to monitor the duration of the long press process.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> When a long press operation simultaneously meets the long press activation duration condition, which is the condition of the first horizontal displacement threshold value of the horizontal coordinate, and the condition of the first vertical displacement threshold value of the vertical coordinate, the press operation is activated, and the application continues to monitor the duration of the long press operation, and enters the marking phase.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Step 606: Failed to activate the long press operation, and perform a capture operation.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">When a long press operation does not meet any of the long press activation duration conditions, the first horizontal offset threshold value for the horizontal coordinate, and the first vertical offset threshold value for the vertical coordinate, the long press operation fails. The user controls the virtual object to perform a pick-up operation on the virtual item, to pick up the virtual item in the virtual environment, to equip the virtual object with the virtual item, or to have the virtual item carried on the virtual object. Optionally, the virtual item can be picked up based on the backpack equipped or carried by the virtual object still having capacity, or the virtual item can be picked up when the virtual item's attribute is higher than the attributes of the virtual materials equipped on or carried by the virtual object. Optionally, after a long press operation fails, no pick-up operation is performed.<h2 style=";text-align:left;direction:ltr">The user performs a long press on the virtual item field again, and the application re-detects the duration, horizontal offset, and vertical offset of the long press.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 8 is a schematic diagram of a pick-up item list according to an exemplary model of this order. The previous method for activating the long-press operation is described by reference to (a) of Figure 8 and (b) of Figure 8.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Field 111 of the virtual item available for pickup is displayed in the pick-up item list 110. A virtual item to be highlighted is displayed in field 111 of the virtual item. For example, the default item is a 2x scope. More immediate information related to the virtual item's functions is displayed in field 111 of the virtual item. For example, the functions of the 2x scope are: perform 2x magnification and speed up sight operation. Optionally, the virtual item is at least one of the default materials such as a medkit, sniper rifle silencer, helmet, backpack, epinephrine, energy drink, food (for example, an apple or a cake), painkiller, dagger, and bullets. The immediate information corresponding to the functions of the virtual materials is also different. For example, the function of the medkit is: restore health points to 75, i.e., the health points of the default item are 75; and the function of the sniper rifle silencer is: reduce sounds and eliminate muzzle flash. The fold option 113 is also displayed in the pick-up item list 110.<h2 style=";text-align:left;direction:ltr">The collapse option 113 is used to collapse the pick list 110. When the pick list 110 is collapsed, the user cannot control the virtual object to perform a pick or highlight operation on the virtual item.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In the example, the user highlights a virtual item (2x binoculars) in field 111 of the virtual item and performs a long-press operation (i.e., a press operation) in field 111 of the virtual item. The application receives the long-press operation. When the press operation duration is longer than the activation duration of the long-press operation, the horizontal coordinate displacement of the long-press operation is less than the threshold value of the first horizontal displacement, and the vertical displacement of the long-press operation is less than the threshold value of the first vertical displacement. The long-press operation reception is determined, and the long-press operation is activated successfully. The highlighting operation of the virtual item is displayed according to the duration of the long-press operation in field 111 of the virtual item, as shown in (b) of Figure 8.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In the long-press activation method, only the duration of the long-press operation can be detected, or both the duration of the long-press operation and the horizontal and vertical coordinate shifts of the long-press operation can be detected. This is not limited to what is stated in this request.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The implementation method for the long press operation is described below with reference to Figure 7. Figure 7 is a flowchart of a valid method for the long press operation according to an exemplary embodiment of this application. The method is applicable to the first terminal 120 or the second terminal 160 in the computer system shown in Figure 3 or another terminal in the computer system. The implementation method for the long press operation includes the following steps.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Step 701: Continue receiving a long press operation in the virtual item field.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> After a long press is activated, the long press operation continues to be received in the virtual item field. This step follows step 605 in Figure 6.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Step 702: Determine whether the duration of the long press operation is longer than the discrimination entry time: If the duration of the long press operation is longer than the discrimination entry time, perform step 703; if the duration of the long press operation is shorter than the discrimination entry time, perform step 706.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The application detects whether the duration of a long press operation received on the virtual item field is longer than the highlight entry time. If the duration of the long press operation is longer than the highlight entry time, the application continues to detect whether the horizontal displacement of the long press operation is less than the threshold value of the second horizontal displacement, and executes step 703. If the duration of the long press operation is shorter than the highlight entry time, the long press operation is ineffective. In this case, the long press operation on the virtual item fails, and the application executes step 706.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> For example, the highlight activation time is 1 second, and when the duration of a long press operation received in the virtual item field is longer than 1 second, the horizontal coordinate shift of the long press operation continues until it is detected.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Step 703: Determine whether the horizontal coordinate displacement of the long press operation is less than the threshold value of the second horizontal displacement: If the horizontal coordinate displacement of the long press operation is less than the threshold value of the second horizontal displacement, perform Step 704; if the horizontal coordinate displacement of the long press operation is greater than the threshold value of the second horizontal displacement, perform Step 706.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">When the duration of a long-press operation is longer than the discrimination entry time, the application detects the horizontal coordinate displacement of the long-press operation. If the horizontal coordinate displacement of the long-press operation is less than the threshold value of the second horizontal displacement, the application continues to detect whether the vertical displacement of the long-press operation is less than the threshold value of the second vertical displacement, and executes step 704. If the horizontal coordinate displacement of the long-press operation is greater than the threshold value of the second horizontal displacement, the long-press operation is ineffective, and the user fails to control the virtual object to perform the long-press operation on the virtual item, and step 706 is executed.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">For example, the first horizontal displacement threshold, the first vertical displacement threshold, the second horizontal displacement threshold, and the second vertical displacement threshold can be the same or different. For example, the second horizontal displacement threshold for a long press is 8 dB. When the second horizontal displacement for a long press received in the virtual item field is less than 8 dB, the vertical displacement for the long press is checked to see whether the vertical displacement for the long press is less than the second vertical displacement threshold. For example, the first horizontal displacement threshold, the first vertical displacement threshold, the second horizontal displacement threshold, and the second vertical displacement threshold can all be equal to the displacement threshold (8 dB).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Step 704: Determine whether the vertical coordinate displacement of the long press operation is less than the threshold value of the second vertical displacement: If the vertical coordinate displacement of the long press operation is less than the threshold value of the second vertical displacement, perform Step 705; if the vertical coordinate displacement of the long press operation is greater than the threshold value of the second vertical displacement, perform Step 706.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">When the horizontal coordinate displacement of the long-press operation is less than the threshold value of the second horizontal displacement, the application detects the vertical coordinate displacement of the long-press operation. If the vertical coordinate displacement of the long-press operation is less than the threshold value of the second vertical displacement, the long-press operation takes effect, the user controls the virtual object to successfully perform the long-press operation on the virtual item, and step 705 is completed. If the vertical coordinate displacement of the long-press operation is greater than the threshold value of the second vertical displacement, the long-press operation is ineffective, the user fails to control the virtual object to perform the long-press operation on the virtual item, and step 706 is completed.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">For example, the threshold value for the second vertical offset of a long press operation is 8 dB. When the vertical coordinate offset of the long press operation received in the virtual item field is less than 8 dB, the long press operation takes effect, discrimination succeeds, and step 705 is executed.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Step 705: Long press takes effect and the highlighting is successful.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> When the long press operation simultaneously meets the highlight entry time condition, the second horizontal displacement threshold value condition, and the second vertical displacement threshold value condition, the long press operation takes effect, and the user controls the virtual object to successfully highlight the virtual item.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Step 706: Long press operation is ineffective, discrimination fails.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">When a long press operation does not meet any of the conditions for the highlight entry time, the second horizontal displacement threshold condition, and the second vertical displacement threshold condition, the long press operation is ineffective, and the user cannot control the virtual object to highlight the virtual item. Optionally, the user needs to perform a long press operation on the virtual item field again. The application re-detects whether the duration of the long press operation is longer than the highlight entry time, or re-detects whether the duration of the long press operation is longer than the activation duration of the long press. In this example, the user failed to control the virtual object to perform a long press operation on the virtual item. The application returns to the step of detecting whether the duration of the long press operation is longer than the activation duration of the long press.<h2 style=";text-align:left;direction:ltr">That is, the user needs to perform a long-press operation on the virtual item field, and the application detects whether the long-press duration is longer than the activation long-press duration, and executes the steps of the method to activate the long-press operation (that is, step 601 is executed).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The implementation method of the long-press operation is described below, referring to (b), (c), and (d) of Figure 8. The description is made using an example in which the selected virtual item is a 2x scene. (b) of Figure 8 displays the pick-up item list 110. The virtual item field 111 available for pickup, the tagging operation 112, the folding option 113, and the highlighting option 114 are displayed in the pick-up item list 110. After the long-press operation on the virtual item field 112 is activated by the user, the tagging operation 112 and highlighting operation 114 are displayed in the virtual item field, proving that the long-press operation has been activated. In addition, the highlighting operation of the virtual item is displayed in the virtual item field 111 according to the duration of the long-press operation.<h2 style=";text-align:left;direction:ltr">When the duration of the long-press operation received in field 111 of the virtual item is longer than the marking entry time, and the horizontal coordinate displacement and vertical coordinate displacement of the long-press operation are less than the threshold displacement value, the virtual item in the virtual environment is successfully marked, as shown in (c) of Figure 8. The complete marking operation 112 is displayed in the pick-up item list 110. The marking and marking completion code 114 is displayed in the marking operation 112.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Optionally, the tagging process 112 completely covers field 111 of the virtual item, meaning that the user cannot see field 111 of the virtual item through the tagging process 112; or the tagging process 112 is transparent or semi-transparent, meaning that the user can see field 111 of the virtual item through the tagging process. See field 111 of the virtual item through the tagging process 112. In some embodiments, the transparency of the tagging process 112 is set in the application (set by default). This is not limited by this request.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Optionally, the prompt information for completing the marking is at least one of the following forms: a completion symbol (such as a check or smiley face) shown in (c) of Figure 8, or prompt information representing the meaning of completion (including at least one of the Chinese or English characters, such as marking completed, completed, marked, mark on success, OK, done, and marked). This is not limited by this application. In some embodiments, the prompt information is a smiley face, check, plus sign, surrender, or a nickname for the user controlling the virtual object. The prompt information is not limited by this application. Optionally, the prompt information 114 is located at any position in the region (i.e., field 111 of the virtual object) where the marking operation 112 is located. The position of the prompt information 114 is not limited by this application. For example, the prompt information 114 is located in the lower left corner of the region where the marking operation is located.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">To distinguish it from other virtual materials that are not marked, optionally, the color of field 111 of the virtual item is changed, or the mark 114 is displayed in field 111 of the virtual item. In the example, when the virtual item is successfully marked, the mark 114 is displayed in field 111 of the virtual item, indicating that the virtual item has been marked, and distinguishing the virtual item from other virtual materials that are not marked, as shown in (d) of Figure 8. When the mark 114 is displayed in the virtual item field, it indicates that the virtual item has been marked.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Based on the above, the virtual item is highlighted by applying a long press operation, and user misoperation is avoided by setting the long press activation duration, highlighting execution time, horizontal displacement threshold value, and vertical displacement threshold value of the long press operation, to prevent the virtual item from being mistakenly highlighted.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Successful marking of a virtual item is described below with reference to a display interface for an application on a second client. Figure 9 is a diagram of the interface on the second client after successful marking of a virtual item according to an exemplary embodiment of this application. A virtual object 203, information tag 204, and tag message 205 for the virtual item are displayed on interface 23 for successful marking.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">After the first client user controls the virtual object 203 to highlight the virtual item (e.g., a 2x telescope), the first client user obtains a coordinate position of the virtual item in the virtual environment, obtains the highlighting information corresponding to the virtual item, and transmits the highlighting message to at least one second client based on the coordinate position and highlighting information. In this case, the highlighting information 204 is displayed on an application interface of at least the second client, and the highlighting message 205 for the virtual item is received. For example, the highlighting information 204 includes: an image of the virtual item, a quantity of virtual materials, and the coordinate position and orientation of the virtual item in the virtual environment. For example, the 2x telescope is positioned 23 meters directly in front of the virtual object. In some embodiments, the highlighting information 204 also includes information such as the name of the virtual item, the quantity of virtual materials, the type of the virtual item, the attribute of the virtual item, and the functions of the virtual item. This is not limited to what is stated herein.<h2 style=";text-align:left;direction:ltr">The 205 discrimination message received by the second client user includes: a teammate's nickname and information about the virtual item.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> For example, the 205 highlight message is: "I have a 2x binocular" posted by AAA, or "I have three 2x binoculars" posted by AAA.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Below is a description of the implementation of the differentiation process using a sliding operation as an example.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Based on the method of controlling a virtual object to mark a virtual item described in the preceding embodiments, step 404 may be performed as two steps: first, a slide operation is activated; second, a slide operation takes effect. FIG. 10 is a flowchart of a method for marking a virtual item by a slide operation according to another exemplary embodiment of this application. The method is applicable to a first terminal 120 or a second terminal 160 in the computer system shown in FIG. 3 or another terminal in the computer system. The method includes a method for activating a slide operation and a method for taking effect of the slide operation. The method includes the following steps:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Step 1001: Receive a slice operation in the virtual item field.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The user performs a slide operation on the virtual item field, and a slide operation is received on the virtual item field. The slide operation is used to move the virtual item field. A slide operation is different from a pick-up operation. For example, a pick operation is a click / tap operation.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> For example, a slide operation is one in which the user presses and holds the virtual item field, moves a pressed touch point during the press, and the moving displacement is greater than the threshold value of the slide displacement.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Step 1002: Determine whether the displacement by which the virtual item field was moved is greater than the threshold value of the slide activation offset. If the displacement by which the virtual item field was moved is greater than the threshold value of the slide activation offset, step 1003 is performed; if the displacement by which the virtual item field was moved is less than the threshold value of the slide activation offset, step 1005 is performed.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The application detects the offset by which the virtual item field was moved. If the offset by which the virtual item field was moved is greater than the threshold value of the slide activation offset, the application determines that a slide operation is received, and a slide operation is activated. In this case, the application continues to detect whether the offset by which the virtual item field was moved is greater than the threshold value of the slide effect offset, and step 1003 is executed. If the offset by which the virtual item field was moved is less than the threshold value of the slide activation offset, the slide operation is ineffective, the discrimination fails, and step 1005 is executed.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> For example, the sliding activation offset threshold is 5% of the total width of the virtual item field. When the offset by which the virtual item field is moved is greater than 5% of the total width of the virtual item field, a sliding operation is activated, and step 1003 is executed.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The method for activating a sliding operation is described in Figure 11. Figure 11 is a schematic diagram of a pick-up item list according to an exemplary embodiment of this application. The virtual item field 111, the folding option 113, and the highlighted mark 114 are displayed in the pick-up item list 110. When the displacement by which the virtual item field is moved is greater than the sliding activation displacement, a sliding operation is activated, and the highlighted mark 114 is displayed in field 111 of the virtual item, indicating that a sliding operation has been activated, as shown in (a) of Figure 11. The marking operation 112 of the virtual item is displayed according to the displacement resulting from the move, according to the sliding operation received in field 111 of the virtual item, field 111 of the virtual item, as shown in (b) of Figure 11.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Optionally, the marking process 112 is a circular processing bar, a rectangular processing bar, or a linear processing bar. The pattern of the process bar is not limited in this order. In some embodiments, the marking 114 is located on the outer side of a circular processing bar. The location of the markings is not limited in this order.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Step 1003: Determine whether the displacement by which the virtual item field was moved is greater than the threshold value for the offset of the slice effect. If the displacement by which the virtual item field was moved is greater than the threshold value for the offset to take the slice effect, step 1004 is performed; if the displacement by which the virtual item field was moved is less than the threshold value for the offset to take the slice effect, step 1005 is performed.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">When the displacement by which the field 111 of the virtual item is moved is greater than the threshold value for the slide activation offset, a slide operation is selected; when the displacement by which the field 111 of the virtual item is moved is greater than the threshold value for the slide effect, the user controls the virtual object to successfully highlight the virtual item in the virtual environment, as shown in (c) of Figure 11. When the virtual item is successfully highlighted, the highlighting operation bar 112 is in a complete state (i.e., the entire operation bar is filled with black). If the displacement by which the field of the virtual item is moved is less than the threshold value for the slide effect, the slide operation is ineffective. The user needs to perform a slide operation on the field 111 of the virtual item again, and the application re-detects whether the displacement by which the field of the virtual item is moved is greater than the threshold value for the slide activation offset.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">For example, the threshold offset value for a slide effect is 60% of the total width of the virtual item field. When the offset at which the virtual item field is moved is greater than 60% of the total width of the virtual item field, a slide operation takes effect, the highlighting succeeds, and step 1004 is executed.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Step 1004: The sliding operation takes effect and the discrimination is successful.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">A slide operation is received on field 111 of the virtual item, and field 111 of the virtual item is moved according to the slide operation. When the displacement by which field 111 of the virtual item is moved is greater than the threshold displacement value for taking the slide effect, the slide operation takes effect and the highlighting succeeds. The highlighting is performed on the virtual item in the virtual environment. When the slide operation satisfies the conditions that the displacement by which field 111 of the virtual item is moved is greater than the threshold displacement value for taking the slide effect and the conditions that the displacement by which field 111 of the virtual item is moved is greater than the threshold displacement value for taking the slide effect, the slide operation takes effect, and the user controls the virtual object to successfully highlight the virtual item in the virtual environment.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Referring to (d) of Figure 11, there is a field 111 for the virtual item available for pickup in the pick-up item list 110. The distinction 114 is displayed in field 111 of the virtual item, and the distinction 114 is used to indicate that the virtual item is marked, and to distinguish the virtual item from other virtual materials that are not marked.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Step 1005: Inefficient sliding operation, marking failure.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">When a slide operation does not satisfy either of the two conditions: that the displacement by which the virtual item's field 111 is moved is greater than the slide activation offset threshold value, and that the displacement by which the virtual item's field 111 is moved is greater than the slide effect offset threshold value, the slide operation is ineffective, and the user fails to control the virtual object to highlight the virtual item in the virtual environment. The user needs to perform a slide operation on the virtual item's field 111 again, and the application re-detects whether the displacement by which the virtual item's field is moved is greater than the slide activation offset threshold value.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Based on the above, the virtual item is highlighted by applying a sliding operation, and user misoperation is avoided by setting the threshold value of the activation offset and the threshold value of the effective offset, to prevent the virtual item from being mistakenly highlighted. In this application, an operation method other than the long-press operation is provided to perform the mark operation, thus simplifying the user's control of a virtual object to mark a virtual item.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The following describes the implementation of the highlighting operation using the drag operation as an example. Based on the virtual object control method for highlighting a virtual item described in the previous model, step 404 can be implemented as follows: Set a highlighting area, drag a virtual item in the pick-up item list to the marking area, and mark the virtual item.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 12 is a schematic diagram of a pick-up item list for marking a virtual item by a pull operation according to an exemplary embodiment of this request. The pick-up item list 110 is displayed on the image of the virtual environment. A field 111 for a virtual item available for picking, a collapsible option 113, and a marking area 115 are displayed in the pick-up item list 110. A pull operation is received in field 111 from the virtual item, and pull is the operation used to drag the virtual item to the marking area 115. The virtual item is marked in the virtual environment according to the pull operation.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> For example, a drag operation is an operation in which the user presses and holds the virtual element field, pauses for a period of time, and then moves a pressed touch point, and the moving displacement is greater than the drag displacement threshold.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">For example, a pull operation is received in field 111 of the virtual item, and field 111 of the virtual item is pulled according to the pull operation. When the displacement by which the virtual item field is moved is greater than the threshold value of the pull activation offset, the pull operation is received, i.e., the pull operation is activated, as shown in (b) of Figure 12. When the displacement by which the virtual item field 111 is moved under the pull operation is greater than the threshold value of the pull activation offset, the pull operation is activated. For example, the threshold value of the pull activation offset is 5% of the total width of the virtual item field. When the displacement by which the virtual item field is moved is greater than 5% of the total width of the virtual item field, the pull operation is activated. The virtual item 116 (e.g., a 2x telescope) is pulled, by the pull operation, to move to the marking area 115 (the virtual item 116 shown as dashed lines in the figure indicates that the virtual item 116 is being pulled).<h2 style=";text-align:left;direction:ltr">The marking area 115 is highlighted according to the swipe operation received in field 111 of the default element, to indicate that the swipe operation has been activated. In some embodiments, the marking area 115 is highlighted by changing the color, changing the font size of the marking area 115, applying bold or italics to the font, or underlining the font of the marking area 115, to inform the user that the swipe operation has been activated. The varying appearance of the marking area 115 is not limited in this application.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">When a user drags a virtual item 116 to the highlighting area 115, as shown in (c) of Figure 12, the virtual item 116 is highlighted in the virtual environment according to the drag operation received in field 111 of the virtual item. For the virtual item 116, the highlight 114 is displayed in field 111 of the virtual item, as shown in (d) of Figure 12. A "You can drag it here" label is displayed in the labeling area 115. In some embodiments, a highlighting area or label is displayed in the labeling area 115. The content assigned to the labeling area 115 is not limited in this application. Optionally, the labeling area 115 is located on either side of the top, bottom, left, or right side of the pick-up item list 110. In an example, the highlighting area 115 is located on the right side of the pick-up item list 110 shown in Figure 12.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Based on the above, user misuse is avoided by implementing a drag operation, adding a highlight area, and setting the threshold value for the drag activation offset to prevent the virtual item from being wrongly highlighted. In this application, an operation method other than a long-press operation and a sliding operation is provided to implement the mark operation, thus simplifying the user's control of a virtual object to highlight a virtual item.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> A description of how to send identification information for a virtual item is given below, with reference to the server. Figure 13 shows a flowchart of how to send identification information for a virtual item according to an exemplary model of this request. The method includes the following steps:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Step 1301: The first client marks a virtual item.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> When the first client user successfully marks the virtual item, a mark is displayed in the Virtual Item field.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Step 1302: The first client obtains a coordinate position of the virtual object in a virtual environment.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The specified virtual item displays the virtual item's coordinate position in the virtual environment, and the first client user obtains the virtual item's coordinate position in the virtual environment. Optionally, the coordinate position can be at least one of the virtual item's rectangular or polar coordinate information and the virtual item's orientation.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Step 1303: The first client obtains the tag information corresponding to the default item, and the tag information is either the default information or the custom information.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The application corresponding to the first client obtains the tagging information corresponding to the virtual item. In one example, the tagging information includes the name of the virtual item and the coordinate position of the virtual item. Optionally, the tagging information also includes the quantity of the virtual material, the type of the virtual item, the attribute of the virtual item, the functionality of the virtual item, and so on. Optionally, the tagging information is the default information or custom information. In one example, the tagging information is the default information, and the default information has been set in the application. After tagging the virtual item, the user of the first client transfers the tagging information to at least one other client. The tagging information is default information, for example, I have material. In another example, the tagging information is custom information, and the content of the tagging information can be set by the user, for example, I have bullets, come on!<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Step 1304. The first client sends the discrimination information to the server.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The first client sends the tag information corresponding to the virtual element to the server.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Step 1305: The server stores the discrimination information.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The server stores the received tag information corresponding to the default item from the first client.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Step 1306: The server sends the distinction information to the client every at least one second.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The server sends the discrimination information corresponding to the virtual object to at least one second client. Optionally, the server transmits the discrimination information corresponding to the virtual object to clients other than the first client; the server transmits the discrimination information to clients corresponding to teammates on the same team as the user of the first client; the server transmits the discrimination information to clients corresponding to the remaining virtual objects; or the server transmits the discrimination information to clients corresponding to the remaining teammates on the same team as the user of the first client.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Step 1307: The second client receives the discrimination information.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The client with at least one second receives the discrimination information corresponding to the virtual item, and displays the discrimination information on the virtual environment image of the second client in a message form, referring to Figure 9.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Step 1308: Display the highlight information at the virtual item coordinate location corresponding to the second client.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The highlight information is displayed at the coordinate location of the corresponding virtual item on the second agent's virtual environment image. Optionally, the highlight information is displayed at the coordinate location of a corresponding virtual item on the second agent's virtual environment battle image, referring to Figure 9. Alternatively, the virtual environment map (for example, a virtual environment map is a map in miniature) is displayed on the second agent's virtual environment image, and the highlight information is displayed at the coordinate position of a specific virtual item on the map.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Optionally, the highlight information is always displayed on the virtual environment image; the highlight information can be manually collapsed by the user; or the highlight information disappears automatically after being present for a period of time. In one example, the highlight information disappears after being displayed on the virtual environment image for 10 seconds.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The previous method is described based on the game application scenario in the previous models, and the following is a representative description of the previous method based on a military simulation application scenario.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Simulation technology is a modeling technique in which the behavior or process of a system is reflected using software and hardware through a simulation experiment of a real environment.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Military simulation software is a software specially created for military applications using simulation technology, which performs quantitative analysis of battle elements such as sea, air, land, weapon equipment performance, battle actions, etc., accurately simulates the battlefield environment, presents the battlefield situation, and thus implements battle system evaluation and decision-making tools.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In an example, a soldier creates a virtual battlefield on a station where military simulation software is located, and a battle is fought between groups. The soldier controls a virtual object in the virtual battlefield environment to perform at least one of the following actions: walking, running, climbing, driving, shooting, throwing, scouting, close combat, and other actions in the virtual battlefield environment. The virtual battlefield environment includes at least one of the following: a plain, a mountain, a plateau, a basin, a desert, a river, a lake, a sea, a plant, and a building. The virtual objects include a virtual person, a virtual animal, a cartoon character, and the like. Each virtual object has a shape and size in the three-dimensional virtual environment and occupies some space in the three-dimensional virtual environment.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Based on the previous situation, in an example, soldiers are divided into two teams. One is called Team A, and the other is called Team B. Optionally, soldier A of Team A controls a virtual object 203 to move in a virtual environment, with at least one type of virtual item 202 present in the virtual environment. When the virtual object 203 controlled by the soldier moves in the virtual environment within close range of the virtual item 202, as shown in Figure 5, a pick-up list button 201 is displayed on the image of the virtual environment, and soldier A clicks the pick-up list button 201. When an unfolding operation is received on the pick-up list button 201, the pick-up item menu 110 is displayed, as shown in (a) of Figure 2.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Optionally, in the military simulation program, virtual object 203 controlled by Soldier A may pick up virtual item 202 when the equipped backpack remains at capacity; alternatively, when the attribute of virtual item 202 exceeds the attributes of virtual materials of the same type possessed by the soldier-controlled virtual object, the soldier-controlled virtual object may pick up virtual item 202. The attribute of the virtual item is at least one of the attributes such as level, killability, and effect that act on the virtual object. Optionally, when the virtual object 203 controlled by Soldier A no longer needs to pick up virtual item 202, Soldier A may control virtual object 203 to mark virtual item 202, and transmit the selected virtual item to other soldiers on the same team in the form of an information tag.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Referring to the figure in Figure 2, Soldier A controls the virtual object to perform a long-press operation on field 111 of the virtual item. When the duration of the long-press operation is longer than the activation duration, the reception of the long-press operation is determined, and the marking operation 112 of the virtual item is displayed in field 111 of the virtual item according to the duration of the long-press operation. As shown in (b) of Figure 2, a mark 114 may be displayed in field 111 of the virtual item, marking virtual items 202 that have not been marked. When the duration of the long-press operation is longer than the marking time, and the horizontal displacement and vertical coordinate displacement of the long-press operation are less than the displacement threshold value, the virtual item in the virtual environment is marked. The complete marking operation 112 is displayed in field 111 of the virtual item, indicating that the marking operation on the virtual item has been completed, as shown in (c) of Figure 2.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Optionally, Soldier A controls the virtual object to perform a sliding operation on field 111 of the virtual item. When the displacement by which the virtual item field is moved is greater than the displacement activation threshold, a sliding operation is selected, as shown in (a) of Figure 11. A mark 114 may also be displayed on field 111 of the virtual item to mark untagged virtual items 202. The marking operation 112 of the virtual item is displayed according to the displacement resulting from the sliding operation on field 111 of the virtual item, as shown in (b) of Figure 11. When the displacement by which the virtual item field 111 is moved is greater than the applicable displacement threshold, the virtual item is marked in the virtual environment. The complete marking process 112 is displayed in field 111 of the default item, indicating that marking of the default item is complete, as shown in (c) of Figure 11. Optionally, a mark 114 is displayed in field 111 of the default item.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Optionally, Soldier A controls the virtual object to perform a pull operation on field 111 of the virtual item. The pick-up item list 110 and a marking area 115 are displayed on the virtual environment image. As shown in (a) of the figure in Figure 12, field 111 of the virtual item available for pickup is displayed in the pick-up item list 110. The pull operation is used to pull the virtual item 116 to the marking area 115. If field 111 of the virtual item is pulled by the pull operation, and the offset by which field 111 of the virtual item is moved is greater than the activation offset threshold, the reception of the pull operation is determined. The marking area 115 is marked according to the draw operation received in field 111 of the virtual item, as shown in (b) of Figure 12. When the virtual item 116 is dragged to the marking area 115 during the draw operation, Soldier A controls the virtual object 203 to mark the virtual item 116, as shown in (d) of Figure 12.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">For example, after a soldier controls a virtual object to identify a virtual item, information (including the virtual item's name, coordinates, and orientation in the virtual environment) is transmitted. Soldiers on the same team as the soldier receive the identification information and can quickly find the identified virtual item based on the identification information.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Based on the above, in this application form, the application of the previous method of controlling a virtual object to distinguish a virtual item for a military simulation program can improve combat efficiency and help enhance cooperation between users.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In the preceding embodiments, the descriptions are made using examples in which the user controls a virtual object to highlight one virtual item. Optionally, at least one virtual item may be highlighted. For example, three virtual items in a pick-up item list are highlighted, or all virtual materials in a pick-up item list are highlighted. Optionally, there is a default setting for the virtual material highlighting quantity in an application (i.e., the virtual material highlighting quantity is fixed, e.g., the virtual material highlighting quantity is 2); a. Alternatively, the user sets the virtual item highlighting quantity according to personal habits, preferences, actual situation, and the like. For example, the user sets the virtual material highlighting quantity to 5. Optionally, a "Select All" button is set in the pick-up item list and is used to highlight all virtual materials in the pick-up item list; alternatively, the user may drag all virtual items in the pick-up item list to highlight all virtual materials.<h2 style=";text-align:left;direction:ltr">For example, check boxes are displayed in the virtual material fields in a pick-up item list, and there is a "Select All" button in the pick-up item list. When the user clicks / presses the "Select All" button in the pick-up item list, a check box displayed in the field for each virtual item in the pick-up item list is selected, and all virtual materials in the pick-up item list are then highlighted. Optionally, the user may set a marking quantity to mark virtual materials of the same type, or set related marking quantities to mark virtual materials of different types. The quantity of marked virtual materials and the type of marked virtual materials are not limited in this order.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> It should be understood that the "multiple" mentioned in the specification means two or more. "And / or" describes a relation between related objects and represents the possibility of three relationships. For example, A and / or B might represent the following three states: only A exists, both A and B exist, and only B exists. The character " / " in this specification generally indicates an "or" relationship between related objects.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> A person of ordinary skill in the art would understand that all or some of the steps in the preceding embodiments can be performed using hardware, or they can be performed by software that instructs the relevant hardware. The software can be stored in a storage medium that can be read by a computer. The storage medium could be read-only memory (ROM), a magnetic disk, an optical disk, or the like.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The foregoing descriptions are merely representative examples of this application, but are not intended to limit this application. Any equivalent modification, substitution, or improvement made within the spirit and principle of this application shall fall within the scope of protection of this application.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The following is a sample device for this application. For details not described in detail in the device model, reference may be made to the corresponding record in the previous method models. The details are not described here again.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 14 is a schematic block diagram of a device for controlling a virtual object to characterize a virtual item according to an exemplary embodiment of this application. The device can be implemented as all or part of the device using software, hardware, or a combination thereof. The device includes: a display module 1410, a control module 1420, and a receiving module 1430, wherein the display module 1410 and the receiving module 1430 are optional modules.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Display unit 1410 is configured to display a virtual environment image, the virtual environment image including a virtual object and a virtual item in a virtual environment.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Controller 1420 is configured to control the virtual object to move, in the virtual environment, to the affinity range of the virtual object.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The display unit 1410 is additionally configured to display a pick-up item list on the virtual environment image, which is a field for the default item available for picking that is displayed in the pick-up item list.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The receiver unit 1430 is configured to: receive a tag operation in the virtual item field, and tag the virtual item in the virtual environment according to the tag operation, wherein the tag operation is a different operation than the pick operation.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In an optional embodiment, the receiver module 1430 is further configured to: receive a long press operation in the virtual item field; and highlight the virtual item in the virtual environment in the event that the duration of the long press operation is longer than the time the highlight is taken.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In an optional embodiment, the receiver unit 1430 is further configured to highlight the virtual item in the virtual environment in the event that the duration of the long press operation is longer than the highlight entry time, and the horizontal coordinate offset and vertical coordinate offset of the long press operation are less than the offset threshold value.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In an optional embodiment, the receiver module 1430 is further configured to: receive a press operation in the virtual item field; and specify the reception of a long press operation in the event that the duration of the press operation is longer than the duration of the long press activation.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In an optional embodiment, the display module 1410 is further configured to display the virtual item highlighting operation in the virtual item field according to the duration of the long press operation.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In an optional embodiment, the receiving unit 1430 is further configured to: receive a slide operation on the virtual item field; move the virtual item field according to the slide operation, and highlight the virtual item in the virtual environment in the event that the displacement by which the virtual item field is moved is greater than the slide displacement threshold value.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In an optional embodiment, the receiver unit 1430 is further configured to highlight the virtual item in the virtual environment in the event that the offset by which the virtual item field is moved is greater than the threshold slide effect offset.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In an optional embodiment, the receiver module 1430 is further configured to: receive a slide operation on the virtual item field; move the virtual item field according to a slide operation, and determine to receive a slide operation if the displacement by which the virtual item field is moved is greater than a threshold value for a slide activation displacement.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In an optional embodiment, the display unit 1410 is further configured to display the virtual item highlighting operation according to the displacement resulting from moving the virtual item field, according to a sliding operation.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In an optional embodiment, the display unit 1410 is further configured to display a pick-up item list and a labeling area on the virtual environment image, the virtual item field available for picking is displayed in the pick-up item list, and the receiving unit 1430 is further configured to: receive a pull operation in the virtual item field, the pull operation used to pull the virtual item to the labeling area; and mark the virtual item in the virtual environment according to the pull operation.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In an optional embodiment, the receiver module 1430 is further configured to: receive a drag operation on the virtual item field; drag the virtual item field according to the drag operation, and select to receive the drag operation if the offset by which the virtual item field is moved is greater than the threshold value of the drag activation offset.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In an optional embodiment, the display unit 1410 is further configured to mark the marking area according to the swipe operation received in the virtual item field.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In an optional embodiment, the device may further include an acquisition unit, configured to: obtain a coordinate position of the virtual item in the virtual environment; obtain marking information corresponding to the virtual item, the marking information being the default marking information or custom marking information; and the device may further include a transmission unit, configured to send a marking message for the virtual item to a server based on the coordinate position and marking information.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In an optional embodiment, the display unit 1410 is further configured to display a pick-up list button on the virtual environment image; and the receiving unit 1430 is further configured to display a pick-up item list in the event of a receiving operation unfolding on the pick-up list button.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 15 is a block diagram of an electronic device 1500 according to an exemplary embodiment of this application. The electronic device 1500 may be a portable mobile terminal, e.g., a smartphone, tablet computer, MP3 player, or MP4 player. The electronic device 1500 may also be referred to by other names, such as user equipment and portable device.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In general, the electronic device 1500 includes a processor 1501 and a memory 1502.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The processor 1501 may include one or more processing cores and may be, for example, a quad-core or an octa-core processor. The processor 1501 may be implemented using at least one hardware form of a digital signal processor (DSP), a field-programmable gate array (FPGA), and a programmable logic array (PLA). The processor 1501 may alternatively include a main processor and a coprocessor. The main processor is a processor configured to process data in the awake state, also referred to as a central processing unit (CPU), and the coprocessor is a low-power processor configured to process data in the standby state. In some embodiments, a graphics processing unit (GPU) may be integrated into the processor 1501. The GPU is configured to be responsible for displaying and drawing content to be displayed on a display. In some embodiments, the processor 1501 may also include an artificial intelligence (AI) processor.<h2 style=";text-align:left;direction:ltr">An AI processor is configured to process a computation related to machine learning.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The memory 1502 may include one or more computer-readable storage media. The computer-readable storage media may be tangible and non-transient. The memory 1502 may also include high-speed random access memory (RAM), non-volatile memory such as one or more magnetic disk storage devices and a flash storage device. In some embodiments, the non-transient computer-readable storage medium in the memory 1502 is configured to store at least one instruction, and the at least one instruction is configured to be executed by the processor 1501 to implement a method of controlling a virtual object to characterize a virtual item provided herein.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In some embodiments, the electronic device 1500 may optionally include a peripheral device interface 1503 and at least one peripheral device. Specifically, the peripheral device includes at least one radio frequency (RF) circuit 1504, a touchscreen display 1505, a camera component 1506, an audio circuit 1507, a positioning component 1508, and a power supply 1509.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The peripheral interface 1503 may be configured to connect at least one input / output (I / O) peripheral device to the processor 1501 and the memory 1502. In some embodiments, the processor 1501, the memory 1502, and the peripheral interface 1503 are integrated into the same chip or circuit board. In other embodiments, any one or both of the processor 1501, the memory 1502, and the peripheral interface 1503 may be implemented on a separate chip or circuit board, and the implementation is not limited to this embodiment.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The radio frequency circuit 1504 is configured to receive and transmit a radio frequency signal, also referred to as an electromagnetic signal. The RF circuit 1504 connects to a communications network and other communication device using the electromagnetic signal. The RF circuit 1504 converts the electrical signal into an electromagnetic signal for transmission, or converts the received electromagnetic signal into an electrical signal. Optionally, the RF circuit 1504 includes an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, an encoder chip set, a subscriber identity module card, and the like. The RF circuit 1504 may communicate with another party using at least one wireless communication protocol. Wireless communication protocol includes, but is not limited to: World Wide Web, Metropolitan Area Network, Intranet, generations of mobile networks (2G, 3G, 4G, 5G), wireless local area network, and / or wireless fidelity (Wi-Fi).<h2 style=";text-align:left;direction:ltr">In some embodiments, the RF 1504 may also include circuitry related to near-field communication (NFC), which is not limited to this application.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The touchscreen display 1505 is configured to display a user interface. The user interface may include a graphic, text, an icon, a video, or any combination thereof. The touchscreen display 1505 also has the ability to collect a touch signal on or above the surface of the touchscreen display 1505. The touch signal, as a control signal, may be input to the processor 1501 for processing. The touchscreen display 1505 is configured to provide a virtual button and / or virtual keyboard, also referred to as a soft button and / or soft keyboard. In some embodiments, there may be one touchscreen display 1505, positioned on the front panel of the electronic device 1500. In some other embodiments, there may be at least two touchscreen displays 1505, respectively, positioned on different surfaces of the electronic device 1500 or designed to be foldable. In some other embodiments, the touchscreen display 1505 may be a flexible display, positioned on a curved surface or folded surface of the electronic device 1500.<h2 style=";text-align:left;direction:ltr">Even, the touchscreen display 1505 can be further configured into a non-rectangular, irregular pattern, a special-shaped display. The touchscreen display 1505 can be made of a material such as a liquid crystal display (LCD) or an organic light-emitting diode (OLED).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The camera component 1506 is configured to take photos or videos. Optionally, the camera component 1506 includes a front-facing camera and a rear-facing camera. Typically, the front-facing camera is configured to take a video call or selfie. The rear-facing camera is configured to take photos or videos. In some embodiments, there are at least two rear-facing cameras, each a main camera, a depth-of-field camera, and a wide-angle camera, to perform background blurring functions by combining the main camera and the depth-of-field camera, and to perform panoramic photography and virtual reality photography functions by combining the main camera and the wide-angle camera. In some embodiments, the camera component 1506 may also include a flash. The flash can be a single color temperature flash or a dual color temperature flash. The dual color temperature flash is a combination of a warm light flash and a cold light flash and can be used to compensate for light under different color temperatures.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The audio circuit 1507 is configured to provide an audio interface between the user and the electronic device 1500. The audio circuit 1507 may include a microphone and a speaker. The microphone is configured to collect sound waves from the user and the environment, convert the sound waves into electrical signals, and input the electrical signals into the processor 1501 for processing, or input the electrical signals into the radio frequency circuit 1504 for audio communication. For the purpose of stereo sound collection or noise reduction, there may be a plurality of microphones, successively disposed in different parts of the electronic device 1500. The microphone may be an array microphone or an omnidirectional collection microphone. The speaker is configured to convert electrical signals from the processor 1501 or the radio frequency circuit 1504 into sound waves. The speaker may be a conventional thin-film speaker or a piezoelectric ceramic speaker.<h2 style=";text-align:left;direction:ltr">When the speaker is a piezoelectric ceramic speaker, electrical signals can be converted not only into sound waves that humans can hear, but also into sound waves that humans cannot hear for range and other uses. In some embodiments, the audio circuit 1507 may also include a headphone jack.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The positioning component 1508 is configured to establish a current geographic location of the electronic device 1500, to implement a navigation service or location-based service (LBS). The positioning component 1508 can be a positioning component based on the Global Positioning System (GPS) of the United States, the BeiDou system of China, the Global Navigation Satellite System (GLONASS) of Russia, or the GALILEO system of the European Union.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The power supply 1509 is configured to supply power to the components in the electronic device 1500. The power supply 1509 can be alternating current (AC), direct current (DC), a primary battery, or a rechargeable battery. When the power supply 1509 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery charged through a wired circuit, and a wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery can be further configured to support fast charging technology.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In some embodiments, the electronic device 1500 also includes one or more sensors 1510. The one or more sensors 1510 include, but are not limited to: accelerometer sensor 1511, gyroscope sensor 1512, pressure sensor 1513, fingerprint sensor 1514, light sensor 1515, and proximity sensor 1516.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The accelerometer 1511 can detect acceleration along three coordinate axes of a coordinate system generated by the electronic device 1500. For example, the accelerometer 1511 can be configured to detect components of gravitational acceleration along the three coordinate axes. The processor 1501 may, based on the gravitational acceleration signal collected by the accelerometer 1511, control the touchscreen display 1505 to display the user interface in landscape or portrait view. The accelerometer 1511 can be further configured to collect game data or user movement.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The gyroscope sensor 1512 can detect the object orientation and rotation angle of the electronic device 1500. The gyroscope sensor 1512 may cooperate with the accelerometer sensor 1511 to compile a 3D action by the user on the electronic device 1500. The processor 1501 may perform the following functions based on the data collected by the gyroscope sensor 1512: motion sensing (e.g., the user interface is changed according to a tilt action by the user), image stabilization during shooting, game control, and inertial navigation.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The pressure sensor 1513 may be disposed on a side frame of the electronic device 1500 and / or a lower layer of the touchscreen display 1505. When the pressure sensor 1513 is disposed on the side frame of the electronic device 1500, a user's grasping gesture may be detected on the electronic device 1500, and left / right hand selection or quick operation may be performed based on the grasping gesture. When the pressure sensor 1513 is disposed on the lower layer of the touchscreen display 1505, an operable control on the UI may be triggered based on the user's grasping action on the touchscreen display 1505. The operable control includes at least one button control, a slider control, an icon control, and a menu control.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The fingerprint sensor 1514 is configured to collect a user's fingerprint to identify the user based on the collected fingerprint. Upon determining that the user's identity is trusted, the processor 1501 authorizes the user to perform relevant sensitive operations. Sensitive operations include: unlocking the screen, viewing encrypted information, downloading software, making payments, changing settings, and the like. The fingerprint sensor 1514 may be located on the front, back, or side of the electronic device 1500. If a physical button or vendor logo is located on the electronic device 1500, the fingerprint sensor 1514 may be integrated with the physical button or vendor logo.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The optical sensor 1515 is configured to collect ambient light intensity. In one embodiment, the processor 1501 may control the brightness of the touchscreen display 1505 based on the ambient light intensity collected by the optical sensor 1515. Specifically, when the ambient light intensity is relatively high, the brightness of the touchscreen display 1505 is increased. When the ambient light intensity is relatively low, the brightness of the touchscreen display 1505 is decreased. In another embodiment, the processor 1501 may dynamically adjust the imaging parameters of the camera component 1506 based on the ambient light intensity collected by the optical sensor 1515.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The proximity sensor 1516, also referred to as the distance sensor, is generally disposed on the front surface of the electronic device 1500. The proximity sensor 1516 is configured to measure the distance between the user and the front surface of the electronic device 1500. In an embodiment, if the proximity sensor 1516 detects that the distance between the user and the front surface of the electronic device 1500 gradually decreases, the processor 1501 controls the touchscreen display 1505 to switch from the screen-on state to the screen-on state. If the proximity sensor 1516 detects that the distance between the user and the front surface of the electronic device 1500 gradually increases, the processor 1501 controls the touchscreen display 1505 to switch from the screen-off state to the screen-on state.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> A person skilled in the art may understand that the structure shown in Figure 15 does not constitute a limitation of the electronic device 1500,<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> An electronic device may include more or fewer components than those shown in the figure, some components may be combined, or a different component deployment may be used.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">This application also provides a peripheral unit, including a processor and a memory, wherein the memory stores at least one instruction, at least one program, a set of codes, or a set of instructions, wherein the at least one instruction, at least one program, a set of codes, or a set of instructions is loaded and executed by the processor to implement a method for controlling a virtual object to distinguish a virtual item provided in embodiments of the preceding method.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> This application also provides a computer, including a processor and a memory, wherein the memory stores at least one instruction, at least one program, a set of codes, or a set of instructions, wherein the at least one instruction, at least one program, a set of codes, or a set of instructions is loaded and executed by the processor to implement a method for controlling a virtual object to distinguish a virtual item provided in embodiments of the preceding method.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">This application further provides a computer-readable storage medium, storing at least one instruction, at least one program, a set of codes, or a set of instructions, wherein the at least one instruction, at least one program, a set of codes, or a set of instructions is loaded and executed by a processor to implement a method for controlling a virtual object to distinguish a virtual item provided in embodiments of the foregoing method.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> This application also provides a computer program product, a computer program product or a computer program that includes computer instructions, wherein the computer instructions are stored in a computer-readable storage medium, a processor for a computer that reads the computer instructions from the computer-readable storage medium, executes the computer instructions, and causes the computer to perform a method for controlling a virtual object to identify a virtual item provided in the foregoing optional implementations.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">It should be understood that the "set of" mentioned in the specification means two or more. "And / or" describes a relation between related objects and represents the possibility of three relationships. For example, A and / or B can represent the following three states: only A exists, both A and B exist, and only B exists. The character " / " in this specification generally indicates an "or" relationship between related objects.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> A person of ordinary skill in the art will recognize that all or some of the steps in the preceding embodiments can be performed using hardware, or they can be performed by software that directs the relevant hardware. The software can be stored on a computer-readable storage medium. The storage medium could be ROM, a magnetic disk, an optical disc, or the like.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The foregoing descriptions are merely representative examples of this application, but are not intended to limit this application. Any equivalent modification, substitution, or improvement made within the spirit and principle of this application shall fall within the scope of protection of this application.
Claims
Claims 1. A method for controlling a virtual object to highlight a virtual item, applicable to a first terminal, the method comprising: displaying a virtual environment picture on a display interface of the first terminal, the virtual environment picture comprising a virtual object and a virtual item in the virtual environment; controlling, according to a receiver control operation, the virtual object to move, in the virtual environment, to a range close to the virtual item; displaying a pick-up item list on the virtual environment picture in response to the controlled virtual object to move to a range close to the virtual item, the pick-up item field being displayed in the pick-up item list; receiving a highlighting operation in a virtual item field, and highlightinga virtual item in the virtual environment according to a recognition process, wherein the recognition process is a process different from the selection process; and sending, through a server, the recognition information corresponding to the virtual item to a second terminal, to enable the recognition information to be displayed at the coordinate position of the corresponding virtual item on the virtual environment picture of the second terminal after the second terminal receives the recognition information, wherein the recognition information comprises the image of the virtual item and the distance between the virtual item and the virtual object.
2. The method according to claim 1, wherein receiving the recognition information on the virtual item field, and recognizing the virtual item in the virtual environment according to the recognition process comprises: receiving a long press operation on the virtual item field; and recognizing the virtual item in the virtual environment if the duration of the long press operation is longer than the timeMarking effect.
3. The method according to claim 2, wherein highlighting the virtual item in the virtual environment when the duration of the long-press operation is longer than the time of the marking effect, comprises: highlighting the virtual item in the virtual environment when the duration of the long-press operation is longer than the time of the marking effect, and the horizontal coordinate displacement and vertical coordinate displacement of the long-press operation are less than the displacement threshold.
4. The method according to claim 2, wherein receiving a long-press operation on a virtual item field comprises: receiving a press operation on the virtual item field; and determining the reception of the long-press operation when the duration of the press operation is longer than the duration of the long-press activation.
5. The method according to claim 2, further comprising: displaying a highlight mark for the virtual item on the virtual item field according to the duration of the press operationlong-press operation.
6. The method according to claim 1, wherein receiving a highlighter on a virtual item field, and highlighting the virtual item in the virtual environment according to the highlighting operation, comprises: receiving a sliding operation on the virtual item field; moving the virtual item field according to the sliding operation, and highlighting the virtual item in the virtual environment if the displacement by which the virtual item field is moved is greater than the threshold value of the slide displacement.
7. The method according to claim 6, wherein moving the virtual item field according to the sliding operation, and highlighting the virtual item in the virtual environment if the displacement by which the virtual item field is moved is greater than the threshold value of the slide displacement, comprises: highlighting the virtual item in the virtual environment if the displacement by which the virtual item field is moved is greater than the threshold value of the slide take effect displacement.
8. The method according to claim 6, wherein receiving a sliding operation on the virtual item field comprises: receiving the sliding operation on the virtual item field; moving the virtual item field according to the sliding operation, and determining the reception of the sliding operation in a state where the displacement by which the virtual item field is moved is greater than the threshold value of the sliding activation displacement.
9. The method according to claim 6, further comprising: displaying a virtual item highlighting operation according to the displacement generated by moving the virtual item field according to the sliding operation.
10. The method according to claim 1, wherein displaying a pick-up item list on a virtual environment picture comprises: displaying a pick-up item list and highlighting areas on the virtual environment picture, the virtual item field available for picking being displayed in the pick-up item list; and receiving a highlighting operation on the item fieldthe virtual item, and highlighting the virtual item in the virtual environment according to the highlighting operation, wherein the highlighting operation is a process different from the picking operation: receiving a drag operation on the virtual item field, using the drag operation to drag the virtual item to the highlighting area; and highlighting the virtual item in the virtual environment according to the drag operation.
11. The method according to claim 10, wherein receiving the drag operation on the virtual item field comprises: receiving the drag operation on the virtual item field; dragging the virtual item field according to the drag operation, and determining the reception of the drag operation in the case where the displacement by which the virtual item field is moved is greater than the threshold value of the drag activation displacement.
12. The method according to claim 10, further comprising: highlighting the highlighting area according to the drag operation received on the virtual item field.
13. The method according to claim 1, wherein the highlighting information isabout default mark information or customized mark information, the method further comprising: obtaining a coordinate position of the virtual item in the virtual environment; and sending a mark message for the virtual item to a server according to the coordinate position and mark information.
14. The method according to claim 1, wherein displaying a pick-up item list on a virtual environment picture comprises: displaying a pick-up list button on the virtual environment picture; and displaying a pick-up item list in the state where an unfolding operation is received on the pick-up list button.
15. An apparatus for controlling a virtual object to mark a virtual item, comprising: a display module, configured to display a virtual environment picture on a display interface of a first terminal, the virtual environment picture comprising the objecta virtual object and a virtual item in a virtual environment; a control module configured to control, according to the user's control operation, the virtual object to move, in the virtual environment, to a range close to the virtual item; a display module configured to also display a pick-up item list on the virtual environment picture. In response to the virtual object being controlled to move to a range close to the virtual item, the virtual item field available for picking is displayed in the pick-up item list; a receiving module configured to: receive a highlight operation on the virtual item field, and highlight the virtual item in the virtual environment according to the highlight operation, the highlight operation being different from the pick operation; and a transmission module configured to transmit, through a server, the highlight information corresponding to the virtual item to a second terminal, to enable the highlight information to be displayedat the coordinate position of the corresponding virtual item on the virtual environment picture of the second terminal after the second terminal receives the discrimination information, wherein the discrimination information comprises the image of the virtual item and a distance between the virtual item and the virtual object.
16. The apparatus according to claim 15, wherein the receiving unit is further configured to: receive a long-press operation on the virtual item field; and to highlight the virtual item in the virtual environment in the case where the duration of the long-press operation is longer than the time of the tagging effect.
17. The apparatus according to claim 16, wherein the receiving unit is further configured to highlight the virtual item in the virtual environment in the case where the duration of the long-press operation is longer than the time of the tagging effect, and the horizontal coordinate offset and vertical coordinate offset of the long-press operation areoperation is less than the displacement threshold value.
18. The apparatus according to claim 16, wherein the receiving unit is further configured to: receive a press operation on the virtual item field; and determine the reception of a long-press operation in a state where the press operation is longer than the duration of activation of the long press.
19. The apparatus according to claim 16, wherein the display unit is further configured to display the discrimination operation of the virtual item in the virtual item field according to the duration of the long-press operation.
20. The apparatus according to claim 15, wherein the receiving unit is further configured to: receive a slide operation on the virtual item field; move the virtual item field according to the slide operation, and highlight the virtual item in the virtual environment in a state where the displacement by which the virtual item field is moved is greater than the slide displacement threshold value.
21. The apparatus according to claim 20, wherein the receiving unit is further configured to highlight the virtual itemvirtual item in the virtual environment in the case where the displacement by which the virtual item field is moved is greater than the threshold value of the slide-taking effect displacement.
22. The apparatus according to claim 20, wherein the receiving unit is further configured to: receive a slide operation in the virtual item field; move the virtual item field according to the slide operation, and determine the reception of the slide operation in the case where the displacement by which the virtual item field is moved is greater than the threshold value of the slide activation displacement.
23. The apparatus according to claim 20, wherein the display unit is further configured to display a virtual item highlight operation according to the displacement generated by moving the virtual item field according to the slide operation.
24. The apparatus according to claim 15, wherein the display unit is further configured to display a pick-up item list and a highlight area in the virtual environment picture, the virtual image field available for picking is displayed in the pick-up item listpick-up item list; the receiving unit is further configured to: receive a drag operation on the virtual item field, the drag operation is used to drag the virtual item to the highlighting area; and highlight the virtual item in the virtual environment in accordance with the drag operation.
25. The apparatus according to claim 24, wherein the receiving unit is further configured to: receive a drag operation on the virtual item field; drag the virtual item field in accordance with the drag operation, and determine the reception of the drag operation in the case where the offset by which the virtual item field is moved is greater than the threshold value of the drag activation offset.
26. The apparatus according to claim 24, wherein the display unit is further configured to highlight the highlighting area in accordance with the drag operation received on the virtual item field.
27. The apparatus according to claim 15, wherein the highlighting information is virtual highlighting information or custom highlighting information, the method further comprising: an acquisition unit, configured to: acquire a positionthe coordinates of the virtual item in the virtual environment; and a sending unit, configured to transmit the discrimination message for the virtual item to a server according to the coordinate position and discrimination information.
28. The apparatus according to claim 15, wherein the display unit is further configured to display a pick-up list button on the virtual environment picture; and the receiving unit is further configured to display a pick-up item list in the case where an operation unfolding on the pick-up list button is triggered.
29. A terminal, comprising a processor and a memory, the memory storing one or more instructions, one or more programs, a set of codes, or a set of instructions, the one or more instructions, the one or more programs, the set of codes, or the set of instructions being loaded and executed by the processor to implement the method for controlling the virtual object to identify the virtual item according to claim 1.
30. A computing device, comprising a processor and a memory, the memory storing one or moreInstructions, one or more programs, a set of codes, or a set of instructions, the one or more instructions, the one or more programs, the set of codes, or the set of instructions being loaded and executed by a processor to implement the method for controlling a virtual object to identify a virtual item according to Claim 1.
31. A computer-readable storage medium storing one or more instructions, one or more programs, a set of codes, or a set of instructions, the one or more instructions, the one or more programs, the set of codes, or the set of instructions being loaded and executed by a processor to implement the method for controlling a virtual object to identify a virtual item according to Claim 1.
