Method, device, apparatus and computer program for marking objects in a virtual environment

The method of sliding virtual object list items in a perpendicular direction within a pickup list in virtual environments improves marking efficiency and accuracy by eliminating the need for gun sight adjustments, enhancing user interaction in virtual reality applications and games.

JP7604677B2Active Publication Date: 2024-12-23TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2023558238
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2021-06-09
Filing Date
2022-05-11
Publication Date
2024-12-23
Estimated Expiration
2042-05-11

AI Technical Summary

Technical Problem

Existing methods for marking virtual objects in virtual environments, such as in virtual reality applications and games, are time-consuming and inefficient due to the need to aim a virtual object with a gun sight, which can affect the marking efficiency.

Method used

A method and apparatus that utilizes a pickup list of virtual objects displayed along a first direction, allowing users to mark a target virtual object by sliding its list item along a perpendicular second direction, eliminating the need to adjust the gun sight and improving marking efficiency.

Benefits of technology

This approach allows for quick and accurate marking of virtual objects by reducing the need for additional gun sight adjustments, thereby enhancing the efficiency and accuracy of human-computer interaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007604677000001
    Figure 0007604677000001
  • Figure 0007604677000002
    Figure 0007604677000002
  • Figure 0007604677000003
    Figure 0007604677000003
Patent Text Reader

Abstract

A method, an apparatus, a device, and a storage medium for marking a virtual object in a virtual environment, which are applied to the field of human-computer interaction, includes the steps of: displaying a pick-up list of a first virtual object, the pick-up list being used for displaying at least one virtual object to be picked up by the first virtual object in the virtual environment, and the list items in the pick-up list being arranged along a first direction (302); receiving a first sliding operation on the pick-up list (304); and in response to the first sliding operation, sliding a list item of a target virtual object in the pick-up list along a second direction and setting the target virtual object to a marked state (306), the target virtual object being a virtual object among the at least one virtual object slid by the first sliding operation, and the marked state being used for sharing position information of the target virtual object with a second virtual object.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present application relates to the field of human-computer interaction, and in particular to a method, an apparatus, a device and a storage medium for marking objects in a virtual environment.

[0002] This application claims priority to a Chinese patent application filed on June 9, 2021, bearing application number 202110642541.4 and titled "Method, apparatus, device, and medium for marking objects in a virtual environment," the entire contents of which are incorporated herein by reference. [Background technology]

[0003] 2. Description of the Related Art There are many application programs having virtual environments for terminal devices such as smartphones and tablet computers, such as virtual reality application programs, three-dimensional map programs, first-person shooter games, and multiplayer online battle arena games.

[0004] In the above application program, each user can control one virtual character. The virtual character can mark a virtual object on the ground in the virtual environment, and share the location information of the virtual object with teammates. Specific marking methods include: aligning the front of the virtual character's gun with the virtual object on the ground, and then selecting the shortcut message "here is xx virtual object" corresponding to the virtual object in the message sending box, and clicking the send button to mark the virtual object and send the shortcut message to teammates.

[0005] However, the above operation relies on aiming the front sight of the gun at the virtual object on the ground, and aiming the virtual object is relatively time consuming, which may affect the efficiency of marking the virtual object. Summary of the Invention [Means for solving the problem]

[0006] The embodiments of the present application provide a method, device, apparatus, and storage medium for marking an object in a virtual environment, which improves the marking efficiency for virtual objects.

[0007] According to one aspect of the present application, there is provided a method for marking a virtual object in a virtual environment, the method being executed on a terminal device, the method comprising: displaying a pick-up list of a first virtual object, the pick-up list being used to display at least one virtual object to be picked up by the first virtual object in the virtual environment, and list items in the pick-up list being arranged along a first direction; receiving a first slide operation on the pick-up list, the first slide operation being an operation on a list item of a target virtual object among the at least one virtual object; In response to the first sliding operation, sliding a list item of the target virtual object in the pick-up list along a second direction and displaying the target virtual object in a marked state, the marked state being used to share position information of the target virtual object with a second virtual object; Here, the first direction and the second direction are perpendicular to each other.

[0008] According to one aspect of the present application, there is provided an apparatus for marking a virtual object in a virtual environment, the apparatus including: a display module; an input module; and a mark module; The display module is used to display a pick-up list of a first virtual object, the pick-up list is used to display at least one virtual object to be picked up by the first virtual object in the virtual environment, and list items in the pick-up list are arranged along a first direction; The input module is used for receiving a first slide operation on the pick-up list, the first slide operation being an operation on a list item of a target virtual object among the at least one virtual object; the mark module is used to slide a list item of the target virtual object in the pick-up list along a second direction in response to the first sliding operation, and display the target virtual object in a marked state, and the marked state is used to share position information of the target virtual object with a second virtual object; Here, the first direction and the second direction are perpendicular to each other.

[0009] According to another aspect of the present application, there is provided a computing device including a processor and a memory, the memory storing at least one instruction, at least one segment of a program, code set or instruction set, the at least one instruction, at least one segment of a program, code set or instruction set being loaded and executed by the processor to implement a method for marking a virtual object in a virtual environment as described in the above aspect.

[0010] According to another aspect of the present application, there is provided a computer storage medium, the computer readable storage medium having stored thereon at least one program code, the program code being loaded and executed by a processor to implement the method of marking a virtual object in a virtual environment as described in the above aspect.

[0011] According to another aspect of the present application, there is provided a computer program product or a computer program, said computer program product or computer program comprising computer instructions stored in a computer readable storage medium, said computer instructions being read by a processor of a computing device from said computer readable storage medium, said processor executing said computer instructions causing said computing device to perform a method of marking a virtual object in a virtual environment according to the above aspect. Effect of the Invention

[0012] The beneficial effects of the technical solutions provided by the embodiments of the present application at least include:

[0013] For example, the first direction is vertical and the second direction is horizontal, when a pick-up list that slides vertically is displayed, if a user slides horizontally, the target virtual object can be quickly marked. In the marking process, there is no need to additionally control the front sight of the gun of the first virtual object, and a means for quickly marking based on the pick-up list is realized, and the efficiency of marking the virtual object is improved.

[0014] In addition, since the widths of the list items of the target virtual objects in the pick-up list are usually all larger than the display width of the target virtual objects in the virtual environment, the present solution can further reduce the possibility of erroneous touching and improve the accuracy of human-computer interaction operations when marking virtual objects, thereby further improving the marking efficiency for virtual objects.

[0015] In order to make the objectives, technical solutions and advantages of the present application clearer, the following describes the embodiments of the present application in more detail in conjunction with the drawings. [Brief description of the drawings]

[0016] [Figure 1]FIG. 2 is an interface diagram of a method for marking a virtual object in a virtual environment provided by one embodiment of the present application. [Diagram 2] FIG. 2 is a structural schematic diagram of a computer system provided by one embodiment of the present application; [Diagram 3] 1 is a flowchart of a method for marking a virtual object in a virtual environment provided by one embodiment of the present application. [Figure 4] 1 is a flowchart of a method for marking a virtual object in a virtual environment provided by one embodiment of the present application. [Diagram 5] FIG. 2 is an interface diagram of a method for marking a virtual object in a virtual environment provided by one embodiment of the present application. [Figure 6] FIG. 2 is an interface diagram of a method for marking a virtual object in a virtual environment provided by one embodiment of the present application. [Figure 7] FIG. 2 is an interface diagram of a method for marking a virtual object in a virtual environment provided by one embodiment of the present application. [Figure 8] FIG. 2 is an interface diagram of a method for marking a virtual object in a virtual environment provided by one embodiment of the present application. [Figure 9] FIG. 2 is an interface diagram of a method for marking a virtual object in a virtual environment provided by one embodiment of the present application. [Figure 10] FIG. 2 is an interface diagram of a method for marking a virtual object in a virtual environment provided by one embodiment of the present application. [Figure 11] FIG. 2 is an interface diagram of a method for marking a virtual object in a virtual environment provided by one embodiment of the present application. [Figure 12] 1 is a structural diagram of an apparatus for marking a virtual object in a virtual environment provided by one embodiment of the present application; [Figure 13] FIG. 2 is a structural block diagram of a terminal device provided according to an embodiment of the present application; DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0017] First, the nouns related to the embodiments of the present application will be introduced.

[0018] Virtual environment: a virtual environment displayed (or provided) when an application program runs on a terminal device. The virtual environment may be a simulation environment of the real world, a semi-simulated semi-fictional three-dimensional environment, or even a purely fictional three-dimensional environment. The virtual environment may be any one of a two-dimensional virtual environment, a two-and-a-half-dimensional virtual environment, and a three-dimensional virtual environment. In the following embodiment, the virtual environment is described as a three-dimensional virtual environment, but is not limited thereto. The virtual environment is further used for a virtual environment battle between at least two virtual characters.

[0019] Virtual object: refers to a movable object in a virtual environment. The movable object may be a virtual person, a virtual animal, an animated person, etc., such as a person, an animal, a plant, a drum, a wall, a stone, etc. displayed in the virtual environment. Optionally, the virtual object is a three-dimensional solid model constructed based on animation skeleton technology. Each virtual object has its shape and volume in the virtual environment and occupies a part of the space in the virtual environment.

[0020] Virtual object: refers to an immovable object in a virtual environment, and the virtual object may be part of the virtual environment. In some embodiments, the virtual object may be a functional object, for example, a virtual object is an object (e.g., bulletproof vest, helmet, weapon, medical box, etc.) that helps the user-controlled virtual object (or the team in which the virtual object is located) improve the competitiveness of the game. In some embodiments, the virtual object may be a decorative object, for example, a virtual object may be a skin, coat, shoes, headgear, necklace, etc., used to decorate a virtual object, or a virtual object may be an object that decorates another virtual object, for example, a light, ribbon, etc., used to decorate a car.

[0021] Ground coordinate system: When the virtual environment is a three-dimensional virtual environment, there is a ground coordinate system in the three-dimensional virtual environment, which is used to measure parameters such as coordinates, direction vectors, and motion vectors of virtual objects in the three-dimensional virtual environment. Usually, the ground coordinate system includes three coordinate axes: X-axis, Y-axis, and Z-axis. Optionally, the plane on which the X-axis and Z-axis are located is a horizontal plane, i.e., the reference ground, and the upper half axis of the Y-axis represents the height relative to the ground. Here, the attitude parameters of the virtual object in the three-dimensional virtual environment include three-dimensional coordinates (X, Y, Z), where X and Z represent the coordinates of the virtual object relative to the ground, and Y represents the height of the virtual object relative to the ground. Optionally, the attitude parameters of the virtual object in the three-dimensional virtual environment further include pitch angle, yaw angle, and roll angle, etc.

[0022] Pickup List: Used to display a list of virtual objects that can be picked up around the virtual object (e.g., within 15 meters).

[0023] Mark: After adding a mark to a virtual object, the location information of the virtual object can be shared with other virtual objects. For example, after marking a medical kit, the location information of the medical kit can be shared with teammates.

[0024] FIG. 1 shows an interface schematic diagram of a process of marking a virtual object based on a pick-up list 10 provided by an embodiment of the present application. A user controls a virtual object to move in a virtual environment. When the virtual object moves to a specific location in the virtual environment and there is a target virtual object to be picked up on the surrounding ground in the virtual environment, a pick-up list 10 may be displayed on a client terminal, in which a list of multiple virtual objects to be picked up is displayed, and the list of multiple virtual objects is arranged according to a vertical direction.

[0025] If a user wants to mark a virtual object 1, the user can slide the list item 12 of the virtual object 1 horizontally (for example, horizontally to the right or horizontally to the left) in the pick-up list 10, and after sliding horizontally a short distance, the virtual object 1 will be set to a marked state. On the one hand, a mark icon 14 may be displayed on the list item of the virtual object 1, which indicates to the user that the virtual object 1 is in a marked state. On the other hand, a mark buoy may be displayed on the virtual object 1 in the virtual environment, which is used to share the position information of the virtual object 1 with teammates. Even if there is an obstacle between the teammates and the virtual object 1, the virtual object 1 can be easily moved to the marked state. Mark V can be observed passing through obstacles by teammates.

[0026] If a user wants to pick up virtual object 1, he can adopt a trigger operation to trigger the list item of virtual object 1, for example, the trigger operation is a click, a double click, or a long press, etc.

[0027] 2 shows a structural block diagram of a computer system provided by an exemplary embodiment of the present application. The computer system 200 includes a first terminal device 220, a server 240, and a second terminal device 260.

[0028] An application program (also called a client terminal) supporting a virtual environment is installed and operates on the first terminal device 220. The application program may be any one of a virtual reality application program, a three-dimensional map program, a first-person shooting game (FPS), a multiplayer online battle arena game (MOBA), and a multiplayer gunfight-like survival game. The first terminal device 220 is a terminal device used by a first user, and the first user uses the first terminal device 220 to manipulate the movement of a first virtual object located in a virtual environment, the movement including at least one of body posture adjustment, crawling, walking, running, riding, jumping, driving, picking up, shooting, attacking, and throwing, but is not limited thereto. Schematically, the first virtual object is a first virtual person, for example, a simulation person character or an animation person character.

[0029] The first terminal device 220 is connected to the server 240 via a wireless network or a wired network.

[0030] The server 240 includes at least one of a single server, multiple servers, a cloud computing platform, and a virtualization center. The server 240 is used to provide background services to application programs supporting a virtual environment. Optionally, the server 240 performs main computing tasks, and the first terminal device 220 and the second terminal device 260 perform secondary computing tasks, or the server 240 performs secondary computing tasks, and the first terminal device 220 and the second terminal device 260 perform main computing tasks, or the server 240, the first terminal device 220, and the second terminal device 260 adopt a distributed computing architecture to perform collaborative computing.

[0031] An application program supporting the virtual environment is installed and running on the second terminal device 260. The application program may be any one of a virtual reality application program, a 3D map program, an FPS game, a MOBA game, and a multiplayer gunfight-like survival game. The second terminal device 260 is a terminal device used by a second user, and the second user uses the second terminal device 260 to manipulate the movement of a second virtual object located in the virtual environment, the movement including at least one of adjusting body posture, crawling, walking, running, riding, jumping, driving, picking up, shooting, attacking, and throwing, but is not limited thereto. Schematically, the second virtual object is a second virtual person, for example, a simulation person character or an animation person character.

[0032] Optionally, the first virtual person and the second virtual person are in the same virtual environment, for example, for a multi-virtual character match. Optionally, the first virtual person and the second virtual person belong to the same team, organization, have a friendship relationship, or have temporary communication privileges.

[0033] Optionally, the application programs installed in the first terminal device 220 and the second terminal device 260 are the same, or the application programs installed in the two terminal devices are the same type of application programs on different operating system platforms. The first terminal device 220 can broadly and generally refer to one of a plurality of terminal devices, and the second terminal device 260 can broadly and generally refer to one of a plurality of terminal devices, and this embodiment will be described by taking only the first terminal device 220 and the second terminal device 260 as an example. The device types of the first terminal device 220 and the second terminal device 260 are the same or different, and the device types include at least one of a smartphone, a tablet computer, an e-book reader, an MP3 player, an MP4 player, a laptop portable computer, and a desktop computer. The following embodiment will be described by taking the terminal device as an example including a smartphone.

[0034] As can be known by those skilled in the art, the number of the terminal devices may be more or less. For example, the terminal device may be only one, or the terminal devices may be dozens, hundreds, or more. The embodiment of the present application does not limit the number and device type of the terminal devices.

[0035] 3 shows a flowchart of a method for picking up an item in a virtual environment provided by an exemplary embodiment of the present application. This embodiment is described by taking as an example that the method is applied to a terminal device, or a client terminal in the terminal device, or an application program in the terminal device, where the terminal device may be the first terminal device or the second terminal device shown in FIG. 1, and the method includes the following steps (302-306):

[0036] Step 302: Display a pick-up list of a first virtual object. The pick-up list is used for displaying at least one virtual object to be picked up by the first virtual object in the virtual environment, and list items in the pick-up list are arranged along a first direction.

[0037] In some embodiments, the pick-up list is used to display objects near the first virtual object, where the objects near the first virtual object refer to virtual objects whose distances to the first virtual object are equal to or less than a distance threshold. Optionally, the virtual objects displayed in the pick-up list are virtual objects to be picked up by the virtual object.

[0038] The user controls the first virtual object to move in the virtual environment. A location or room in the virtual environment has a virtual object to be picked up. After the user controls the first virtual object to move to the location or room in the virtual environment, a pick-up list of the first virtual object is displayed.

[0039] Exemplarily, the pick-up list is automatically popped up and displayed when the distance between the virtual object to be picked up and the first virtual object is smaller than a distance threshold, or the pick-up list is popped up and displayed when the user manually triggers an open entry of the pick-up list.

[0040] The pick-up list is used to display at least one virtual object to be picked up by the first virtual object in the virtual environment. Optionally, a distance between the virtual objects in the pick-up list and the first virtual object is less than a distance threshold. Optionally, the virtual objects in the pick-up list are virtual objects for which the first virtual object has pick-up authority.

[0041] When there are multiple virtual objects, the multiple list items in the pick-up list are arranged along the first direction, and each list item corresponds to one or one kind of virtual object. The ordering method between the multiple virtual objects may be arranged according to the distance, or according to the value, or according to the degree of matching of needs with the first virtual object, for example, if the first virtual object does not yet have a helmet item, the helmet object is ordered first, or if the first virtual object is in an injured state, the medical kit is ordered first.

[0042] Optionally, the pick-up list is used to display virtual objects to be picked up, for example, virtual objects to be picked up by the first virtual object and / or virtual objects to be picked up by other virtual objects other than the first virtual object.

[0043] In addition to the fact that the virtual objects in the pick-up list may be objects to be picked up by the first virtual object, in some embodiments, the virtual objects in the pick-up list may be virtual objects whose object information the first virtual object can check but cannot pick up. In some embodiments, the first direction may be a horizontal direction or a vertical direction (also referred to as a horizontal direction or a vertical direction), that is, the pick-up list may be arranged in a row or a column according to a linear direction such as a horizontal direction (i.e., arranged from left to right) or a vertical direction (arranged up and down).

[0044] In some embodiments, the pick-up list may be a table in which list items are arranged horizontally (i.e., arranged left to right) and vertically (i.e., arranged up to down) in multiple rows and multiple columns, for example, two rows and multiple columns, two columns and multiple rows, etc.

[0045] In some embodiments, the arrangement direction of the list items in the pick-up list (i.e., the first direction) may not be a straight line, but may be a circular arc or a sector arranged along a circumference, or may even be other directions, and the embodiments of the present application are not specifically limited in this regard.

[0046] Step 304: Receive a first slide operation on the pick-up list.

[0047] In some embodiments, the first slide operation is an operation on a list item of a target virtual object among at least one virtual object. Here, the target virtual object may be one virtual object or may be multiple virtual objects, and the embodiment of the present application does not specifically limit this, and the number of list items corresponding to the target virtual object may be one or multiple, and the embodiment of the present application does not specifically limit this. For example, a certain list item in the pick-up list is used to display a certain virtual object, and the first slide operation is a slide operation on the one list item in the pick-up list (i.e., on the one virtual object). Also, for example, in the pick-up list, each list item is used to display at least one virtual object, and the first slide operation is a slide operation on multiple list items in the pick-up list, and in this case, the multiple virtual objects corresponding to the multiple list items are, i.e., the target virtual object. Also, for example, for some or all of the list items in the pick-up list, multiple virtual objects can be displayed on one list item, and the first slide operation is a slide operation on one of the list items, in which case the target virtual objects are the multiple virtual objects displayed on the one list item.

[0048] Selectably, a width of the corresponding list item of the target virtual object is greater than a display width of the target virtual object in the virtual environment. Selectably, the target virtual object is a virtual object slid by the first slide operation among the at least one virtual object.

[0049] The slide direction of the first slide operation is perpendicular or substantially perpendicular to the first direction. Schematically, when the list items in the pick-up list are arranged vertically, the slide direction of the first slide operation is horizontal or substantially horizontal, and when the list items in the pick-up list are arranged horizontally, the slide direction of the first slide operation is vertical or substantially vertical.

[0050] In some embodiments, when the pick-up list has two rows and multiple columns, the slide direction of the first slide operation is vertical. For example, the slide direction of the first slide operation is upward for a list item in a relatively upper row, and downward for a list item in a relatively lower row. Selectably, when the pick-up list has two rows and multiple columns, the slide direction of the first slide operation may be vertical regardless of the list item in a relatively upper row or the list item in a relatively lower row, i.e., the slide direction of the first slide operation may be upward or downward.

[0051] In some embodiments, when the pick-up list has two columns and multiple rows, the slide direction of the first slide operation is horizontal. For example, the slide direction of the first slide operation is leftward for a row of list items on the left side, and the slide direction of the first slide operation is rightward for a row of list items on the right side. Selectably, when the pick-up list has two columns and multiple rows, the slide direction of the first slide operation may be horizontal regardless of whether the list items are on the left side or on the right side, i.e., the slide direction of the first slide operation may be leftward or rightward.

[0052] Optionally, regardless of the shape of the list items or how they are arranged, the sliding direction of the first sliding operation only needs to match a preset sliding condition, and the sliding direction of the first sliding operation does not need to be related to the shape and arrangement of the list items. For example, if the list items are arranged in a circular shape, a horizontal or vertical sliding operation can mark the corresponding virtual object in the list item.

[0053] Step 306: In response to the first sliding operation, slide the list item of the target virtual object along a second direction in the pick-up list, and display the target virtual object in a marked state, where the marked state is used to share position information of the target virtual object with a second virtual object.

[0054] In some embodiments, the second virtual object is a teammate of the first virtual object and / or the second virtual object is a virtual object in the same game as the first virtual object. By setting the target virtual object to a marked state, the second virtual object (corresponding user) can determine the location of the target virtual object by checking the mark on the target virtual object, and then find and pick up the target virtual object.

[0055] Optionally, the position information of the target virtual object includes coordinates of the target virtual object in a ground coordinate system.

[0056] In some embodiments, the marked state is used to prompt the first virtual object (corresponding user) to locate the target virtual object. For example, for some virtual objects that have a pick-up condition (for example, only virtual objects with medical attributes or healing attributes can pick up certain medical supplies), if the first virtual object does not meet the pick-up condition of the virtual object, the first virtual object cannot pick up the virtual object, but can check the information of the virtual object through a pick-up list and mark the location of the virtual object, and re-pick it up after the first virtual object meets the pick-up condition of the virtual object, or prompt a teammate who meets the pick-up condition to pick up the virtual object.

[0057] Exemplarily, the first direction and the second direction are perpendicular. When the first direction is vertical, the second direction is horizontal, and when the first direction is horizontal, the second direction is vertical. Or, when the first direction is horizontal, the second direction is vertical, and when the first direction is vertical, the second direction is horizontal.

[0058] In some embodiments, the first direction and the second direction may not be perpendicular, for example, if the first direction is a circular arc or circumferential direction, the second direction may overlap (or nearly overlap) with a line on which the radius of the circular arc or circumference lies.

[0059] In some embodiments, the first direction and the second direction are parallel or overlap. Optionally, the slide direction of the first slide operation is the same as or approximately the same as the first direction, in which case the slide direction of the list item of the target virtual object (i.e., the second direction) is parallel to or overlaps with the first direction. For example, a plurality of list items in the pick-up list are arranged in a horizontal direction (i.e., arranged according to the first direction), the first slide operation is a horizontal slide operation on the list item of the target virtual object, in which case the list item of the target virtual object may slide in a horizontal direction (i.e., slide along the second direction), and the target virtual object is displayed in a marked state.

[0060] As described above, in the method provided by the present embodiment, the first direction is vertical and the second direction is horizontal, and when a pick-up list that slides along the vertical direction is displayed, if a user's slide operation that slides along the horizontal direction is received, the target virtual object can be quickly marked. In the marking process, there is no need to additionally control the front sight of the gun of the first virtual object, and a means for quickly marking based on the pick-up list is realized, and the marking efficiency of the virtual object is improved. In addition, since the width of the list items of the target virtual object in the pick-up list is usually larger than the display width of the target virtual object in the virtual environment, the present solution can further reduce the possibility of erroneous touching and improve the accuracy of human-computer interaction operation when marking a virtual object, thereby further improving the marking efficiency of the virtual object.

[0061] 4 shows a flowchart of a method for picking up an item in a virtual environment provided by an exemplary embodiment of the present application. This embodiment is described by taking as an example that the method is applied to a terminal device, or a client terminal in the terminal device, or an application program in the terminal device, where the terminal device may be the first terminal device or the second terminal device shown in FIG. 1, and the method includes the following steps (402 to 424):

[0062] Step 402: Display a pick-up list of a first virtual object, where the pick-up list is used to display at least one virtual object to be picked up by the first virtual object in the virtual environment, and the list items in the pick-up list are arranged along a first direction.

[0063] The pick-up list is used to display at least one virtual object to be picked up by the first virtual object in the virtual environment. Optionally, a distance between the virtual objects in the pick-up list and the first virtual object is less than a distance threshold. Optionally, the virtual objects in the pick-up list are virtual objects for which the first virtual object has pick-up authority.

[0064] When there are multiple virtual objects, the multiple list items in the pick-up list are arranged along the first direction, and each list item corresponds to one or one kind of virtual object. The ordering of the multiple virtual objects may be arranged according to the distance between the virtual objects, or according to the value of the virtual objects, or according to the degree of matching of the needs with the first virtual object.

[0065] Step 404: Receive a first slide operation on the pick-up list.

[0066] The slide direction of the first slide operation is perpendicular or substantially perpendicular to the first direction. Schematically, when the list items in the pick-up list are arranged vertically, the slide direction of the first slide operation is horizontal or substantially horizontal, and when the list items in the pick-up list are arranged horizontally, the slide direction of the first slide operation is vertical or substantially vertical.

[0067] In a scene in which the terminal device employs a touch panel to perform interaction, the first slide operation is collected or received by the touch panel, in a scene in which the terminal device employs a mouse to perform interaction, the first slide operation is collected or received by the mouse, and in a scene in which the terminal device employs a steering wheel to perform interaction, the first slide operation is collected or received by the touchpad on the steering wheel.

[0068] Step 406: If the sliding direction of the first sliding operation is the second direction or substantially the second direction, the list item of the target virtual object is slid along the second direction in the pick-up list.

[0069] When the sliding direction of the first sliding operation is the second direction or substantially the second direction, the list item of the target virtual object is slid along the second direction in the pick-up list in accordance with the first sliding operation.

[0070] In the process of sliding the list item of the target virtual object, the display of a part located at one end of the list item of the target virtual object and removed from the edge of the pick-up list can be canceled, and a newly appeared blank part located at the other end can be added so as to be displayed with a fill color.

[0071] In some embodiments, in the process of sliding the list item of the target virtual object, the list item of the target virtual object exceeds the boundary of the pick-up list with a first sliding operation.

[0072] In the process of determining that the sliding direction of the first sliding operation is the second direction or substantially the second direction, at least one of the following two different determination methods can be adopted.

[0073] First type: When the included angle between the sliding direction of the first sliding operation and the second direction is smaller than an angle threshold, the list item of the target virtual object is slid along the second direction in the pick-up list.

[0074] The sliding direction of the first sliding operation can be determined by two position points in the sliding trajectory, and assuming that there are a front position point and a rear position point in the sliding trajectory, the direction from the front position point to the rear position point is the sliding direction of the first sliding operation. The front position point and the rear position point may be two position points with a difference of one frame, or may be two position points with a difference of a certain time length.

[0075] 5, taking the second direction as an example, the angle threshold is α, and if the included angle between the sliding direction of the first sliding operation and the horizontal right direction is less than (or equal to) half the angle threshold (i.e., α / 2), it is determined that the sliding direction of the first sliding operation is the second direction or approximately the second direction, and the list item 12 of the target virtual object is slid along the second direction in the pick-up list. Illustratively, half the angle threshold (α / 2) is 30°, that is, the angle threshold α is 60°.

[0076] Second type: When the slide position in the slide direction of the first slide operation is within a slide range area corresponding to the second direction, the list item of the target virtual object is slid along the second direction in the pick-up list.

[0077] The sliding range region corresponding to the second direction is a sliding range that has the second direction as a center line and is limited so that both sides do not exceed the angle threshold value.

[0078] 5, taking the second direction as the horizontal right direction as an example, a slide range area 15 in which the included angle with the horizontal right direction is smaller than half (α / 2) of the angle threshold is set as the slide range area corresponding to the horizontal right direction, and when the slide position of the first slide operation does not exceed the slide range area 15, it is determined that the slide direction of the first slide operation is the second direction or approximately the second direction, and the list item 12 of the target virtual object is slid along the second direction in the pick-up list. Here, the slide range area 15 can refer to the shaded area filled with diagonal lines in FIG. 5.

[0079] Conversely, as shown with reference to Fig. 6, when the slide position of the first slide operation exceeds the slide range area 15 and is located in another slide range area 16, the slide direction of the first slide operation is determined to be the first direction or approximately the first direction, and the list items in the pick-up list are slid along the first direction. Here, the slide range area 16 can refer to the shaded area filled with dots in Fig. 6.

[0080] In the embodiment of the present application, by limiting the included angle between the sliding direction of the first sliding operation and the second direction within an angle threshold and / or limiting the sliding position within a sliding range area, a sliding operation within the angle threshold and / or sliding range area can be regarded as a valid operation. Therefore, the sliding direction of the first sliding operation does not need to be completely parallel to or overlap with the second direction, thereby improving the convenience of the operation, and also, due to the limitation of the angle threshold and / or the sliding range area, the sliding direction or sliding position of the first sliding operation will not be too biased, thereby reducing the probability of erroneous operation.

[0081] Step 408: If the sliding distance of the list item of the target virtual object in the second direction reaches a first distance threshold, set the target virtual object to a marked state.

[0082] Selectively, when the sliding distance in the second direction of the listing item of the target virtual object reaches a first distance threshold, the target virtual object is set to a marked state, and the target virtual object is displayed in the marked state. Schematically, the first distance threshold is one-third or one-half of the length (or width) of the listing item of the target virtual object, and the present application does not limit the specific size of the first distance threshold.

[0083] 7, when the sliding distance in the second direction of the list item of the target virtual object does not reach the first distance threshold, a color block 13 filled with a first color is displayed on the left side of the list item of the target virtual object, indicating that the mark has not been successful, and when the sliding distance in the second direction of the list item of the target virtual object reaches the first distance threshold, a color block 13 filled with a second color is displayed on the left side of the list item of the target virtual object, indicating that the mark has already been successful. At this time, the user releases his / her hand to end the first sliding operation, in which case the marking of the target virtual object is completed.

[0084] It is necessary to explain that the first distance threshold is a threshold designed to prevent erroneous operation, and the first distance threshold is a selectable design. By adding the first distance threshold as a judgment condition for whether to mark a virtual object, it is possible to reduce abnormal marks caused by a user's erroneous touch and improve the accuracy during human-computer interaction.

[0085] Step 410: Display a mark buoy above the target virtual object located in the virtual environment, where the mark buoy is used to share position information of the target virtual object with a second virtual object.

[0086] Simultaneously with or after setting the target virtual object to the marked state, a mark buoy is displayed above the target virtual object located in the virtual environment, and the mark buoy may be a two-dimensional graphic or a three-dimensional virtual identifier. Optionally, the mark buoy may be displayed at other positions near the target virtual object in the virtual environment, for example, to the left, right, or below the target virtual object, and the mark buoy may further be displayed superimposed on the target virtual object, and the embodiment of the present application is not specifically limited thereto.

[0087] Optionally, the distance (eg, display distance) between the target virtual object located in the virtual environment and the marked state is less than or equal to a third distance threshold.

[0088] 8, the mark buoy 18 displays the object name of the target virtual object and the distance between the target virtual object and a virtual object controlled by a user account logged into the client terminal. In the client terminal corresponding to the first virtual object, the distance is displayed as the distance between the target virtual object and the first virtual object, and in the client terminal corresponding to the second virtual object, the distance is the distance between the target virtual object and the second virtual object.

[0089] Optionally, the mark buoy 18 has an attribute that allows it to be viewed through obstacles. Even if there is an obstacle such as a building or a vehicle between the second virtual object and the target virtual object, the mark buoy 18 can be viewed on the client terminal of the second virtual object. As a result, while marking the virtual object, the occlusion of the virtual environment by the mark buoy is reduced, and the field of view for the user to observe the virtual environment is guaranteed as much as possible.

[0090] Step 412: Display a mark icon on the list item of the target virtual object, where the mark icon is used to indicate that the target virtual object is in a marked state.

[0091] Simultaneously with or after setting the target virtual object to the marked state, a mark icon is displayed on the listing of the target virtual object in the pick-up list, and the mark icon is used to indicate that the target virtual object is in the marked state.

[0092] Optionally, the marked state has a valid time length, and if the valid time length is exceeded, the marked state of the target virtual object is cancelled, or the marked state of the target virtual object is cancelled after the second virtual object or the first virtual object picks up the target virtual object.

[0093] Schematically, as shown in FIG. 9, when the sliding distance in the second direction of the list item of the target virtual object does not reach the first distance threshold, a color block 13 filled with a first color is displayed to the left of the list item of the target virtual object, indicating that the mark has not been successful, and when the sliding distance in the second direction of the list item of the target virtual object reaches the first distance threshold, a color block 13 filled with a second color and a mark icon 14 are displayed to the left of the list item of the target virtual object, indicating that the mark has already been successful.

[0094] Selectively, as shown in FIG. 1, after the user releases his / her hand to cancel the first sliding operation, the display of the filled color block 13 is cancelled, and the mark icon 14 is moved and displayed at the upper right corner of the list item of the target virtual object.

[0095] In this embodiment, a mark icon is displayed on the list item of a virtual object to indicate that the position of the virtual object is marked. This eliminates the need for the user to check whether or not each virtual object has a mark buoy in the virtual environment. The user can know the marked status of the virtual object by simply checking the mark icon of the virtual object in the pick-up list where the virtual objects are concentrated and displayed, thereby improving the convenience for the user to check the marked status of the virtual object.

[0096] Step 414: A second slide operation on the pick-up list is received.

[0097] In some embodiments, the second slide operation is a slide operation on the listing of the target virtual object.

[0098] The sliding direction of the second sliding operation is perpendicular or substantially perpendicular to the first direction. Schematically, when the list items in the pick-up list are arranged vertically, the sliding direction of the second sliding operation is horizontal or substantially horizontal, and when the list items in the pick-up list are arranged horizontally, the sliding direction of the second sliding operation is vertical or substantially vertical.

[0099] In a scene in which the terminal device employs a touch panel for interaction, the second slide operation is collected or received by the touch panel, in a scene in which the terminal device employs a mouse for interaction, the second slide operation is collected or received by the mouse, and in a scene in which the terminal device employs a steering wheel for interaction, the second slide operation is collected or received by the touchpad on the steering wheel.

[0100] Step 416: In response to the second sliding operation, slide the list item of the target virtual object along a second direction in the pick-up list, and set the target virtual object to an unmarked state.

[0101] When the sliding direction of the second sliding operation is the second direction or approximately the second direction, the list item of the target virtual object is slid along the second direction in the pick-up list in accordance with the second sliding operation, the target virtual object is set to an unmarked state, and the target virtual object is displayed in an unmarked state.

[0102] In the process of determining that the sliding direction of the second sliding operation is the second direction or substantially the second direction, at least one of the following two different determination methods can be adopted.

[0103] First type: When the included angle between the sliding direction of the second sliding operation and the second direction is smaller than an angle threshold, the list item of the target virtual object is slid along the second direction in the pick-up list.

[0104] The sliding direction of the second sliding operation can be determined by two position points in the sliding trajectory, and assuming that there are a front position point and a rear position point in the sliding trajectory, the direction from the front position point to the rear position point is the sliding direction of the second sliding operation. The front position point and the rear position point may be two position points with a difference of one frame, or may be two position points with a difference of a certain length of time.

[0105] Second type: When the slide position in the slide direction of the second slide operation is within a slide range area corresponding to the second direction, the list item of the target virtual object is slid along the second direction in the pick-up list.

[0106] The sliding range region corresponding to the second direction is a sliding range that has the second direction as a center line and is limited so that both sides do not exceed the angle threshold value.

[0107] Schematically, when the sliding direction of the second sliding operation is the second direction or approximately the second direction, the list item of the target virtual object is slid along the second direction in the pick-up list in accordance with the second sliding operation, and when the sliding distance of the list item of the target virtual object in the second direction reaches a second distance threshold, the target virtual object is set to an unmarked state.

[0108] Typically, the second distance threshold is one-third or one-half of the length of the listing of the target virtual object, and the present application does not limit the specific size of the second distance threshold.

[0109] It should be noted that the second distance threshold is a threshold designed to prevent erroneous operation, and the second distance threshold is a selectable design.

[0110] It is necessary to explain that the horizontal direction includes the horizontal right direction and the horizontal left direction. The sliding directions of the first sliding operation and the second sliding operation may be the same or different (e.g., opposite). For example, the sliding direction of the first sliding operation is the horizontal right direction, and the sliding direction of the second sliding operation is also the horizontal right direction, and for example, the sliding direction of the first sliding operation is the horizontal right direction, and the sliding direction of the second sliding operation is the horizontal left direction.

[0111] In the embodiment of the present application, one sliding operation can change the virtual object from an unmarked state to a marked state, and another sliding operation can change the virtual object from a marked state to an unmarked state, so that the marked state of the virtual object can be quickly and conveniently switched by the sliding operation, and the operation convenience of human-computer interaction is improved.

[0112] Step 418: Cancel displaying the mark buoy of the target virtual object in the virtual environment.

[0113] In some embodiments, a mark buoy is displayed above a target virtual object located in the virtual environment, and the mark buoy is used to share position information of the target virtual object with a second virtual object.

[0114] A mark icon is selectively displayed on the list item of the target virtual object in a marked state, i.e., the display of the mark icon on the list item of the target virtual object is cancelled. When the second sliding operation satisfies a condition for cancelling the mark, the display of the mark icon on the list item of the target virtual object is cancelled.

[0115] Step 420: Cancel display of the mark icon on the list item of the target virtual object.

[0116] A mark icon is displayed selectably on the list item of the target virtual object in the marked state. In response to the second sliding operation satisfying a condition for canceling the mark, the display of the mark icon on the list item of the target virtual object is canceled.

[0117] Step 422: A third slide operation on the pick-up list is received.

[0118] The sliding direction of the third sliding operation is the first direction or approximately the first direction. Schematically, when the list items in the pick-up list are arranged vertically, the sliding direction of the third sliding operation is the vertical direction or approximately the vertical direction, and when the list items in the pick-up list are arranged horizontally, the sliding direction of the first sliding operation is the horizontal direction or approximately the horizontal direction.

[0119] In a scene in which the terminal device employs a touch panel for interaction, the third slide operation is collected or received by the touch panel, in a scene in which the terminal device employs a mouse for interaction, the third slide operation is collected or received by the mouse, and in a scene in which the terminal device employs a steering wheel for interaction, the third slide operation is collected or received by the touchpad on the steering wheel.

[0120] Step 424: In response to the third sliding operation, the list items in the pickup list are slid along the first direction and displayed.

[0121] For example, if the first direction is the vertically upward direction, in response to a third sliding operation in the vertically upward direction, the list items in the pickup list are slid and displayed along the vertically upward direction, and if the first direction is the vertically downward direction, in response to a third sliding operation in the vertically downward direction, the list items in the pickup list are slid and displayed / scrolled along the vertically downward direction. That is, if the position and size of the display area in which the pickup list is located do not change due to the third sliding operation on the pickup list, the list items in the pickup list are scrolled and displayed.

[0122] Schematically, when one list item is used only to display one or one type of virtual object, the pick-up list displays four or four list items of the virtual objects to be picked up by default (i.e., the pick-up list can display up to four list items at the same time).When there are more than four list items of the pick-up-available virtual objects, the user can slide the list items in the pick-up list using the third slide operation.

[0123] It is necessary to explain that the present embodiment takes the second direction as the horizontal right direction as an example for description.

[0124] As described above, in the method provided by the present embodiment, for example, the first direction is vertical and the second direction is horizontal, when a pick-up list that slides along the vertical direction is displayed, if a user slides along the horizontal direction, the target virtual object can be quickly marked. In the marking process, there is no need to additionally control the front sight of the gun of the first virtual object, and a means for quickly marking based on the pick-up list is realized, and the marking efficiency for the virtual object is improved. In addition, since the width of the list items of the target virtual object in the pick-up list is usually larger than the display width of the target virtual object in the virtual environment, the present solution can further reduce the possibility of erroneous touching and improve the accuracy during human-computer interaction.

[0125] The method provided in this embodiment adds a first distance threshold and a second distance threshold as conditions for determining whether to mark a virtual object or cancel the mark, thereby reducing abnormal marks caused by a user's erroneous touch and improving accuracy during human-computer interaction.

[0126] In one specific example, it is assumed that a list item of a target virtual object on the pick-up list is divided into a horizontal slide range area 66 and a vertical slide range area 68, and the horizontal slide range area 66 includes the lattice-filled area and the diagonal-lined area in Fig. 10, and the vertical slide range area 68 includes the white-filled area and the dot-matrix-filled area in Fig. 10. As shown in Fig. 11, the marking process includes the following steps (01 to 10).

[0127] Step 01: Start.

[0128] Step 02: The user presses and slides the target virtual object on the pick-up list.

[0129] Step 03: Divide the slide region according to a preset α value.

[0130] The area is divided into a horizontal sliding range region 66 and a vertical sliding range region 68 according to a preset α value. The horizontal sliding range region 66 is an included angular region not exceeding ±α / 2 in the horizontal direction, and the vertical sliding range region 68 is a region other than the horizontal sliding range region 66.

[0131] As shown in FIG. 10, the horizontal slide range region 66 includes the checkered region and the hatched region in FIG. 10, and the vertical slide range region 68 includes the white region and the dot matrix region in FIG.

[0132] Step 04: Determine which area the slide direction should face.

[0133] When sliding toward the horizontal slide range area 66, step 05 is executed, and when sliding toward the vertical slide range area 68, step 06 is executed.

[0134] Step 05: The result of the determination is a horizontal slide.

[0135] Step 06: The result of the determination is vertical sliding.

[0136] Step 07: Continue sliding until the distance threshold is reached, and then cancel the sliding operation.

[0137] If the determination result is a lateral slide, it is continuously determined whether or not the slide distance before the slide of the slide operation is ended exceeds the distance threshold value.

[0138] If the slide distance before ending the slide reaches the distance threshold, execute step 08; if the slide distance before ending the slide does not reach the distance threshold, cancel the mark.

[0139] Step 08: Complete marking of the target virtual object.

[0140] Step 09: View the features of each virtual object to be picked up by triggering the sliding display of list items in the pick-up list.

[0141] Step 10: Finish.

[0142] FIG. 12 shows a block diagram of an apparatus for marking a virtual object in a virtual environment provided by one exemplary embodiment of the present application, the apparatus including a display module 1220, an input module 1240, and a mark module 1260.

[0143] The display module 1220 is used to display a pick-up list of a first virtual object, the pick-up list is used to display at least one virtual object to be picked up by the first virtual object in the virtual environment, and the list items in the pick-up list are arranged along a first direction.

[0144] The input module 1240 is used for receiving a first slide operation on the pick-up list, where the first slide operation is an operation on a list item of a target virtual object among the at least one virtual object.

[0145] The mark module 1260 is used to slide a list item of the target virtual object along a second direction in the pick-up list in response to the first slide operation, and display the target virtual object in a marked state, and the marked state is used to share position information of the target virtual object with a second virtual object.

[0146] In one optional design of this embodiment, the mark module 1260 is used to slide the list item of the target virtual object along the second direction in the pick-up list and display the target virtual object in a marked state when an included angle between the sliding direction of the first sliding operation and the second direction is smaller than an angle threshold value; or to slide the list item of the target virtual object along the second direction in the pick-up list and display the target virtual object in a marked state when a sliding position of the first sliding operation is within a sliding range area corresponding to the second direction.

[0147] In one optional design of this embodiment, the mark module 1260 is used to slide a list item of the target virtual object along the second direction in the pick-up list when an included angle between a sliding direction of the first sliding operation and the second direction is smaller than the angle threshold, and to display the target virtual object in a marked state when a sliding distance of the list item of the target virtual object in the second direction reaches a first distance threshold.

[0148] In one optional design of this embodiment, the mark module 1260 is used to slide a list item of the target virtual object along the second direction in the pick-up list when the sliding position of the first sliding operation is within a sliding range area corresponding to the second direction, and display the target virtual object in a marked state when the sliding distance of the list item of the target virtual object in the second direction reaches a first distance threshold.

[0149] In one optional design of this embodiment, the display module 1220 is further used to display a mark buoy above the target virtual object located in the virtual environment, and the mark buoy is used to share position information of the target virtual object with the second virtual object, where the mark buoy has an attribute that allows it to be seen through obstacles.

[0150] In one alternative design of this embodiment, the display module 1220 is used to display a mark icon on a listing item of the target virtual object, and the mark icon is used to indicate that the target virtual object is in the marked state.

[0151] In one optional design of this embodiment, the input module 1240 is further used for receiving a second sliding operation on the pick-up list, the second sliding operation being an operation on the list item of the target virtual object, and the mark module 1260 is used for sliding the list item of the target virtual object along the second direction in the pick-up list in response to the second sliding operation, and displaying the target virtual object in an unmarked state.

[0152] In one optional design of this embodiment, the mark module 1260 is used to slide a listing item of the target virtual object along the second direction in the pick-up list in response to the second sliding operation, and display the target virtual object in the unmarked state when the sliding distance of the listing item of the target virtual object in the second direction reaches a second distance threshold.

[0153] In one optional design of this embodiment, the display module 1220 is further used to cancel the display of a mark buoy of the target virtual object in the virtual environment, and the mark buoy is used to share the position information of the target virtual object with a second virtual object.

[0154] In one alternative design of this embodiment, the display module 1220 is further used to cancel the display of a mark icon on the listing item of the target virtual object, and the mark icon is used to indicate that the target virtual object is in the marked state.

[0155] In one alternative design of this embodiment, the first direction and the second direction are perpendicular.

[0156] In one alternative design of this embodiment, the first direction is a vertical direction and the second direction is a horizontal direction, or the first direction is a horizontal direction and the second direction is a vertical direction.

[0157] 13 shows a structural block diagram of a terminal device 1300 provided by one exemplary embodiment of the present application. The terminal device 1300 may be a portable mobile terminal device, such as a smartphone, a tablet computer, a Moving Picture Experts Group Audio Layer III (MP3) player, or a Moving Picture Experts Group Audio Layer IV (MP4) player. The terminal device 1300 may also be called a user device, a portable terminal device, or other names.

[0158] Typically, the terminal device 1300 includes a processor 1301 and a memory 1302 .

[0159] The processor 1301 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1301 may be implemented using at least one hardware format of a digital signal processing (DSP), a field-programmable gate array (FPGA), or a programmable logic array (PLA). The processor 1301 may include a main processor and a coprocessor, where the main processor is a processor used to process data in a wake state and is also called a central processing unit (CPU), and the coprocessor is a low-power processor used to process data in a standby state. In some embodiments, the processor 1301 may be integrated with a graphics processing unit (GPU), where the GPU is responsible for rendering and creating content that needs to be displayed on a display screen. In some embodiments, the processor 1301 may further include an artificial intelligence (AI) processor, which is used to process computational operations related to machine learning.

[0160] The memory 1302 may include one or more computer-readable storage media, which may be tangible and non-transitory. The memory 1302 may further include high-speed random access memory and non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 1302 is used to store at least one instruction, which is executed by the processor 1301 to implement the method provided by the embodiment of the present application. In some embodiments, the terminal device 1300 may further include a peripheral interface 1303 and at least one peripheral device, which may be selected. Specifically, the peripheral device may include at least one of a radio frequency circuit 1304, a touch display screen 1305, an audio circuit 1306, and a power source 1307.

[0161] The peripheral interface 1303 can be used to couple at least one peripheral device related to input / output (I / O) to the processor 1301 and the memory 1302. In some embodiments, the processor 1301, the memory 1302, and the peripheral interface 1303 are integrated on the same chip or circuit board, and in some other embodiments, any one or two of the processor 1301, the memory 1302, and the peripheral interface 1303 may be implemented on a single chip or circuit board, and this embodiment is not limited in this respect.

[0162] The radio frequency circuit 1304 is used to transmit and receive radio frequency (RF) signals (also called electromagnetic signals). The radio frequency circuit 1304 communicates with communication networks and other communication devices through electromagnetic signals. The radio frequency circuit 1304 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. Optionally, the radio frequency circuit 1304 includes an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, and a user ID module card, etc. The radio frequency circuit 1304 can communicate with other terminal devices through at least one wireless communication protocol. The wireless communication protocols include, but are not limited to, the World Wide Web, metropolitan area networks, intranets, mobile communication networks of various generations (2G, 3G, 4G, and 5G), wireless LANs, and / or Wireless Fidelity (WiFi) networks. In some embodiments, the radio frequency circuitry 1304 may further include circuitry related to Near Field Communication (NFC), although the present application is not limited in this regard.

[0163] The touch display screen 1305 is used to display the UI. The UI may include graphics, text, icons, videos, and any combination thereof. The touch display screen 1305 is further capable of collecting touch signals on or above the surface of the touch display screen 1305. The touch signals may be input as control signals to the processor 1301 for processing. The touch display screen 1305 is used to provide soft buttons and / or virtual buttons, also called soft keyboards, and / or virtual keyboards. In some embodiments, the touch display screen 1305 may be one and is located on the front panel of the terminal device 1300, in some other embodiments, the touch display screen 1305 may be at least two and each is located on a different surface of the terminal device 1300 or designed to be folded, and in some other embodiments, the touch display screen 1305 may be a flexible display screen and is located on a bending or folding surface of the terminal device 1300. Alternatively, the touch display screen 1305 may be installed in an irregular shape other than a rectangle, i.e., as a irregularly shaped screen. The touch display screen 1305 may be manufactured using materials such as a Liquid Crystal Display (LCD) and an Organic Light-Emitting Diode (OLED).

[0164] The audio circuit 1306 is used to provide an audio interface between the user and the terminal device 1300. The audio circuit 1306 may include a microphone and a speaker. The microphone is used to collect sound waves of the user and the environment, and convert the sound waves into electrical signals to be input to the processor 1301 for processing, or to the radio frequency circuit 1304 for realizing voice communication. For the purpose of stereo collection or noise reduction, the microphones may be multiple, and each microphone is installed at a different position of the terminal device 1300. The microphone may further be an array microphone, or an omnidirectional collection microphone. The speaker is used to convert the electrical signal from the processor 1301 or the radio frequency circuit 1304 into an audio wave. The speaker may be a conventional film speaker, or may be a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signal into an audio wave that can be heard by humans, but also convert the electrical signal into an audio wave that cannot be heard by humans, and can be used for distance measurement and other applications. In some embodiments, the audio circuit 1306 may further include a headphone insertion hole.

[0165] The power source 1307 is used to power each unit in the terminal device 1300. The power source 1307 may be AC ​​power, DC power, a disposable battery, or a rechargeable battery. When the power source 1307 includes a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. The wired rechargeable battery is a battery that is recharged through a wired line, and the wireless rechargeable battery is a battery that is recharged through a wireless coil. The rechargeable battery may also be used to support fast charging technology.

[0166] In some embodiments, the terminal device 1300 further includes one or more sensors 1308. The one or more sensors 1308 include, but are not limited to, an acceleration sensor 1309, a gyroscope sensor 1310, a pressure sensor 1311, an optical sensor 1312, and a proximity sensor 1313.

[0167] The acceleration sensor 1309 can detect the magnitude of acceleration on three coordinate axes of a coordinate system created by the terminal device 1300. For example, the acceleration sensor 1309 is used to detect components of gravitational acceleration on three coordinate axes. The processor 1301 can control the touch display screen 1305 to display a user interface in a horizontal view or a vertical view according to the gravitational acceleration signal collected by the acceleration sensor 1309. The acceleration sensor 1309 is further used for games or for collecting user motion data.

[0168] The gyroscope sensor 1310 can detect the orientation and rotation angle of the main body of the terminal device 1300, and the gyroscope sensor 1310 can cooperate with the acceleration sensor 1309 to collect the user's 3D motion with respect to the terminal device 1300. The processor 1301 can realize the following functions according to the data collected by the gyroscope sensor 1310, including motion detection (e.g., changing the UI according to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.

[0169] The pressure sensor 1311 can be installed on a side frame of the terminal device 1300 and / or on a lower layer of the touch display screen 1305. When the pressure sensor 1311 is installed on a side frame of the terminal device 1300, it can detect a user's gripping signal on the terminal device 1300, and distinguish between left and right hands or perform shortcut operations according to the gripping signal. When the pressure sensor 1311 is installed on a lower layer of the touch display screen 1305, it can realize control of operable control members on the UI interface according to the user's pressure operation on the touch display screen 1305. The operable control members include at least one of a button control member, a scroll bar control member, an icon control member, and a menu control member.

[0170] The optical sensor 1312 is used to collect the intensity of the ambient light. In one embodiment, the processor 1301 can control the display brightness of the touch display screen 1305 according to the intensity of the ambient light collected by the optical sensor 1312. Specifically, when the intensity of the ambient light is relatively high, the display brightness of the touch display screen 1305 is adjusted to be high, and when the intensity of the ambient light is relatively low, the display brightness of the touch display screen 1305 is adjusted to be low.

[0171] The proximity sensor 1313 is also called a distance sensor and is usually installed on the front of the terminal device 1300. The proximity sensor 1313 is used to collect the distance between the user and the front of the terminal device 1300. In one embodiment, when the proximity sensor 1316 detects that the distance between the user and the front of the terminal device 1300 is gradually decreasing, the processor 1301 controls the touch display screen 1305 to switch from a screen-on state to a screen-off state, and when the proximity sensor 1313 detects that the distance between the user and the front of the terminal device 1300 is gradually increasing, the processor 1301 controls the touch display screen 1305 to switch from a screen-off state to a screen-on state.

[0172] As will be appreciated by those skilled in the art, the structure shown in FIG. 13 does not constitute a limitation on the terminal equipment 1300, which may include more or fewer units than those shown, or may combine certain units, or employ different units in an installation.

[0173] An embodiment of the present application further provides a computer-readable storage medium having stored therein at least one instruction, the at least one instruction being loaded and executed by a processor to realize the method of marking a virtual object in a virtual environment as described in each of the above embodiments.

[0174] According to one aspect of the present application, there is provided a computer program product, the computer program product including computer instructions stored in a computer-readable storage medium, a processor of a terminal device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions to cause the terminal device to perform a method for marking a virtual object in a virtual environment provided in various selectable realization manners of the above aspect.

[0175] The above are merely selectable embodiments of the present application, and are not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application should be included in the scope of protection of the present application. [Explanation of symbols]

[0176] 1 Virtual Objects 10 Pickup List 12 List Items 13 Color Block 14 Mark Icon 18 Mark V 66 Horizontal Slide Range Area 68 Vertical Slide Range Area 200 Computer Systems 220 First terminal device 240 Servers 260 Second Terminal Equipment 1220 Display Module 1240 Input Module 1260 Mark Module 1300 Terminal Equipment 1301 Processor 1302 Memory 1303 Peripheral Device Interface 1304 Radio Frequency Circuits 1305 touch display screen 1306 Voice Circuit 1307 Power supply 1308 Sensor 1309 Acceleration Sensor 1310 Gyroscope Sensor 1311 Pressure Sensor 1312 Optical Sensor

Claims

1. 1. A method for marking a virtual object in a virtual environment, executed by a terminal device, the method comprising: displaying a pick-up list of a first virtual object, the pick-up list being used to display at least one virtual object to be picked up by the first virtual object in the virtual environment, and list items in the pick-up list being arranged along a first direction; receiving a first slide operation on the pickup list, the first slide operation being an operation on a list item of a target virtual object among the at least one virtual object; In response to the first sliding operation, sliding a list item of the target virtual object in the pick-up list along a second direction and displaying the target virtual object in a marked state, the marked state being used to share position information of the target virtual object with a second virtual object; The step of sliding the list item of the target virtual object along a second direction in the pick-up list in response to the first sliding operation and displaying the target virtual object in a marked state includes: when an included angle between a sliding direction of the first sliding operation and the second direction is smaller than an angle threshold, sliding a list item of the target virtual object along a second direction in the pick-up list, and displaying the target virtual object in a marked state.

2. When an included angle between a sliding direction of the first sliding operation and the second direction is smaller than an angle threshold, the step of sliding a list item of the target virtual object along a second direction in the pick-up list and displaying the target virtual object in a marked state includes: when an included angle between a sliding direction of the first sliding operation and the second direction is smaller than the angle threshold, sliding a list item of the target virtual object along the second direction in the pickup list; and displaying the target virtual object in a marked state if a sliding distance in the second direction of the listing of the target virtual object reaches a first distance threshold.

3. The method comprises: The method further includes the step of displaying a mark buoy above the target virtual object located in the virtual environment, the mark buo being used to share position information of the target virtual object with the second virtual object; The method of claim 1 , wherein the mark buoy is capable of being seen through obstacles.

4. The step of sliding the list item of the target virtual object in the pick-up list along a second direction in response to the first sliding operation and displaying the target virtual object in a marked state includes:

2. The method of claim 1, further comprising: displaying a mark icon on a listing of the target virtual object, the mark icon being used to indicate that the target virtual object is in the marked state.

5. The method comprises: receiving a second slide operation on the pickup list, the second slide operation being an operation on a list item of the target virtual object; 2. The method of claim 1, further comprising: in response to the second sliding operation, sliding a listing of the target virtual object in the pick-up list along the second direction and displaying the target virtual object in an unmarked state.

6. The step of sliding a list item of the target virtual object in the pick-up list along the second direction in response to the second sliding operation and displaying the target virtual object in an unmarked state includes: Sliding a list item of the target virtual object in the pickup list along the second direction in response to the second sliding operation; and displaying the target virtual object in the unmarked state if a sliding distance in the second direction of the listing of the target virtual object reaches a second distance threshold.

7. After the step of receiving a second slide operation on the pick-up list, The method of claim 5 , further comprising: canceling display of a mark buoy of the target virtual object in the virtual environment, the mark buoy being used to share position information of the target virtual object with a second virtual object.

8. After the step of receiving a second slide operation on the pick-up list, The method of claim 5 , further comprising the step of canceling the display of a mark icon on a listing of the target virtual object, the mark icon being used to indicate that the target virtual object is in the marked state.

9. The method of claim 1 , wherein the first direction and the second direction are perpendicular.

10. the first direction is a vertical direction and the second direction is a horizontal direction; or 10. The method of claim 9, wherein the first direction is a horizontal direction and the second direction is a vertical direction.

11. 1. An apparatus for marking a virtual object in a virtual environment, the apparatus comprising: a display module; an input module; and a mark module; The display module is used to display a pick-up list of a first virtual object, the pick-up list is used to display at least one virtual object to be picked up by the first virtual object in the virtual environment, and list items in the pick-up list are arranged along a first direction; The input module is used for receiving a first slide operation on the pick-up list, the first slide operation being an operation on a list item of a target virtual object among the at least one virtual object; The mark module is used to, in response to the first sliding operation, slide a list item of the target virtual object along a second direction in the pick-up list when an included angle between a sliding direction of the first sliding operation and a second direction is smaller than an angle threshold, and display the target virtual object in a marked state, and the marked state is used to share position information of the target virtual object with a second virtual object.

12. A computing device comprising a processor and a memory, the memory storing at least one segment of a program, the at least one segment of the program being loaded and executed by the processor to implement a method for marking a virtual object in a virtual environment according to any one of claims 1 to 10.

13. A computer program, the computer program being configured to cause a processor to execute the computer program and to implement the method for marking virtual objects in a virtual environment according to any one of claims 1 to 10.

Citation Information

Patent Citations

  • Method and device for controlling virtual object to mark virtual item and medium

    CN110270098A

  • Virtual article processing method and device

    CN112023392A

  • Interaction processing method and device of virtual prop, electronic equipment and storage medium

    CN112121431A