Virtual article collection method, device and equipment, medium and program product

By introducing interactive operations of the real environment into the virtual environment and adjusting the collection results of virtual items, the problem of single virtual items collection methods is solved, and the human-computer interaction efficiency and game fun is improved.

CN120393389APending Publication Date: 2025-08-01TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510847833.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-23
Publication Date
2025-08-01

AI Technical Summary

Technical Problem

In the prior art, virtual items collection methods are single, human-computer interaction efficiency is low, lack of realism and fun, and the game behavior is boring.

Method used

By introducing interactive operations of the real environment in the virtual environment, such as shooting object images, uploading images to the acquisition album, etc., combining the behavior of virtual characters in the real environment, adjusting or changing the acquisition results of virtual items, increasing the game's strategy and playability.

Benefits of technology

It realizes the close integration of the virtual environment and the real environment, improves the efficiency of human-computer interaction, enhances the fun and playability of the game, enriches the collection methods of virtual items, and improves the game experience of players.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120393389A_ABST
    Figure CN120393389A_ABST
Patent Text Reader

Abstract

The invention discloses a virtual article collection method, device and equipment, a medium and a program product, and is applied to the field of human-computer interaction. The method comprises the steps that a virtual character located in a virtual environment is controlled to move to an acquisition point, the acquisition point is used for indicating the virtual character to acquire at least one virtual item, and the at least one virtual item comprises a first item; receiving or detecting an interaction operation which is executed in a real environment and is related to the collection of the first article; and in response to an acquisition operation on the first article, displaying an acquisition result of acquiring the first article by the virtual character, the acquisition result being related to an interaction result of the interaction operation. According to the method, the acquisition modes of the virtual articles are enriched, and the man-machine interaction efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present application relate to the field of human-computer interaction, and particularly to a method, apparatus, device, medium, and program product for collecting virtual items. Background Art

[0002] Massive / Massively Multiplayer Online Role-Playing Game (MMORPG) is a type of game based on a virtual environment, where players need to play a virtual character and control the virtual character to move in the virtual environment.

[0003] In related technologies, players can control virtual characters to collect virtual items in a virtual environment. Players need to control the virtual character to move to a collection point and use skills to collect the first item at the collection point.

[0004] However, this collection method is relatively single and the human-computer interaction efficiency is not high. Summary of the Invention

[0005] Embodiments of the present application provide a method, apparatus, device, medium, and program product for collecting virtual items. The technical solutions are as follows:

[0006] On the one hand, a method for collecting virtual items is provided. The method includes:

[0007] Controlling a virtual character located in a virtual environment to move to a collection point, where the collection point is used to indicate that the virtual character collects at least one virtual item, and the at least one virtual item includes a first item;

[0008] Receiving or detecting an interaction operation performed in the real environment and related to collecting the first item;

[0009] In response to a collection operation on the first item, displaying a collection result of the virtual character collecting the first item, where the collection result is related to an interaction result of the interaction operation.

[0010] In some embodiments, the method further includes:

[0011] In response to a start operation on a collection album, displaying the collection album;

[0012] Wherein, the collection album includes item images of the second item located in the real environment uploaded by the virtual character and other virtual characters respectively.

[0013] In some embodiments, the method further includes:

[0014] In response to an interaction operation on the first image in the acquisition album, display the interaction result;

[0015] Wherein, the interaction operation includes at least one of the following: viewing, liking, collecting, commenting, saving, sharing, forwarding.

[0016] In some embodiments, the method further includes:

[0017] Perform preprocessing on the item image to obtain a preprocessed item image;

[0018] Extract the second image feature of the preprocessed item image;

[0019] Match the second image feature of the preprocessed item image with the first image feature corresponding to the first item in the image library to determine the matching result between the item image and the first item.

[0020] On the other hand, a virtual item acquisition device is provided, and the device includes:

[0021] A control module for controlling a virtual character located in a virtual environment to move to an acquisition point, and the acquisition point is used to instruct the virtual character to acquire at least one virtual item, and the at least one virtual item includes a first item;

[0022] A processing module for receiving or detecting an interaction operation performed in a real environment and related to acquiring the first item;

[0023] A display module for displaying the acquisition result of the virtual character acquiring the first item in response to an acquisition operation on the first item, and the acquisition result is related to the interaction result of the interaction operation.

[0024] On the other hand, a computer device is provided, and the computer device includes: a processor and a memory, and the memory stores a computer program, and the computer program is loaded and executed by the processor to implement the virtual item acquisition method as described above.

[0025] On the other hand, a computer-readable storage medium is provided, and the computer-readable storage medium stores a computer program, and the computer program is loaded and executed by a processor to implement the virtual item acquisition method as described above.

[0026] On the other hand, a computer program product is provided, and the computer program product includes computer instructions, and the computer instructions are stored in a computer-readable storage medium, and a processor obtains the computer instructions from the computer-readable storage medium, so that the processor loads and executes to implement the virtual item acquisition method as described above.

[0027] The beneficial effects brought by the technical solution provided by the embodiment of the present application at least include:

[0028] A new acquisition method for virtual items in a virtual environment is provided. At least one virtual item in the virtual environment includes a first item. During the acquisition process of the virtual items in the virtual environment, an interaction operation related to the acquisition of the first item and executed in the real environment is added, and the interaction result of the interaction operation can change or adjust the acquisition result of the first item in the virtual environment. On the one hand, the close combination of the virtual environment and the real environment is realized, so that the acquisition behavior of virtual items in the virtual environment is linked to the interaction behavior executed in the real environment, which can change or adjust the acquisition result of the first item, enrich the acquisition method of virtual items, and improve the human-computer interaction efficiency; on the other hand, it also enhances the game fun and playability, helps players explore and develop different interaction operations executed in the real environment, and improves the players' game experience. Description of the Drawings

[0029] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0030] Figure 1 It is a block diagram of a computer system provided by an exemplary embodiment of the present application;

[0031] Figure 2 It is a schematic diagram of a method for acquiring virtual items provided by an exemplary embodiment of the present application;

[0032] Figure 3 It is a flowchart of a method for acquiring virtual items provided by an exemplary embodiment of the present application;

[0033] Figure 4 It is a schematic diagram of a method for acquiring virtual items provided by an exemplary embodiment of the present application;

[0034] Figure 5 It is a schematic diagram of a method for acquiring virtual items provided by an exemplary embodiment of the present application;

[0035] Figure 6 It is a schematic diagram of a method for acquiring virtual items provided by an exemplary embodiment of the present application;

[0036] Figure 7 It is a schematic diagram of a method for acquiring virtual items provided by an exemplary embodiment of the present application;

[0037] Figure 8 It is a schematic diagram of a method for collecting virtual items provided by an exemplary embodiment of the present application;

[0038] Figure 9 It is a schematic diagram of a method for collecting virtual items provided by an exemplary embodiment of the present application;

[0039] Figure 10 It is a schematic diagram of a method for collecting virtual items provided by an exemplary embodiment of the present application;

[0040] Figure 11 It is a schematic diagram of a method for collecting virtual items provided by an exemplary embodiment of the present application;

[0041] Figure 12 It is a schematic diagram of a method for collecting virtual items provided by an exemplary embodiment of the present application;

[0042] Figure 13 It is a schematic diagram of a method for collecting virtual items provided by an exemplary embodiment of the present application;

[0043] Figure 14 It is a schematic diagram of a method for collecting virtual items provided by an exemplary embodiment of the present application;

[0044] Figure 15 It is a schematic diagram of a method for collecting virtual items provided by an exemplary embodiment of the present application;

[0045] Figure 16 It is a schematic diagram of a method for collecting virtual items provided by an exemplary embodiment of the present application;

[0046] Figure 17 It is a flowchart of a method for collecting virtual items provided by an exemplary embodiment of the present application;

[0047] Figure 18 It is a flowchart of a method for collecting virtual items provided by an exemplary embodiment of the present application;

[0048] Figure 19 It is a block diagram of a device for collecting virtual items provided by an exemplary embodiment of the present application;

[0049] Figure 20 It is a block diagram of the structure of a computer device provided by an exemplary embodiment of the present application. Detailed implementation manners

[0050] To make the objectives, technical solutions, and advantages of the present application clearer, the following will further describe the embodiments of the present application in detail with reference to the accompanying drawings.

[0051] Exemplary embodiments will be described in detail herein, and examples thereof are shown in the accompanying drawings. When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0052] The terms used in this application are for the purpose of describing particular embodiments only and are not intended to limit the present application. The singular forms "a", "the", and "said" used in this application and the appended claims are also intended to include the plural forms unless the context clearly dictates otherwise. It should also be understood that the term "and / or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.

[0053] It should be understood that although the terms first, second, etc. may be used in this application to describe various information, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from each other. For example, without departing from the scope of the present application, the first parameter may also be referred to as the second parameter, and similarly, the second parameter may also be referred to as the first parameter. Depending on the context, the word "if" as used herein may be interpreted as "when" or "while" or "in response to determining".

[0054] It should be noted that before and during the process of collecting relevant data of the user (such as control operations, movement operations, image upload operations, acquisition operations, trigger operations, etc.) in this application, a prompt interface, a pop-up window or voice prompt information can be displayed. The prompt interface, pop-up window or voice prompt information is used to prompt the user that their relevant data is currently being collected, so that this application only starts to execute the relevant steps of obtaining the user's relevant data after obtaining the confirmation operation of the user on the prompt interface or the pop-up window. Otherwise, when the confirmation operation of the user on the prompt interface or the pop-up window is not obtained, the relevant steps of obtaining the user's relevant data are ended, that is, the relevant data of the user is not obtained. In other words, all user data collected in this application is collected with the consent and authorization of the user, and the collection, use and processing of the relevant user data need to comply with the relevant laws, regulations and standards of the relevant countries and regions.

[0055] First, briefly introduce the terms related to the embodiments of this application:

[0056] Virtual environment: It is a virtual environment displayed or provided when the client runs on the terminal. This virtual environment can be a simulation of the real world, a semi-simulated and semi-fictional three-dimensional world, or a purely fictional three-dimensional world. The virtual environment can be any one of a two-dimensional virtual environment, a 2.5D virtual environment, and a three-dimensional virtual environment. Optionally, this virtual environment is also used for virtual environment battles between at least two virtual characters, and there are virtual resources available for at least two virtual characters in this virtual environment. Optionally, this virtual environment includes a symmetric lower left region and an upper right region, and virtual characters belonging to two opposing camps respectively occupy one of the regions. Corresponding to the virtual environment is the real environment.

[0057] Virtual character: It is an active object in the virtual environment. This active object can be at least one of a virtual person, a virtual animal, and an anime character. Optionally, when the virtual environment is a three-dimensional virtual environment, the virtual character can be a three-dimensional virtual model, and each virtual character has its own shape and volume in the three-dimensional virtual environment, occupying a part of the space in the three-dimensional virtual environment. Optionally, the virtual character is a three-dimensional character constructed based on three-dimensional human bone technology, and this virtual character realizes different external images by wearing different skins. In some implementation manners, the virtual character can also be implemented using a 2.5D or 2D model, and the embodiments of the present application do not limit this.

[0058] Virtual item: It is an item in the virtual environment. Each collection point corresponds to one or more virtual items, and these one or more virtual items can be collected by one or more virtual characters. Each virtual character can collect one virtual item at the collection point through one collection operation, or can collect multiple virtual items at the collection point at once through one collection operation. The types of these multiple virtual items can be the same or different, and this is not limited here.

[0059] The virtual items that each virtual character can collect are related to at least one of the following factors: the character attributes, level, unlocked skills, unlocked maps of the virtual character, and the item attributes, level, and rarity of the virtual item. Corresponding to the virtual item is the real item, and the real item is an item that actually exists in the real environment.

[0060] In some embodiments, virtual items include, but are not limited to, at least one of the following: equipment items, decoration items, prop items, currency items, and material items. Equipment items include, but are not limited to, at least one of the following: virtual swords, virtual attack props, virtual armors. Decoration items include, but are not limited to, at least one of the following: virtual clothing, virtual headgear, virtual skins, virtual hairstyles. Prop items include, but are not limited to, at least one of the following: virtual recovery props, virtual potion props, virtual throwing props. Currency items include, but are not limited to, at least one of the following: virtual diamonds, virtual gold coins, virtual exchange vouchers. Material items include, but are not limited to, at least one of the following: virtual materials, virtual plants, virtual compounds.

[0061] Virtual materials include, but are not limited to, at least one of the following: granite, jade, turquoise. Optionally, the character attribute of the virtual character is a quarryman attribute, and this virtual character can collect the aforementioned virtual materials. A quarryman is a character who collects stones with a pickaxe as the main tool and a stone hammer as the secondary tool. The stones collected by the quarryman include veins and quarries, which are marked with yellow and blue pickaxe marks on the mini-map respectively.

[0062] Virtual plants include, but are not limited to, at least one of the following: latex, maple trees, tea leaves. Optionally, the character attribute of the virtual character is a gardener attribute, and this virtual character can collect the aforementioned virtual plants. A gardener is a character who collects plants with an axe as the main tool and a sickle as the secondary tool.

[0063] In some embodiments, the collection method of virtual items in the virtual environment is combined with the user's behavior in the real scene, so as to adjust / change the collection result of collecting virtual items in the virtual environment. Taking the virtual item including the first item as an example, trigger the photographing button corresponding to the first item, take an item image of the second item in the real environment through the camera, or select an item image of the second item in the real environment from the album, and upload the item image of the second item. Trigger the collection button corresponding to the first item to perform the collection operation, then the computer device, based on the matching result of whether the item image matches the first item, increases or keeps unchanged the collection rate of the first item, realizing the adjustment / change of the collection result of collecting the first item in the virtual environment.

[0064] In response to: used to represent the conditions or states on which the executed operations depend. When the dependent conditions or states are met, one or more of the executed operations can be real-time or can have a set delay; without special instructions, there is no limitation on the execution order of the multiple executed operations.

[0065] Massive / Massively Multiplayer Online Role-Playing Game (MMORPG): A type of game based on a virtual environment where players need to play a virtual character and control the virtual character to act in the virtual environment.

[0066] Durability: A measure of the persistence of a virtual item in a virtual environment, with different uses in different fields. Generally speaking, durability is an important criterion for measuring the lifespan and quality of virtual items. In the game, players can abuse virtual items. In this embodiment, the collection point has durability, and the durability can be refreshed after a cooling period. When a virtual character collects virtual items at a collection point, the durability of the collection point will be consumed. For a collection point, as the number of collection times gradually increases, the durability gradually decreases. When the durability of the collection point is 0, the collection operation cannot be performed at this collection point, and the virtual items at this collection point cannot be collected.

[0067] Figure 1 It is a structural block diagram of a computer system provided by an exemplary embodiment of the present application. The computer system 100 can be a system architecture for implementing the method of collecting virtual items. The computer system 100 includes: a first terminal 120, a server 140, and a second terminal 160.

[0068] The first terminal 120 installs and runs a client that supports the virtual environment. The client can be any one of a battle royale shooting game, a Virtual Reality (VR) client, an Augmented Reality (AR) program, a three-dimensional map program, a virtual reality game, an augmented reality game, a First-Person Shooting Game (FPS), a Third-Personal Shooting Game (TPS), a Multiplayer Online Battle Arena Games (MOBA), a Fight Technology Game (FTG), an Action Game (ACT), a Real-Time Strategy Game (RTS), a Massive / Massively Multiplayer Online Role-Playing Game (MMORPG), an arcade game, a Simulation Game (SLG), a competitive game, a party game, or a casual game.

[0069] The first terminal 120 is a terminal used by a first user. The first user uses the first terminal 120 to control a virtual character located in a virtual environment. Such control includes, but is not limited to: adjusting body posture, crawling, walking, running, cycling, jumping, driving, picking up, shooting, attacking, throwing, building virtual buildings, collecting virtual items, etc. The first user can also perform a series of interaction operations in the real environment, and the first terminal 120 can also receive or detect a series of interaction operations performed by the first user in the real environment.

[0070] The first terminal 120 and the second terminal 160 are connected to the server 140 through a wireless network or a wired network.

[0071] The server 140 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services. The server 140 includes at least one of a server, multiple servers, a cloud computing platform, and a virtualization center.

[0072] The server 140 includes a processor 144 and a memory 142. The memory 142 further includes a receiving module 1421, a control module 1422, and a sending module 1423. The receiving module 1421 is used to receive requests sent by the client; the control module 1422 is used to control the rendering of the virtual environment; the sending module 1423 is used to send responses to the client; the server 140 is used to provide background services for the clients of the first terminal 120 and the second terminal 160.

[0073] Optionally, the server 140 undertakes the main computing work, and the first terminal 120 and the second terminal 160 undertake the secondary computing work; or, the server 140 undertakes the secondary computing work, and the first terminal 120 and the second terminal 160 undertake the main computing work; or, a distributed computing architecture is adopted among the server 140, the first terminal 120, and the second terminal 160 for collaborative computing.

[0074] The second terminal 160 installs and runs a client that supports a virtual environment. The client can be any one of a battle royale shooting game, a virtual reality (VR) client, an augmented reality (AR) program, a 3D map program, a virtual reality game, an augmented reality game, a first-person shooting game (FPS), a third-person shooting game (TPS), a multiplayer online battle arena game (MOBA), a fighting game (FTG), an action game (ACT), a real-time strategy game (RTS), a massive / massively multiplayer online role-playing game (MMORPG), an arcade game, a simulation game (SLG), a competitive game, a party game, or a casual game.

[0075] The second terminal 160 is a terminal used by a second user. The second user uses the second terminal 160 to control a virtual character located in a virtual environment. The control includes but is not limited to at least one of adjusting the body posture, crawling, walking, running, cycling, jumping, driving, picking up, shooting, attacking, throwing, building a virtual building, and collecting virtual items. The second user can also perform a series of interaction operations in the real environment, and the second terminal 160 can also receive or detect a series of interaction operations performed by the second user in the real environment.

[0076] Optionally, the virtual characters controlled by the first user through the first terminal 120 and the second user through the second terminal 160 are located at different positions in the same virtual environment, that is, the first user and the second user are in the same battle. Or, the virtual characters controlled by the first user through the first terminal 120 and the second user through the second terminal 160 are located at different positions in different virtual environments, that is, the first user and the second user are in different battles.

[0077] Optionally, the clients installed on the first terminal 120 and the second terminal 160 are the same, or the clients installed on the two terminals are of the same type but on different control system platforms. The embodiments of the present application do not limit the form of the clients installed on the first terminal 120 and the second terminal 160, including but not limited to the App (Application, client), applet, etc. installed on the first terminal 120 and the second terminal 160, and can also be in the form of a web page. The first terminal 120 can generally refer to one of multiple terminals, and the second terminal 160 can generally refer to one of multiple terminals. This embodiment only uses the first terminal 120 and the second terminal 160 as examples for illustration. The device types of the first terminal 120 and the second terminal 160 are the same, and the device models can be different. The device types include at least one of: smart phones, tablet computers, wearable devices, PCs (Personal Computers), laptop computers, desktop computers, Augmented Reality (AR) devices, Virtual Reality (VR) devices, Mixed Reality (MR) devices, smart glasses, body-sensing game consoles, devices equipped with cameras and sensors, smart speakers, and in-vehicle intelligent systems. The following embodiments use a smart phone as an example for illustration.

[0078] Those skilled in the art can know that the number of the above-mentioned first terminal 120 and second terminal 160 can be more or less. For example, the first terminal 120 and the second terminal 160 can each be one (i.e., the user plays against the artificial intelligence), or the first terminal 120 and the second terminal 160 can be a total of 8 (1v1v1v1v1v1v1v1, cyclic play and elimination among 8 users, and finally the winner is determined), or a larger number. The embodiments of the present application do not limit the number and device types of the first terminal 120 and the second terminal 160.

[0079] In the related art, players can control virtual characters to collect virtual items in a virtual environment. Players need to control the virtual characters to move to the collection point and use skills to collect the first item at the collection point. For example, in a game based on a virtual environment, the virtual character collects virtual items by consuming the durability of the collection point, and using skills can improve the collection rate to a certain extent. The collection process includes: finding the collection point, using skills, and performing the collection operation. However, this collection method is relatively single, the game behaviors throughout the collection process are single and boring, mostly mindless repetitive physical labor. Moreover, there are no other influencing factors during the collection process, and the collection behavior of virtual items in the game is a pure game virtual behavior, which is very different from the real behaviors and collection experiences in real life and real environments, lacking the sense of reality and fun of collection.

[0080] Based on this, this embodiment provides a method for collecting virtual items, which combines real interaction behaviors in the real environment with the behavior of collecting virtual items in the virtual environment in the game, enriches the collection methods of virtual characters, greatly improves the strategy and playability of the game, and can also change / adjust the collection results of virtual items through real interaction behaviors, improving the efficiency of human-computer interaction. For example, operations such as shooting and submitting images are introduced in the game, and a photo-taking button is added to the peripheral area of at least some virtual items. When the submitted item image matches the virtual item, the collection rate of the virtual item can be increased. In addition, a collection album is also set up to store the item images shared by different players in the collection album, promoting communication and interaction among players, greatly enhancing the game fun and playability, promoting the formation of a healthy in-game community, and making the game more rich and interesting.

[0081] As an example, Figure 2 is a schematic diagram of the method for collecting virtual items provided by an exemplary embodiment of the present application. Taking the example that this method is executed by a computer device, the computer device can be Figure 1 the first terminal 120 and / or the second terminal 160 shown. The steps of this method are briefly described as follows:

[0082] Step 1, control a virtual character located in the virtual environment to move to a collection point, where the collection point is used to indicate that the virtual character collects at least one virtual item, and the at least one virtual item includes a first item; referring to Figure 2 (1) shown in, control the virtual character 200 located in the virtual environment to move to the collection point "XX-level Stone Quarry", and the collection point is used to indicate that the virtual character 200 collects the 3 virtual items "A collection item, B collection item, X collection item" shown in the upper left corner. The first item is the "X collection item" among these 3 virtual items.

[0083] Step 2, receive or detect an interaction operation executed in the real environment and related to collecting the first item; taking the interaction operation as uploading an item image of a second item located in the real environment as an example, trigger the photo-taking button 201 corresponding to the first item "X collection item", and upload the item image 202 of the second object located in the real environment. Referring to Figure 2 (2) shown in, receive the item image 202 of the second item, and determine that the matching degree between the item image 202 of the second item and the first item "X collection item" is greater than the threshold. Optionally, a first matching prompt 203 "The photo matches the X collection item, the collection success rate of the X collection item is increased to 100%, and the high-quality rate is increased by 20%" is also displayed.

[0084] Step 3, in response to the collection operation of the first item, display the collection result of the virtual character collecting the first item, and the collection result is related to the interaction result of the interaction operation. Referring to Figure 2As shown in (3), trigger the collection button 204 corresponding to the first item "X collection item", and display the collection result of the virtual character 200 collecting the first item "X collection item". Taking the collection result as the first collection result as an example, optionally, a collection animation is also played, and the first collection prompt 205 "Obtain 1 X collection item" is also displayed.

[0085] Figure 3 It is a flowchart of a method for collecting virtual items provided by an exemplary embodiment of the present application. Taking the example that this method is executed by a computer device, the computer device can be Figure 1 the first terminal 120 and / or the second terminal 160 shown. This method includes at least some of the steps of step 320, step 340, and step 360:

[0086] Step 320, control the virtual character located in the virtual environment to move to the collection point, and the collection point is used to indicate the virtual character to collect at least one virtual item, and the at least one virtual item includes the first item.

[0087] The virtual environment can be a simulation environment of the real world, or a semi-simulation and semi-fictional environment, or a purely fictional world. The virtual character is an active object in the virtual environment, and this active object can be a virtual person, a virtual animal, an anime character, etc. The virtual character can be a character that simulates an object in the real world, or a semi-simulation and semi-fictional character, or a purely fictional character.

[0088] The player can use the computer device to control the virtual character located in the virtual environment, and this control includes but is not limited to: adjusting the body posture, crawling, moving, walking, running, riding, jumping, driving, picking up, shooting, attacking, throwing, building a virtual building, collecting at least one of the virtual items. Optionally, for other virtual characters other than the virtual character controlled by the player, these other virtual characters can be controlled by other users or by the system, for example, intelligently controlled by a neural network model. In some embodiments, the character attributes of the virtual character include: supporting the collection of virtual items in the virtual environment.

[0089] The virtual item is an item in the virtual environment, and the virtual item can also be called a collection item. The collection point is some preset locations in the virtual environment. Each collection point corresponds to one or more virtual items, and these one or more virtual items can be collected by the virtual character. Each virtual character can collect one virtual item at this collection point through one collection operation, or can collect multiple virtual items at this collection point at one time through one collection operation. The types of these multiple virtual items can be the same or different, and there is no limitation here.

[0090] In some embodiments, one or more virtual items corresponding to each collection point are displayed in the form of a list. The information displayed for each virtual item includes at least one of the following: collection item image, collection item name, collection item level, first collection rate, second collection rate, promotion mark for the first collection rate, promotion mark for the second collection rate, collection button, interaction button. The interaction button is displayed when the virtual item supports interaction operations in the real scene, and the display style of the interaction button can be set according to the specific type of the interaction operation.

[0091] The image elements in the image include at least one of the following: optimal collection target element, collection book already collected prompt element, collection book not collected prompt element, quantity element. The optimal collection target element is used to indicate that the virtual item is the optimal and maximum revenue virtual item among one or more virtual items. The collection book already collected prompt element and the collection book not collected prompt element are used to indicate whether the virtual item is collected in the collection book. The quantity element is used to indicate the minimum quantity that can be obtained by collecting the virtual item once. The first collection rate is also called the normal collection rate or collection success rate, which is the probability of a normal collection occurring. The second collection rate is also called the high-quality collection rate or high-quality collection success rate, which is the probability of a high-quality collection occurring.

[0092] In some embodiments, the second collection result of the high-quality collection is better than the first collection result of the normal collection. The differences between different collection results are characterized by the differences in at least one of the following parameters: the quantity of the collected virtual item, rarity, level, attribute value. Among them, the second rarity corresponding to the high-quality collection is greater than the first rarity corresponding to the normal collection; the second level corresponding to the high-quality collection is greater than the first level corresponding to the normal collection; the second attribute value corresponding to the high-quality collection is greater than the first attribute value corresponding to the normal collection; the second quantity corresponding to the high-quality collection is greater than the first quantity corresponding to the normal collection. For example, the first quantity is 1 and the second quantity is 2. When the first collection rate is increased, the increased first collection rate and / or the promotion mark for the first collection rate are highlighted. When the second collection rate is increased, the increased second collection rate and / or the promotion mark for the second collection rate are highlighted. The promotion mark can be a polygon, for example, a triangle.

[0093] For example, taking the interaction operation as uploading the item image of the second item in the real environment as an example, the interaction button is specifically a camera button. Refer to Figure 4As shown in (1) therein, the three virtual items "A collection item, B collection item, X collection item" corresponding to the collection point "XX-level quarry" are displayed in the upper left area in the form of a list. Taking the virtual item 10 "X collection item" as an example, the displayed information includes: collection item image 11, collection item name 12 "X collection item", collection item level 13 "Level X", normal collection rate 14 "100%", promotion mark for the normal collection rate 14, high-quality collection rate 15 "60%", promotion mark for the high-quality collection rate 15, collection button 16, photo-taking button 17. The available collection times 18 of the collection point are also displayed.

[0094] The collection item image 11 includes: optimal collection target element, uncollected hint element in the illustrated handbook, quantity element. Among them, the promotion mark for the normal collection rate 14 is displayed after the normal collection rate when submitting an image / activating a skill causes the probability to increase. The promotion mark for the high-quality collection rate 15 is displayed after the high-quality collection rate when submitting an image / activating a skill causes the probability to increase. The collection button 16 is clicked to start collection, and the collection button 16 is grayed out and then activated after collection is completed. Continue to refer to Figure 4 As shown in (2) therein, the skill effect of the collection button 16 is to consume 1 point of durability and attempt to collect the X collection item. This skill does not need to be manually released and can be directly clicked on the collection item. The photo-taking button 17 is only displayed for collection items that can submit images. The collection album button 19 is also displayed. Triggering the collection album button 19 can open the collection album.

[0095] The virtual items that each virtual character can collect are related to at least one of the following factors: the character attributes, level, unlocked skills, unlocked maps of the virtual character, and the item attributes, level, rarity of the virtual item. Corresponding to the virtual item is a real item, which is an item that actually exists in the real environment.

[0096] In some embodiments, the virtual items include but are not limited to at least one of the following: equipment items, decoration items, prop items, currency items, material items. Equipment items include but are not limited to at least one of the following: virtual swords, virtual attack props, virtual armors. Decoration items include but are not limited to at least one of the following: virtual clothing, virtual headgear, virtual skins, virtual hairstyles. Prop items include but are not limited to at least one of the following: virtual recovery props, virtual potion props, virtual throwing props. Currency items include but are not limited to at least one of the following: virtual diamonds, virtual gold coins, virtual exchange vouchers. Material items include but are not limited to at least one of the following: virtual materials, virtual plants, virtual compounds.

[0097] The virtual materials include, but are not limited to, at least one of the following: granite, jade, turquoise. Optionally, the character attribute of the virtual character is a quarry worker attribute, and the virtual character can collect the aforementioned virtual materials. A quarry worker is a character who collects stones with a pickaxe as the main tool and a rock hammer as the secondary tool. The stones collected by the quarry worker include veins and quarries, which are marked with yellow and blue pickaxe marks on the mini-map respectively.

[0098] The virtual plants include, but are not limited to, at least one of the following: latex, maple, tea. Optionally, the character attribute of the virtual character is a gardener attribute, and the virtual character can collect the aforementioned virtual plants. A gardener is a character who collects plants with an axe as the main tool and a sickle as the secondary tool.

[0099] Exemplarily, in response to a movement operation, control the virtual character located in the virtual environment to move to the collection point. The movement operation includes, but is not limited to, at least one of the following: a triggering operation on a position point in the virtual map, a driving operation on a virtual vehicle, a triggering operation on a movement button, a triggering operation on a movement button of a gamepad. The triggering operation includes, but is not limited to, at least one of the following: click, double-click, long-press, slide, voice trigger, command trigger.

[0100] The collection point is used to indicate that the virtual character collects at least one virtual item, and the at least one virtual item includes a first item. Among them, the first item is at least one virtual item. The first item can be at least one virtual item of the same type among the at least one virtual item corresponding to the collection point, or at least two virtual items of at least two types, which is not limited here. Optionally, the first item can be any item among the at least one virtual item corresponding to the collection point, or a designated item among the at least one virtual item, or an item with the maximum benefit among the at least one virtual item, or an item with the maximum rarity among the at least one virtual item, or any item among all or part of the virtual items that support the interactive operation in the real scenario among the at least one virtual item.

[0101] Step 340, receive or detect an interactive operation performed in the real environment and related to collecting the first item.

[0102] The interactive operation is an operation performed by the player in the real environment, and the interactive operation is related to collecting the first item. In some embodiments, the relationship between the first item and the interactive operation is one-to-one. For example, one first item corresponds to one interactive operation. Or, the relationship between the first item and the interactive operation is one-to-many. For example, one first item corresponds to multiple interactive operations, and the player can choose any one or more interactive operations to perform. Or, the relationship between the first item and the interactive operation is many-to-many. For example, multiple virtual items correspond to multiple interactive operations. When the player performs an interactive operation, the first item corresponding to the interactive operation is determined based on a certain probability or randomly.

[0103] Step 360, in response to a collection operation on a first item, display the collection result of the virtual character collecting the first item, where the collection result is related to the interaction result of the interaction operation.

[0104] The collection operation on the first item is used to collect the first item. Optionally, the collection operation on the first item includes, but is not limited to, at least one of the following: a triggering operation on the collection button corresponding to the first item, a triggering operation on the first item. The triggering operation can be implemented as at least one of the following: click, double-click, long-press, slide, gesture input, voice input.

[0105] The collection result is used to indicate at least one of the following: whether the first item is collected, the specific quantity of the collected first item, the specific rarity, the specific level, the specific attribute value, the collection type corresponding to this collection. The collection type includes: ordinary collection, high-quality collection, collection failure. In some embodiments, the interaction operation can change / adjust the collection result, that is, the collection result is related to the interaction result of the interaction operation.

[0106] In some embodiments, the collection result is related to the matching result between the interaction result of the interaction operation and the first item, or the collection result is related to the matching result between the interaction result of the interaction operation and the preset interaction operation corresponding to the first item. The matching result includes: one of matching and non-matching. Matching can specifically be the matching degree between the interaction result of the interaction operation and the first item, or the matching degree between the interaction result of the interaction operation and the preset interaction operation corresponding to the first item being greater than a threshold. Non-matching can specifically be the matching degree between the interaction result of the interaction operation and the first item, or the matching degree between the interaction result of the interaction operation and the preset interaction operation corresponding to the first item being less than a threshold. The threshold can be set according to actual technical needs. When the matching result is matching, the collection rate of the first item can be increased, making it easier to collect the first item, and / or making it easier to collect more quantities of the first item. When the matching result is non-matching, the collection rate of the first item remains unchanged.

[0107] In summary, in the virtual item collection method provided by the embodiments of the present application, the computer device controls the virtual character located in the virtual environment to move to the collection point, where the collection point is used to indicate that the virtual character collects at least one virtual item, and the at least one virtual item includes the first item; receives or detects an interaction operation performed in the real environment and related to collecting the first item; and in response to the collection operation on the first item, displays the collection result of the virtual character collecting the first item, where the collection result is related to the interaction result of the interaction operation. This embodiment provides a new method for collecting virtual items in a virtual environment. At least one virtual item in the virtual environment includes the first item. During the process of collecting virtual items in the virtual environment, an interaction operation performed in the real environment and related to collecting the first item is added, and the interaction result of this interaction operation can change or adjust the collection result of the first item in the virtual environment. On the one hand, it realizes the close combination of the virtual environment and the real environment, makes the collection behavior of virtual items in the virtual environment linked to the interaction behavior performed in the real environment, can change or adjust the collection result of the first item, enriches the method of collecting virtual items, and improves the human-computer interaction efficiency; on the other hand, it also enhances the game fun and playability, helps players explore and develop different interaction operations performed in the real environment, and improves the players' game experience.

[0108] In some embodiments, the interaction operation is any possible operation that a player can perform in the real environment or can perform under certain conditions. The interaction operation corresponds to the first item and can be specifically set according to actual technical needs or randomly set. Different interaction operations correspond to different interaction buttons, and the display style of the interaction button can be set according to the specific type of the interaction operation. Exemplarily, the interaction operation performed in the real environment and related to collecting the first item in step 340 includes at least one of the following:

[0109] (1) Performing a preset interaction gesture; the preset interaction gesture is an interaction operation implemented through body movements, mainly hand movements, to achieve information transmission and operation control with the computer device, and the computer device can be a body-sensing game console, an AR / VR / MR device, a device configured with a camera and sensors. The preset interaction gesture includes but is not limited to at least one of the following: click gesture, double-click gesture, long-press gesture, swipe gesture, two-finger pinch gesture, two-finger rotation gesture, wave gesture, fist gesture, heart gesture, victory gesture.

[0110] (2) Perform preset interaction actions; the preset interaction actions are interaction operations implemented through various actions to achieve information transmission and operation control with a computer device. The computer device can be a somatosensory game console, an AR / VR / MR device, or a device equipped with a camera and sensors. The preset interaction actions include, but are not limited to, at least one of the following: triggering a physical button, triggering a touch screen position, performing a limb movement. The limb movements include, but are not limited to, at least one of the following: digging action, collection action, picking action, body jump, body swing, head rotation, mouth opening or closing.

[0111] (3) Input preset interaction voice; the preset interaction voice is a way to transmit information and perform operation control with a computer device through voice. The computer device can be a smart speaker, a smart in-vehicle system, or a smartphone. The keywords in the voice content of the preset interaction voice include, but are not limited to, at least one of the following: collection, first item, digging, picking, obtaining.

[0112] (4) Input preset interaction instructions; the preset interaction instructions are a way to transmit information and perform operation control with a computer device through execution. The keywords in the instruction content of the preset interaction instructions include, but are not limited to, at least one of the following: collection, first item, digging, picking, obtaining.

[0113] (5) Complete preset interaction tasks; the preset interaction tasks can be tasks executed by the client of a target application installed and running. The target application can be a game application or a third-party application, such as, for example, at least one of a browser, a shopping application, and an instant messaging application. The preset interaction tasks include, but are not limited to, at least one of the following: reaching a preset level, reaching a preset attribute value, purchasing a preset item, talking to a non-player character, unlocking a preset map, unlocking a preset skill, unlocking a preset reward, collecting item fragments, publishing a collection guide, giving an item to a friend, searching for a preset search term in a third-party application, sharing or posting game social dynamics, sharing or posting game music, making a game promotional picture, giving a gift to a friend.

[0114] (6) Shoot, upload, or select a video clip containing preset content; the video clip containing preset content can be uploaded in real time, or live-streamed in real time, or selected from multiple candidate video clips. The preset content is content related to collecting the first item. The video clips containing preset content include, but are not limited to, at least one of the following: video clips of screen recordings containing the above-mentioned preset interaction gestures, preset interaction actions, preset interaction voices, preset interaction instructions, and preset interaction tasks.

[0115] (7) Take or upload an item image of a second item located in the real environment; the second item is an item located in the real environment, and the second item may be related or matched to the first item. For example, the second item and the first item may be exactly the same item, items of the same category, items with the same function, or similar items. For example, both the first item and the second item are granite. It can be understood that the second item and the first item may also be unrelated or unmatched, and the second item and the first item may also be completely different items, items of different categories, items with different functions, or dissimilar items. For example, the first item is granite and the second item is a flower. The item image of the second item may be at least one of the following: an image captured in real time by a camera, an image that has been captured or downloaded and stored in the album. It should also be noted that downloading the item image of the second item requires authorization or permission.

[0116] This embodiment introduces a variety of different interaction operations, which can be specifically set according to actual technical needs to improve the richness of interaction operations and achieve the close combination of the virtual environment and the real environment.

[0117] In some embodiments, corresponding to the interaction operation, step 340 receives or detects an interaction operation related to collecting the first item performed in the real environment, which is specifically implemented as at least one of the following:

[0118] (1) Display a preset interaction gesture corresponding to the first item, and in response to a gesture input operation, detect the interaction gesture performed in the real environment.

[0119] The gesture input operation is used to input an interaction gesture. The interaction button corresponding to the interaction operation includes a gesture button. The gesture input operation may be a triggering operation on the gesture button, and the computer device also has the ability to detect interaction gestures. The computer device displays a preset interaction gesture corresponding to the first item; in response to the gesture input operation, it detects the interaction gesture performed in the real environment. In this embodiment, the collection result is related to the matching result between the interaction gesture input by the gesture input operation and the preset interaction gesture corresponding to the first item.

[0120] (2) Display a preset interaction action corresponding to the first item, and in response to an action input operation, detect the interaction action performed in the real environment.

[0121] The action input operation is used to input an interaction action. The interaction button corresponding to the interaction operation includes an action button. The action input operation may be a triggering operation on the action button, and the computer device also has the ability to detect interaction actions. The computer device displays a preset interaction action corresponding to the first item; in response to the action input operation, it detects the interaction action performed in the real environment. In this embodiment, the collection result is related to the matching result between the interaction action input by the action input operation and the preset interaction action corresponding to the first item.

[0122] (3) Display the preset voice content corresponding to the first item, and in response to a voice input operation, receive the interactive voice corresponding to the voice content input in the real environment.

[0123] The voice input operation is used to input the interactive voice. The interactive button corresponding to the interactive operation includes a voice button. The voice input operation can be a triggering operation on the voice button. The computer device also has the ability to detect the interactive voice. The computer device displays the preset voice content corresponding to the first item; in response to the voice input operation, it receives the interactive voice corresponding to the voice content input in the real environment. In this embodiment, the acquisition result is related to the matching result between the interactive voice input by the voice input operation and the preset interactive voice corresponding to the first item.

[0124] (4) Display the preset instruction content corresponding to the first item, and in response to an instruction input operation, receive the interactive instruction corresponding to the instruction content input in the real environment.

[0125] The instruction input operation is used to input the interactive instruction. The interactive button corresponding to the interactive operation includes an instruction button. The instruction input operation can be a triggering operation on the instruction button. The computer device also has the ability to detect the interactive instruction. The computer device displays the preset instruction content corresponding to the first item; in response to the instruction input operation, it receives the interactive instruction corresponding to the instruction content input in the real environment. In this embodiment, the acquisition result is related to the matching result between the instruction content in the interactive instruction input by the instruction input operation and the preset instruction content corresponding to the first item.

[0126] (5) Display the preset interactive task indicated by the first item, and in response to a task execution operation, detect the interactive task completed in the real environment.

[0127] The task execution operation is used to execute the interactive task. The interactive button corresponding to the interactive operation includes a task button. The task execution operation can be a triggering operation on the task button and execute the task. The computer device also has the ability to detect whether the interactive task is completed. The computer device displays the preset interactive task indicated by the first item; in response to the task execution operation, it detects the interactive task completed in the real environment. In this embodiment, the acquisition result is related to the matching result between the interactive task completed by the task execution operation and the preset interactive task corresponding to the first item.

[0128] (6-1) Display the video clip containing the preset content corresponding to the first item, and in response to a video selection operation, select the video clip containing the video content.

[0129] (6-2) Display the preset content corresponding to the first item, and in response to a video upload operation, upload the video clip containing the video content.

[0130] (6-3) Display the preset content corresponding to the first item, and in response to a video shooting operation, shoot a video clip containing video content.

[0131] The video selection operation is used to select a video clip containing video content, the video upload operation is used to record and upload in real time or upload a video clip containing video content from the album, and the video shooting operation is used to shoot a video clip containing video content. The interaction button corresponding to the interaction operation includes a video button. The video selection operation, the video upload operation, and the video shooting operation can be trigger operations on the video button, and select or upload or shoot a video clip containing video content. The computer device also has the ability to detect the video content corresponding to the video clip. The computer device displays a video clip containing the preset content corresponding to the first item, and in response to the video selection operation, selects a video clip containing video content; or, displays the preset content corresponding to the first item, and in response to the video upload operation, uploads a video clip containing video content; or, displays the preset content corresponding to the first item, and in response to the video shooting operation, shoots a video clip containing video content. In this embodiment, the acquisition result is related to the matching result between the video clip shot or uploaded or selected and the video clip corresponding to the first item, specifically related to the matching result between the video content in the video clip shot or uploaded or selected and the preset content of the video clip corresponding to the first item.

[0132] (7-1) In response to an image upload operation on the first item, upload the item image of the second item located in the real environment.

[0133] (7-2) In response to an image shooting operation on the first item, shoot the item image of the second item located in the real environment.

[0134] The image upload operation is used to upload the item image of the second item, the image shooting operation is used to shoot the item image of the second item, and is also used to automatically upload the item image of the second item. The interaction button corresponding to the interaction operation includes a camera button. The image upload operation and the image shooting operation can be trigger operations on the camera button. The interaction button corresponding to the interaction operation includes an album button. The image upload operation can be a trigger operation on the album button. The computer device also has the ability to detect whether the item image matches the first item. The computer device responds to an image upload operation on the first item and uploads the item image of the second item located in the real environment; or, responds to an image shooting operation on the first item and shoots the item image of the second item located in the real environment. In this embodiment, the acquisition result is related to the matching result between the item image of the second item shot or uploaded or selected and the first item.

[0135] This embodiment introduces receiving or detecting methods corresponding to various different interaction operations, which can be specifically set according to actual technical needs, improving the richness of interaction operations, achieving the reception or detection of the interaction operation, and also achieving the close combination of the virtual environment and the real environment.

[0136] In a specific example, taking the interaction operation as uploading an item image of a second item located in the real environment, in response to an image upload operation of a first item, the item image of the second item located in the real environment is uploaded, and the specific implementation is steps 341, 342, 343, and 344:

[0137] Step 341, in response to the image upload operation of the first item, display image upload options;

[0138] Step 342, in response to a selection operation, select a first option from the image upload options;

[0139] Step 343, based on the first option, determine the item image of the second item located in the real environment;

[0140] Step 344, in response to a confirmation submission operation for the item image of the second item, upload the item image of the second item located in the real environment.

[0141] The image upload options are used to indicate the way of uploading the item image of the second item. The image upload options include at least two. The first option is one image upload selection selected from the at least two image upload options, or one image upload option selected by default. The image upload operation for the first item includes a triggering operation on the photographing button corresponding to the first item, and the photographing button is displayed in the peripheral area of the first item, and the peripheral area is one of the following: upper area, lower area, left area, right area. The selection operation includes but is not limited to at least one of the following: click, double-click, slide, drag, long-press operation. The confirmation submission operation includes a triggering operation on the confirmation submission button corresponding to the item image of the second item. The triggering operation includes but is not limited to at least one of the following: click, double-click, long-press, slide, voice trigger, instruction trigger.

[0142] Exemplarily, the computer device, in response to the image upload operation of the first item, displays image upload options; in response to the selection operation, selects a first option from the image upload options; based on the first option, determines the item image of the second item located in the real environment; in response to the confirmation submission operation for the item image of the second item, uploads the item image of the second item located in the real environment.

[0143] This embodiment introduces the implementation method of the image upload operation, adds an image upload function in the virtual environment, which is conducive to realizing the image upload of the second item, realizes the close combination of the virtual environment and the real environment, and improves the operation efficiency of the image upload operation.

[0144] In some embodiments, the item image of the second item is an image captured and uploaded in real time by a camera. The first option includes a photo-taking option. Step 343 is specifically implemented as Step 3431 and Step 3432:

[0145] Step 3431, in response to the startup operation of the camera, start the camera;

[0146] Step 3432, through the camera, capture the item image of the second item located in the real environment.

[0147] The computer device includes a built-in camera or an external camera. The first option includes a photo-taking option, and the photo-taking option is used to automatically trigger the startup of the camera. Exemplarily, the computer device starts the camera in response to the startup operation of the camera; through the camera, captures the item image of the second item located in the real environment. In some embodiments, a retake button is also displayed. When not satisfied with the item image captured this time, the item image of the second item located in the real environment can also be retaken through the camera in response to the triggering operation of the retake button.

[0148] This embodiment introduces the implementation method of the image upload operation by capturing an item image with a camera. Players can capture and upload the item image of the second item in real time, which is conducive to realizing the image upload of the second item and improving the operation efficiency of the image upload operation.

[0149] In some embodiments, the item image of the second item is an image that has been captured or downloaded and stored in the album. The first option includes an album option; Step 343 is specifically implemented as Step 3433 and Step 3434:

[0150] Step 3433, in response to the startup operation of the album, display the album;

[0151] Step 3434, in response to the selection operation, select the item image of the second item located in the real environment from the album.

[0152] The computer device includes an album, which can be a system album, an album in a social platform, or a group album in a chat session, and can be specifically set according to actual technical needs. The first option includes an album option for automatically triggering the start of the album. Exemplarily, the computer device displays the album in response to the start operation of the album, and selects the item image of the second item located in the real environment from the album in response to the selection operation. The selection operation includes at least one of the following: click, double-click, slide, drag, and long-press on the item image of the second item.

[0153] This embodiment introduces an implementation method of image upload operation by selecting an item image through the album. Players can directly select and upload the item image of the second item, which is beneficial to realizing the image upload of the second item and improving the operation efficiency of the image upload operation.

[0154] In a specific example, taking the interactive operation as an example of photographing the item image of the second item located in the real environment, in response to the image shooting operation of the first item, the item image of the second item located in the real environment is photographed, and the specific implementation is steps 345 and 346:

[0155] Step 345, in response to the image shooting operation of the first item, start the camera;

[0156] Step 346, through the camera, photograph the item image of the second item located in the real environment.

[0157] The image shooting operation of the first item includes a triggering operation on the photographing button corresponding to the first item, and the photographing button is displayed in the peripheral area of the first item, and the peripheral area is one of the following: upper area, lower area, left area, and right area. In some embodiments, the item image of the second item photographed this time can be automatically submitted after the image shooting operation ends.

[0158] The computer device includes a built-in camera or an external camera. Exemplarily, the computer device starts the camera in response to the image shooting operation of the first item, and photographs the item image of the second item located in the real environment through the camera. In some embodiments, a re-shooting button is also displayed. When the player is not satisfied with the item image photographed this time, the player can also, in response to the triggering operation on the re-shooting button, re-photograph the item image of the second item located in the real environment through the camera.

[0159] This embodiment introduces an implementation method of photographing the item image of the second item. Players can directly photograph the item image of the second item and can also automatically upload the item image of the second item photographed this time, which improves the operation efficiency of the image shooting operation.

[0160] In some embodiments, the collection result is related to the collection rate, and step 360 is specifically implemented as step 362:

[0161] Step 362, in response to the collection operation on the first item, display the collection result of the virtual character collecting the first item based on the collection rate; wherein, the collection rate is used to indicate the probability of the virtual character successfully collecting the first item, and the collection rate is related to the matching result between the interaction result of the interaction operation and the first item, or the collection rate is related to the matching result between the interaction result of the interaction operation and the preset interaction operation corresponding to the first item.

[0162] The collection operation on the first item includes the triggering operation on the collection button corresponding to the first item. The collection button is displayed in the peripheral area of the first item, and the peripheral area is one of the following: upper area, lower area, left area, right area. The triggering operation includes at least one of the following: click, double-click, long press, slide, voice trigger, command trigger.

[0163] The collection rate is used to indicate the probability of the virtual character successfully collecting the first item. Each virtual item has a corresponding collection rate. Initially, the collection rate is preset. Further, it can also be adjusted / changed according to at least one of the virtual character's level, character attributes, and used skills. The collection rate corresponding to the virtual item can also be adjusted according to the interaction operation. For example, for the first item, the collection rate corresponding to the first item is also related to the matching result, and the matching result refers to the matching result between the interaction result of the interaction operation and the first item, including matching or not matching. That is, the matching result can adjust / change the collection rate.

[0164] Optionally, initially, the initial collection rate of the first item is also displayed in the peripheral area of the first item, and after receiving or detecting the interaction operation related to collecting the first item performed in the real environment, the current collection rate of the first item is also displayed, and this collection rate is related to the matching result.

[0165] In some embodiments, the collection rate is related to the matching result. Specifically, the collection rate is related to the matching result between the interaction result of the interaction operation and the first item, or the collection rate is related to the matching result between the interaction result of the interaction operation and the preset interaction operation corresponding to the first item. Among them, the collection rate has a positive correlation with the positive matching result. For example, if the matching result is matching or the matching degree is greater than the threshold, the collection rate can be increased; if the matching result is not matching or the matching degree is less than the threshold, the collection rate remains unchanged.

[0166] This embodiment introduces the implementation method of displaying the collection result of the first item based on the collection rate of the first item, which can improve the accuracy of the collection result and the determination efficiency of the collection result.

[0167] In some embodiments, the matching result includes a first matching result, which is used to characterize that the matching degree between the interaction result and the first item is greater than a threshold value. The threshold value can be set according to actual technical requirements. The collection rate includes a first collection rate and a second collection rate. The first collection rate is also called the normal collection rate or the collection success rate. The second collection rate is also called the high-quality collection rate or the high-quality collection success rate. The first matching result is used to indicate that the first collection rate of the first item is increased from a first original value to a first value, and the second original value of the second collection rate is increased by a second value. Among them, the first value and the second value can be set according to actual technical requirements. In one example, the first value is set to 100%, and the second value is set to 20%. That is, if the matching result is the first matching result, the first item can surely be collected, and the probability of high-quality collection increases.

[0168] Step 362 displays the collection result of the virtual character collecting the first item based on the collection rate, and the specific implementation is Step 3621 or Step 3622:

[0169] Step 3621, in response to the first value being equal to the maximum preset value and the sum of the second original value and the second value being less than the maximum preset value, displays the first collection result of the virtual character collecting the first item, or displays the second collection result of the virtual character collecting the first item;

[0170] Step 3622, in response to the first value being equal to the maximum preset value and the sum of the second original value and the second value being equal to the maximum preset value, displays the second collection result of the virtual character collecting the first item; where the second collection result is better than the first collection result.

[0171] In some embodiments, the second collection result is better than the first collection result. Among them, the first collection result is used to indicate that the virtual character has collected a first quantity of the first item, the second collection result is used to indicate that the virtual character has collected a second quantity of the first item, and the second quantity is greater than the first quantity. Or, the first collection result is used to indicate that the virtual character has collected a first item with a first rarity, the second collection result is used to indicate that the virtual character has collected a second item with a second rarity, and the second rarity is greater than the first rarity. Or, the first collection result is used to indicate that the virtual character has collected a first item with a first level, the second collection result is used to indicate that the virtual character has collected a second item with a second level, and the second level is greater than the first level. Or, the first collection result is used to indicate that the virtual character has collected a first item with a first attribute value, the second collection result is used to indicate that the virtual character has collected a second item with a second attribute value, and the second attribute value is greater than the first attribute value.

[0172] The maximum preset value, the first quantity, the second quantity, the first rarity, the second rarity, the first level, the second level, the first attribute value, and the second attribute value can be set according to actual technical needs. The second quantity is greater than the first quantity, the second rarity is greater than the first rarity, the second level is greater than the first level, and the second attribute value is greater than the first attribute value. For example, the second quantity is N times the first quantity, and N is greater than or equal to 1. In one example, the maximum preset value is set to 100%, the first quantity is 1, and the second quantity is 2.

[0173] The current first collection rate of the first item is the first value, and the current second collection rate is the sum of the second original value and the second value. When the current first collection rate is equal to 100% and the current second collection rate is less than 100%, ordinary collection or high-quality collection may occur. Ordinary collection corresponds to the first collection result, and high-quality collection corresponds to the second collection result. Then, display the first collection result of the virtual character collecting the first item, or display the second collection result of the virtual character collecting the first item. When the current first collection rate is equal to 100% and the current second collection rate is equal to 100%, high-quality collection will definitely occur, and high-quality collection corresponds to the second collection result. Then, display the second collection result of the virtual character collecting the first item.

[0174] This embodiment introduces the influence of the first matching result on the collection rate of the first item, and also introduces the collection results corresponding to different collection rates, which can improve the accuracy of the collection results and the determination efficiency of the collection results.

[0175] In some embodiments, the matching result includes a second matching result, which is used to represent that the matching degree between the interaction result and the first item is less than the threshold. The threshold can be set according to actual technical needs. The collection rate includes a first collection rate and a second collection rate. The first collection rate is also called the ordinary collection rate or the collection success rate. The second collection rate is also called the high-quality collection rate or the high-quality collection success rate. The second matching result is used to indicate that the first collection rate of the first item remains the first original value unchanged and the second collection rate remains the second original value unchanged. That is, when the matching result is the second matching result, the collection result is still determined according to the initial collection rate, and it is possible to collect the first item or the collection may fail.

[0176] Step 362 displays the collection result of the virtual character collecting the first item based on the collection rate, and is specifically implemented as Step 3623 or Step 3624:

[0177] Step 3623, in response to the first original value being less than the maximum preset value and the second original value being less than the maximum preset value, display the first collection result of the virtual character collecting the first item, or display the second collection result of the virtual character collecting the first item, or display the third collection result of the virtual character collecting the first item;

[0178] Step 3624, in response to the first original value being equal to the maximum preset value and the second original value being equal to the maximum preset value, display the second collection result of the virtual character collecting the first item; wherein, the second collection result is better than the first collection result, and the third collection result is used to indicate that the virtual character fails to collect the first item.

[0179] In some embodiments, the second collection result is better than the first collection result, and the third collection result is used to indicate that the virtual character fails to collect the first item. Among them, the first collection result is used to indicate that the virtual character collects the first item in a first quantity, the second collection result is used to indicate that the virtual character collects the first item in a second quantity, and the second quantity is greater than the first quantity. Or, the first collection result is used to indicate that the virtual character collects the first item with a first rarity, the second collection result is used to indicate that the virtual character collects the first item with a second rarity, and the second rarity is greater than the first rarity. Or, the first collection result is used to indicate that the virtual character collects the first item at a first level, the second collection result is used to indicate that the virtual character collects the first item at a second level, and the second level is greater than the first level. Or, the first collection result is used to indicate that the virtual character collects the first item with a first attribute value, the second collection result is used to indicate that the virtual character collects the first item with a second attribute value, and the second attribute value is greater than the first attribute value.

[0180] The maximum preset value, the first quantity, the second quantity, the first rarity, the second rarity, the first level, the second level, the first attribute value, and the second attribute value can be set according to actual technical needs, with the second quantity greater than the first quantity, the second rarity greater than the first rarity, the second level greater than the first level, and the second attribute value greater than the first attribute value. For example, the second quantity is N times the first quantity, where N is greater than or equal to 1. In one example, the maximum preset value is set to 100%, the first quantity is 1, and the second quantity is 2.

[0181] The current first collection rate of the first item is still the first original value, and the current second collection rate is still the second original value. When the current first collection rate is less than 100% and the current second collection rate is less than 100%, ordinary collection or high-quality collection or collection failure may occur. Ordinary collection corresponds to the first collection result, high-quality collection corresponds to the second collection result, and collection failure corresponds to the third collection result. Then display the first collection result of the virtual character collecting the first item, or display the second collection result of the virtual character collecting the first item, or display the third collection result of the virtual character collecting the first item. When the current first collection rate is equal to 100% and the current second collection rate is equal to 100%, high-quality collection will necessarily occur, and high-quality collection corresponds to the second collection result. Then display the second collection result of the virtual character collecting the first item.

[0182] This embodiment introduces the influence of the second matching result on the collection rate of the first item, and also introduces the collection results corresponding to different collection rates, which can improve the accuracy of the collection results and the determination efficiency of the collection results.

[0183] In some embodiments, the method further includes at least one of the following:

[0184] (1) Playing a collection animation of a virtual character collecting the first item; the first item corresponds to the collection animation, and the computer device also plays the collection animation of the virtual character collecting the first item in response to the collection operation on the first item, and displays the collection result of the virtual character collecting the first item in response to the completion of the playback of the collection animation.

[0185] (2) Displaying a first matching prompt for indicating the first matching result; the first matching prompt corresponds to the first matching result, and the first matching prompt can be at least one of the following: text prompt, image prompt, icon prompt, video prompt, voice prompt. For example, the first matching prompt is a text prompt, and the first matching prompt is "The interaction result of the interaction operation is consistent with the first item, the collection success rate of the first item is increased to 100%, and the high-quality rate is increased by 20%".

[0186] (3) Displaying a second matching prompt for indicating the second matching result; the second matching prompt corresponds to the second matching result, and the second matching prompt can be at least one of the following: text prompt, image prompt, icon prompt, video prompt, voice prompt. For example, the second matching prompt is a text prompt, and the second matching prompt is "The interaction result of the interaction operation does not match the first item, and the collection success rate and high-quality rate of the first item remain unchanged".

[0187] (4) Displaying a first promotion icon for indicating that the first collection rate is promoted from a first original value to a first value; the first promotion icon can be a promotion mark of the first collection rate corresponding to the first item, highlighting the promotion mark of the first collection rate corresponding to the first item, or it can be another icon. The first promotion icon is used to indicate that the first collection rate is promoted from the first original value to the first value.

[0188] (5) Displaying a second promotion icon for indicating that a second original value of a second collection rate is promoted by a second value; the second promotion icon can be a promotion mark of the second collection rate corresponding to the first item, highlighting the promotion mark of the second collection rate corresponding to the first item, or it can be another icon. The second promotion icon is used to indicate that the second original value of the second collection rate is promoted by the second value.

[0189] (6) Display a first collection prompt, which is used to indicate the first collection result; the first collection prompt corresponds to the first collection result, and the first collection prompt can be at least one of the following: text prompt, image prompt, icon prompt, video prompt, voice prompt. For example, if the first collection prompt is a text prompt, the first collection prompt is "Ordinary collection occurred, obtained 1 piece of the first item", or "Obtained 1 piece of the first item".

[0190] (7) Display a second collection prompt, which is used to indicate the second collection result; the second collection prompt corresponds to the second collection result, and the second collection prompt can be at least one of the following: text prompt, image prompt, icon prompt, video prompt, voice prompt. For example, if the second collection prompt is a text prompt, the second collection prompt is "High-quality collection occurred, obtained 2 pieces of the first item", or "Obtained 2 pieces of the first item".

[0191] (8) Display a third collection prompt, which is used to indicate the third collection result; the third collection prompt corresponds to the third collection result, and the third collection prompt can be at least one of the following: text prompt, image prompt, icon prompt, video prompt, voice prompt. For example, if the third collection prompt is a text prompt, the third collection prompt is "Unfortunately, the collection of the first item failed", or "Obtained 0 pieces of the first item".

[0192] This embodiment introduces the method of playing a collection animation and displaying corresponding prompts according to the matching result and the collection result, which can timely prompt the player of the current collection process, matching result and collection result, improve the transparency of information, and thus improve the efficiency of human-computer interaction.

[0193] In some embodiments, the player can control the virtual character to move to the collection point according to the location guidance. Specifically, step 320 controls the virtual character located in the virtual environment to move to the collection point, which is implemented as step 321 and step 322:

[0194] Step 321, in the virtual map, display the location guidance of the collection point;

[0195] Step 322, based on the location guidance, control the virtual character to move to the collection point.

[0196] The location guidance of the collection point includes at least one of the following: text guidance, icon guidance, path guidance. The text includes at least one of the following: text containing direction, text containing distance. The icon includes at least one of the following: marker icon, arrow icon, dotted line icon. The path includes at least one of the following: straight path, curved path, shortest reachable path.

[0197] Exemplarily, in a virtual map, a computer device displays a location guide for a collection point; based on the location guide, it controls a virtual character to move to the collection point. Among them, in response to a movement operation based on a path guide, it controls the virtual character to move to the collection point. In some embodiments, the virtual character also has the ability of automatic pathfinding. Without manual control, in response to the release operation of the automatic pathfinding skill, the virtual character automatically moves to the collection point based on the location guide.

[0198] This embodiment introduces the way for a player to control a virtual character to move to a collection point based on a location guide, enabling the virtual character to accurately and quickly reach the collection point, so as to facilitate subsequent collection operations and improve the efficiency of human-computer interaction.

[0199] In some embodiments, the location guide for the collection point is triggered by a collection note. Step 321 displays the location guide for the collection point in the virtual map, which is specifically implemented as steps 3211, 3212, and 3213:

[0200] Step 3211, in the collection note, display the collection point corresponding to the first item;

[0201] Step 3212, in response to a triggering operation on the collection point, open the virtual map;

[0202] Step 3213, in the virtual map, display the location guide for the collection point.

[0203] The collection note corresponds to a collection note button. The collection note stores virtual items that different virtual characters can collect and the item information of each virtual item. The item information includes at least one of the following: image, name, level, item attribute, collection condition, collection point, rarity. The collection condition includes at least one of the following: the level of the virtual character, character attributes, unlocked skills, unlocked maps.

[0204] In some embodiments, different virtual characters in the collection note are displayed in the form of tabs, with one virtual character corresponding to one tab. Under each tab, each virtual item is displayed in the form of a list, with one virtual item corresponding to one list item. The item information of each virtual item is displayed in the form of an expansion page after triggering the list item of the virtual item, with one virtual item corresponding to one expansion page. The collection note also provides a search box, and searching can be performed by entering the item information of the virtual item in the search box.

[0205] Exemplarily, in response to a triggering operation on the collection note button, a computer device opens the collection note, and in the collection note, it displays the collection point corresponding to the first item; in response to a triggering operation on the collection point, it opens the virtual map, where the virtual map is set to automatically open after being triggered; in the virtual map, it displays the location guide for the collection point.

[0206] This embodiment introduces a specific method for triggering location guidance based on the collection note. Based on this map guidance, the player can control the virtual character to move to the collection point, enabling the virtual character to accurately and quickly reach the collection point for subsequent collection operations, thereby improving the efficiency of human-computer interaction.

[0207] In some embodiments, the first item is a virtual item selected in the collection note. Step 3211 displays the collection point corresponding to the first item in the collection note, which is specifically implemented as steps 32111, 32112, and 32113:

[0208] Step 32111 displays at least one candidate item to be collected by the virtual character in the collection note;

[0209] Step 32112 selects the first item from at least one candidate item in response to a selection operation;

[0210] Step 32113 displays the collection point corresponding to the first item.

[0211] In the collection note, information related to at least one candidate item to be collected by the virtual character can be displayed. The at least one candidate item to be collected by the virtual character is displayed in the form of a list, and the collection point of the first item is displayed on the expansion page of the first item.

[0212] Exemplarily, the computer device displays at least one candidate item to be collected by the virtual character in the collection note; selects the first item from at least one candidate item in response to a selection operation; and displays the collection point corresponding to the first item. The selection operation includes but is not limited to at least one of the following: clicking, double-clicking, swiping, dragging, and long-pressing on the first item.

[0213] This embodiment introduces a method for determining the first item and the collection point corresponding to the first item based on the collection note, which can improve the determination efficiency of the first item and the collection point corresponding to the first item and improve the efficiency of human-computer interaction.

[0214] In some embodiments, the location guidance of the collection point is triggered by the map exploration skill. Step 321 displays the location guidance of the collection point in the virtual map, which is specifically implemented as steps 3214 and 3215:

[0215] Step 3214 displays the map exploration result in response to the release operation of the map exploration skill;

[0216] Step 3215 displays the location guidance of the collection point indicated by the map exploration result in the virtual map.

[0217] The virtual character includes a map exploration skill, which is used to explore the collection point closest to the virtual character in the virtual map for a certain period of time. The map exploration skill corresponds to a map exploration skill button, and the release operation of the map exploration skill includes the triggering operation of the map exploration skill button. The map exploration result is used to indicate the collection point closest to the virtual character explored in the virtual map and the location of the collection point. The map exploration result can be indicated in at least one of the following ways: text indication, image indication, icon indication, arrow indication, video indication, voice indication. The map exploration result includes at least one of the following information: direction information, distance information, name, level, and type of the collection point. For example, the map exploration result is a text indication, and the map exploration result is "Found a level X collection point X meters north".

[0218] Exemplarily, the computer device displays the map exploration result in response to the release operation of the map exploration skill; in the virtual map, it displays the location guidance of the collection point indicated by the map exploration result.

[0219] This embodiment introduces the specific method of determining the collection point based on the map exploration skill and triggering the location guidance. Based on this map guidance, the player can control the virtual character to move to the collection point, enabling the virtual character to accurately and quickly reach the collection point, facilitating the subsequent collection operation, and improving the human-computer interaction efficiency.

[0220] In some embodiments, when the first item is selected from the collection notes, after the virtual character reaches the collection point of the first item, at least one virtual item corresponding to the collection point is also displayed, and the virtual character can select the first item again or select other virtual items as the first item. Or, when the virtual character reaches the collection point through the map exploration skill, at least one virtual item corresponding to the collection point is also displayed, and the virtual character can select the first item. The method further includes step 331 and step 332:

[0221] Step 331, in response to the scene interaction operation on the collection point, display at least one virtual item corresponding to the collection point;

[0222] Step 332, in response to the selection operation, select the first item from at least one virtual item.

[0223] There is a corresponding scene interaction button for the collection point. The scene interaction operation on the collection point includes the triggering operation of the scene interaction button. The triggering operation includes but is not limited to at least one of the following: click, double-click, long-press, slide, voice trigger, command trigger. The selection operation includes but is not limited to at least one of the following: click, double-click, slide, drag, long-press operation on the first item.

[0224] Exemplarily, the computer device displays at least one virtual item corresponding to the collection point in response to a scene interaction operation on the collection point; and selects a first item from the at least one virtual item in response to a selection operation.

[0225] This embodiment introduces a specific method for displaying at least one virtual item at the collection point and selecting the first item, which realizes the accurate and rapid selection of the first item, facilitates the execution of subsequent collection operations, and can improve the human-computer interaction efficiency.

[0226] In some embodiments, the collection point has a durability. When the virtual character collects virtual items at a collection point, the durability of the collection point will be consumed. For a collection point, as the number of collection times gradually increases, the durability gradually decreases. When the durability of the collection point is 0, the collection operation cannot be performed at this collection point, and the virtual items at this collection point cannot be collected. The number of collectable times of a collection point is the number of times the virtual character performs a collection operation at this collection point. The number of collectable times of a collection point is related to the durability of this collection point. In one example, the number of collectable times is the same as the durability. For example, if the durability is 4, the number of collectable times is 4 times. The method further includes step 351 and step 352:

[0227] Step 351, display the number of collectable times of the collection point;

[0228] Step 352, when the number of collectable times is greater than the minimum preset value, in response to a collection operation on the first item, display the collection result of the virtual character collecting the first item.

[0229] The minimum preset value can be set according to actual technical needs. In one example, the minimum preset value is set to 0. The displayed number of collectable times is the current number of collectable times. Exemplarily, the computer device displays the number of collectable times of the collection point. When the number of collectable times is greater than 0, step 360 is allowed to be executed; otherwise, a non-collectable prompt is displayed. For example, the non-collectable prompt is "The collection operation cannot be performed currently". It can be understood that after a certain cooling time, the number of collectable times of this collection point can be refreshed.

[0230] This embodiment introduces the prerequisite for performing a collection operation, that is, the number of collectable times of the collection point is greater than the minimum preset value, which is beneficial to improving the collection efficiency, avoiding the virtual items at the collection point from being collected multiple times, and improving the human-computer interaction efficiency.

[0231] In some embodiments, when the interaction operation is an image upload operation, a collection album is also set up to realize the interaction between virtual characters and inform the virtual characters which item images of the second items are beneficial to collecting the first item. The method further includes step 380:

[0232] Step 380, in response to an activation operation on the collection album, display the collection album; wherein, the collection album includes item images of the second items located in the real environment uploaded by the virtual character and other virtual characters respectively.

[0233] The collection album corresponds to a collection album button. The activation operation on the collection album includes a triggering operation on the collection album button, and the triggering operation includes at least one of the following: clicking, double-clicking, long-pressing, swiping, voice triggering, instruction triggering. The collection album stores item images of the second items located in the real environment uploaded by the virtual character and other virtual characters respectively.

[0234] In some embodiments, different types of virtual items in the collection album are displayed in the form of tabs, and one type of virtual item corresponds to one tab. For example, if the virtual items are different types of stones, they correspond to the stone tab, and if the virtual items are different types of plants, they correspond to the plant tab. Under each tab, each virtual item is displayed in the form of a list, and one virtual item corresponds to one icon, and the icon can be at least one of the image and name of the virtual item. The item images of the second items corresponding to each virtual item are displayed in the form of an expansion page after the icon of the virtual item is triggered. One virtual item corresponds to one expansion page, and one expansion page can display one or more item images of the second items uploaded by the virtual character and / or other virtual characters.

[0235] In some embodiments, for the item image of the second item corresponding to any virtual item in the collection album, the image information of the item image of the second item is also displayed, and the image information includes at least one of the following: the avatar, name of the virtual character corresponding to the item image of the second item, the first collection rate, the second collection rate corresponding to the item image of the second item, a view button, a like button, a favorite button, a comment button, a save button, a share button, a forward button.

[0236] Exemplarily, the computer device displays the collection album in response to an activation operation on the collection album. In some other embodiments, a corresponding result set is also set based on the specific type of the interaction operation. For example, if the interaction operation is to upload a video clip containing preset content, the result set is a collection video album, and the collection video album is used to store video clips containing preset content uploaded by the virtual character and other virtual characters respectively.

[0237] This embodiment introduces the setting method of the collection album. Players can view the item images of the second item based on this collection album, enabling the effective presentation of content such as item images in the real environment in the game collection virtual community, enriching the richness of the character attributes of virtual characters. At the same time, it can also effectively guide other players to submit which item images can improve the collection rate of virtual characters, effectively promoting communication and interaction among players, enhancing the game playability and social stickiness, and improving the game experience of players.

[0238] In some embodiments, the collection album also supports communication and interaction between virtual characters. The method further includes step 382:

[0239] Step 382, in response to an interaction operation on the first image in the collection album, display an interaction result; wherein, the interaction operation includes at least one of the following: view, like, favorite, comment, save, share, forward.

[0240] The first image is the item image of the second item located in the real environment corresponding to any virtual item in the collection album. The first image corresponds to at least one of the following buttons: view button, like button, favorite button, comment button, save button, share button, forward button. Exemplarily, the computer device displays an interaction result in response to an interaction operation on the first image in the collection album.

[0241] This embodiment introduces the interaction method of the collection album. Players can view the item images of the second item and interact based on this collection album, effectively promoting communication and interaction among players, enhancing the game playability and social stickiness, and improving the game experience of players.

[0242] In some embodiments, in the case where the interaction operation is an image upload operation, for the method of determining whether the item image of the second item matches the first item, the method further specifically includes: step 391, step 392, and step 393:

[0243] Step 391, perform preprocessing on the item image to obtain a preprocessed item image;

[0244] Step 392, extract the second image feature of the preprocessed item image;

[0245] Step 393, match the second image feature of the preprocessed item image with the first image feature corresponding to the first item in the image library to determine the matching result of the item image and the first item.

[0246] The preprocessing performed on the item image includes, but is not limited to, at least one of the following: image denoising, image enhancement, boundary removal, and interference pixel removal. The image features include, but are not limited to, at least one of the following: color features, texture features, shape features, and local features. The second image feature is the image feature of the processed item image, and the second image feature can be extracted by an image processing algorithm or a neural network model. The image processing algorithm can be at least one of the following: Scale-Invariant Feature Transform (SIFT), Histogram of Oriented Gradient (HOG). The neural network model includes at least one of the following: an image encoder, Convolutional Neural Networks (CNN), and a model based on the Transformer architecture. The first image feature is the image feature of the item image corresponding to the first item in the virtual environment. The extraction method of the first image feature can be the same as that of the second image feature and is pre-stored in the image library. The image library stores the image features of the item images corresponding to different virtual items.

[0247] Exemplarily, the computer device performs preprocessing on the item image to obtain the preprocessed item image; extracts the second image feature of the preprocessed item image; matches the second image feature of the preprocessed item image with the first image feature corresponding to the first item in the image library, and calculates the cosine similarity or Euclidean distance between the first image feature and the second image feature, so as to determine the matching result between the item image and the first item.

[0248] This embodiment introduces the matching method between the item image of the second item and the first item, which can accurately and quickly determine the matching result, thereby facilitating the determination of the acquisition result and improving the human-computer interaction efficiency.

[0249] The following embodiments will comprehensively illustrate the acquisition method of virtual items with reference to schematic diagrams.

[0250] (1) Process Introduction

[0251] In this embodiment, taking the computer device as a terminal as an example, the terminal installs and runs the client of the target application program that supports the virtual environment, and the target application program is a game application program. Taking the interaction operation related to collecting the first item performed in the real environment as an image upload operation, and the image upload operation refers to uploading the item image of the second item located in the real environment as an example for illustration.

[0252] (1) Process Introduction

[0253] The player clicks the collection note button to open the collection note, selects the virtual item to be collected, and the collection points are displayed. The player controls the virtual character to walk to the collection point, starts to select the virtual item, and clicks the photo button. The player can choose to take a photo or open the photo album, take / select the item image for submission. If it matches the virtual item, the collection success rate and high-quality collection rate of this virtual item can be increased. The player clicks the collection button to collect this virtual item and can obtain the collection result.

[0254] (2) Basic rules

[0255] The player clicks the collection note button to open the collection note, selects the virtual item to be collected. If there is a photo button for the virtual item, the player can choose to take a photo or open the photo album, take / select the item image for submission. After submitting the item image, the system makes the following judgments: 1. If the item image is of the same category as the virtual item, the collection success rate is increased to 100%, and at the same time, the high-quality collection rate is increased by 20%; 2. If the item image does not match the category of the virtual item, there is no improvement effect.

[0256] (3) Collection rules

[0257] 1. Each collection point has durability. Each use of the collection skill consumes 1 point of durability. When the durability is 0, collection cannot be carried out; 2. According to the current collection success rate and high-quality collection rate of the virtual item, the collection result is displayed: ① High-quality collection occurs, and the player obtains 2 times of this virtual item; ② Ordinary collection occurs, and the player obtains 1 time of this virtual item; ③ Collection fails, and the player does not obtain this virtual item.

[0258] (4) Process schematic

[0259] Taking the character attribute of the virtual character being a quarry worker as an example. Refer to Figure 5 As shown in (1) of , the player opens the collection note 21. By default, based on the character attribute and level of the virtual character, the virtual items to be collected by this virtual character, namely "X collection item, B collection item, C collection item, D collection item, E collection item, F collection item", are displayed in a list on the left. The player clicks on the virtual item "X collection item" 22, and the collection point "XX Safe Haven" 23 of the virtual item "X collection item" is displayed in an expanded page on the right. Refer to Figure 5 As shown in (2) of , the virtual map is opened to display the location 24 of the collection point 23. The player controls the virtual character to move to the collection point 23 according to this location 24. Refer to Figure 5 As shown in (3) of , the virtual character reaches the collection point 23. The player clicks the scene interaction button "XX-level stone quarry" 25 and starts the collection. Refer to Figure 6As shown in (1) therein, the virtual items corresponding to the collection point 23, namely "A collection item, B collection item, X collection item", are displayed in a list on the left. The player clicks the photographing button 26 corresponding to the virtual item "X collection item". In one embodiment, refer to Figure 6 As shown in (2) therein, the image upload options "Take a photo, Mobile phone album" are displayed. The player clicks the "Take a photo" option 27. Refer to Figure 7 As shown in (1) therein, the camera is opened to take a real-time item image 28 of the second item located in the real environment. Refer to Figure 7 As shown in (2) therein, the confirmation submission button "Confirm submission" 29 is clicked to upload the item image 28. In another embodiment, refer to Figure 8 As shown in (1) therein, the image upload options "Take a photo, Mobile phone album" are displayed. The player clicks the "Mobile phone album" option 30. Refer to Figure 8 As shown in (2) therein, the album 31 is displayed. The album 31 includes the item images that have been taken or downloaded. Refer to Figure 8 As shown in (3) therein, the item image 28 of the second item is selected from the album 31, and the confirmation submission button "Submit" 33 is clicked to upload the item image 28.

[0260] Refer to Figure 9 As shown in (1) therein, after the item image 28 of the second item is successfully uploaded, the system detects whether the item image 28 matches the virtual item "X collection item". In the case of a match, a match prompt 34 is displayed: "The photo matches the X collection item. The collection success rate of the X collection item is increased to 100%, and the high-quality rate is increased by 20%". The current collection success rate "100%" and high-quality collection rate "30%" of the virtual item "X collection item" are also displayed on the left. In some embodiments, refer to Figure 9 As shown in (2) therein, the player clicks the collection button 35 of the virtual item "X collection item" to perform a collection operation. When an ordinary collection occurs, a collection prompt 36 is displayed: "Obtain X collection item × 1". In other embodiments, refer to Figure 9 As shown in (3) therein, the player clicks the collection button 35 of the virtual item "X collection item" to perform a collection operation. When a high-quality collection occurs, a collection prompt 37 is displayed: "A high-quality collection occurs. Obtain X collection item × 2".

[0261] Participate in Figure 10 As shown in (1) therein, the player opens the collection album 38. The collection album 38 can view the item images of the second items located in the real environment corresponding to different virtual items. These item images are uploaded by virtual characters and other virtual characters. The player clicks the virtual item 39 on the left, and the item image of the second item corresponding to the virtual item 39 is displayed on the right. The player clicks the item image 40. Refer to Figure 10As shown in (2) therein, an item image 40 and corresponding various interactive buttons 41 are displayed, and players can perform interactions such as giving a like, commenting, and collecting according to the interactive buttons.

[0262] Taking the character attribute of the virtual character being a gardener as an example. Refer to Figure 11 As shown in (1) therein, when the virtual character reaches the collection point, the player clicks on the scene interaction button "XX-level plant" 50 to start the collection. Refer to Figure 11 As shown in (2) therein, the virtual items corresponding to the collection point, namely "C collection item, D collection item, Y collection item", are displayed in a list on the left. The player clicks on the photographing button 51 corresponding to the virtual item "Y collection item". In one embodiment, refer to Figure 12 As shown in (1) therein, the image upload options "Take a photo, Mobile album" are displayed. The player clicks on the "Mobile album" option 52. Figure 12 As shown in (2) therein, an album 53 is displayed. The album 53 includes item images that have been photographed or downloaded. Refer to Figure 12 As shown in (3) therein, select the item image 54 of the second item from the album 53, and click on the confirmation submission button "Submit" 55 to upload the item image 54.

[0263] Refer to Figure 13 As shown in (1) therein, after successfully uploading the item image 54 of the second item, the system detects whether the item image 54 matches the virtual item "Y collection item". In the case of a match, a match prompt 56 is displayed: "The photo matches the Y collection item. The collection success rate of the Y collection item is increased to 100%, and the high-quality rate is increased by 20%". The current collection success rate "100%" and high-quality collection rate "30%" of the virtual item "Y collection item" are also displayed on the left. In some embodiments, refer to Figure 13 As shown in (2) therein, the player clicks on the collection button 57 of the virtual item "Y collection item" to perform a collection operation. When a normal collection occurs, a collection prompt 58 is displayed: "Obtain 1 × Y collection item"; In other embodiments, refer to Figure 13 As shown in (3) therein, the player clicks on the collection button 57 of the virtual item "Y collection item" to perform a collection operation. When a high-quality collection occurs, a collection prompt 59 is displayed: "A high-quality collection occurred. Obtain 2 × Y collection items".

[0264] Refer to Figure 14 , the player opens the collection album 60. The collection album 60 can view the item images of the second items located in the real environment corresponding to different virtual items. These item images are uploaded by the virtual character and other virtual characters. The player clicks on the virtual item 61 on the left, and various item images 62 of the second item corresponding to the virtual item 61 are displayed on the right.

[0265] In some embodiments, refer to Figure 15As shown, the map exploration skill button 71 is also displayed. The virtual character also includes the map exploration skill, which is used to explore the collection point closest to the virtual character on the virtual map for a certain period of time. Refer to Figure 16 As shown in (1) of Figure 16 When the player clicks the map exploration skill button 71 and the map exploration result 72 "An XX-level stone quarry has been discovered X meters north" is displayed, the collection point is the "XX-level stone quarry". Refer to Figure 16 As shown in (2) of

[0266] (2) Technical implementation

[0267] (1) Process diagram

[0268] Refer to Figure 17 , the virtual item that the player needs to collect in the virtual environment is called the target collection item, and the second item located in the real environment is called the target item. The process of the virtual item collection method is as follows:

[0269] 1. Collection starts; continue with 2;

[0270] 2. Click the photo button of the target collection item to open the floating layer interface, and you can click the [Take Photo] or [Mobile Album] option; continue with 3 or 7;

[0271] 3. Click the [Take Photo] option to open the camera system and take a photo of the target item according to the target collection item; continue with 4;

[0272] 4. Determine whether the captured item image matches the target collection item; if it matches, execute 6, if not, execute 5;

[0273] 5. The collection success rate remains unchanged; continue with 17;

[0274] 6. The captured item image matches the target collection item, and a prompt is given: The collection success rate of the target collection item is increased to 100%, and the high-quality collection rate is increased by 20%; continue with 11;

[0275] 7. Click the [Mobile Album] option to open the album system and select an item image for submission according to the target collection item; continue with 8;

[0276] 8. Determine whether the submitted item image matches the target collection item; if it matches, execute 10, if not, execute 9;

[0277] 9. The collection success rate remains unchanged; continue with 17;

[0278] 10. The submitted item image matches the target collection item, and a prompt is given: the collection success rate of the target collection item is increased to 100%, and the high-quality collection rate is increased by 20%; continue to execute 11;

[0279] 11. Click the collection button of the target collection item, and determine the collection result according to the current collection success rate and high-quality collection rate; continue to execute 12 or 13;

[0280] 12. Collection result 1: An ordinary collection occurs, and 1 × target collection item is obtained; continue to execute 14;

[0281] 13. Collection result 2: A high-quality collection occurs, and 2 × target collection items are obtained; continue to execute 14;

[0282] 14. Determine whether the durability of the collection point is exhausted; if exhausted, execute 16, if not exhausted, execute 15;

[0283] 15. Continue to collect;

[0284] 16. Collection ends;

[0285] 17. Click the collection button of the target collection item, and determine the collection result according to the current collection success rate and high-quality collection rate; continue to execute 18;

[0286] 18. Collection result 1: An ordinary collection occurs, and 1 × target collection item is obtained; Collection result 2: A high-quality collection occurs, and 2 × target collection items are obtained; Collection result 3: Collection fails; continue to execute 14;

[0287] Optionally, it also includes 19. Support using character attribute skills to adjust the ordinary collection rate and high-quality collection rate.

[0288] (2) For the determination of the item image

[0289] The system judges the item image submitted by the player based on image recognition technology: ① If the content of the recognized item image matches the target collection item, the collection success rate is increased to 100%, and the high-quality collection rate is increased by 20%; ② If the content of the recognized item image does not match the target collection item, the collection success rate and high-quality collection rate remain unchanged.

[0290] In some embodiments, the principle of the image recognition technology mainly includes: image acquisition, feature extraction, and pattern matching. The item image is acquired through devices such as cameras and cameras, or an item is selected from the album for submission, and preprocessing is performed on the item image, including at least one of denoising and enhancement to improve the image quality. Deep learning algorithms are used to extract features from the image, and image features in the image are extracted, such as at least one of edges, textures, colors, and structures. The extracted image features are matched and compared with the content of the known image library to determine whether the object in the item image matches the target collection item.

[0291] Reference Figure 18 Figure 18 , the process of the image recognition technology for item images is briefly described as follows: 1. Obtain the original image; 2. Adjust the original image to a grayscale image; 3. Adjust the grayscale image to a black-and-white image; 4. Perform boundary removal processing; 5. Extract the pixel distribution pattern; 6. Remove interfering pixels; 7. Extract image features; 8. Perform feature matching to determine whether the item image is a normal image or a junk image. In the case where the item image is a normal image, determine the matching result of whether the item image matches or does not match the first item.

[0292] (3) Judgment of the collection result

[0293] When the player clicks the collection button corresponding to the target collection item, the system determines the collection result according to the current collection success rate and high-quality collection rate of the target collection item as follows: ① If the collection success rate = 100% and the high-quality collection rate = 100%, then the collection must be successful and a high-quality collection occurs, and the collection prompt "A high-quality collection occurs, obtain the target collection item × 2" is displayed; ② If the collection success rate < 100% and the high-quality collection rate < 100%, then according to the current collection success rate and high-quality collection rate, when the collection is successful and a normal collection occurs, the collection prompt "Obtain the target collection item × 1" is displayed, when the collection is successful and a high-quality collection occurs, the collection prompt "A high-quality collection occurs, obtain the target collection item × 2" is displayed, and when the collection fails, the collection prompt "Collection failed" is displayed.

[0294] (4) Judgment of durability

[0295] The number of collectible times for each collection point is limited. The principle by which the system determines the number of collectible times according to durability is as follows: ① If the durability of the collection point > 0, clicking the collection button can continue the collection; ② If the durability of the collection point = 0, then it cannot be collected and the collection ends.

[0296] (5) Virtual items corresponding to virtual characters

[0297] The character attribute of the virtual character is a quarryman, and the content recognized in the item image includes at least one of the following: granite, jade, turquoise. The character attribute of the virtual character is a gardener, and the content recognized in the item image includes at least one of the following: latex, maple tree, tea leaves.

[0298] In summary, the method for collecting virtual items provided in this embodiment has at least the following beneficial effects:

[0299] 1. During the process of collecting virtual items in the game, add interactive operations related to collecting virtual items that are performed in the real environment, such as innovative function designs like taking pictures and submitting images. This makes the behavior of collecting virtual items in the virtual environment in the game linked to the life scenarios and behaviors in the real environment, enabling adjustment and change of the collection results of virtual items in the virtual environment, thereby significantly improving the human-computer interaction efficiency and enhancing the game strategy. This makes the behavior of collecting virtual items in the virtual environment in the game not limited to the virtual environment alone, but closely combines the real environment with the virtual environment, increasing the mapping and associated interaction between game behaviors and the real environment, and enhancing the game's interest and playability.

[0300] 2. Set up a collection album in the game to effectively present content such as item images in the real environment in the game's virtual collection community, enriching the richness of the virtual character's attributes. At the same time, it can also effectively guide other players to submit which item images can improve the collection rate of the virtual character, effectively promoting communication and interaction among players, enhancing the game's playability and social stickiness, and improving the players' game experience.

[0301] Figure 19 It is a block diagram of a virtual item collection device provided by an exemplary embodiment of the present application. The virtual item collection device 800 includes at least some of the control module 820, the processing module 840, and the display module 860.

[0302] The control module 820 is used to control the virtual character located in the virtual environment to move to the collection point, and the collection point is used to indicate that the virtual character collects at least one virtual item, and the at least one virtual item includes the first item.

[0303] The processing module 840 is used to receive or detect interactive operations related to collecting the first item that are performed in the real environment.

[0304] The display module 860 is used to display the collection result of the virtual character collecting the first item in response to the collection operation on the first item, and the collection result is related to the interactive result of the interactive operation.

[0305] In some embodiments, the interactive operations related to collecting the first item that are performed in the real environment include at least one of the following:

[0306] Perform a preset interactive gesture;

[0307] Perform a preset interactive action;

[0308] Input a preset interactive voice;

[0309] Input a preset interactive instruction;

[0310] Complete preset interactive tasks;

[0311] Shoot or upload or select a video clip containing preset content;

[0312] An item image of the second item located in the real environment is captured or uploaded.

[0313] In some embodiments, the processing module 840 is configured to:

[0314] displaying the preset interactive gesture corresponding to the first object, and detecting the interactive gesture performed in the real environment in response to a gesture input operation;

[0315] displaying the preset interactive action corresponding to the first object, and detecting the interactive action performed in the real environment in response to an action input operation;

[0316] Displaying preset voice content corresponding to the first object, and receiving, in response to a voice input operation, an interactive voice corresponding to the voice content input in the real environment;

[0317] displaying preset instruction content corresponding to the first object, and receiving, in response to an instruction input operation, an interactive instruction corresponding to the instruction content input in the real environment;

[0318] displaying the preset interactive task indicated by the first object, and detecting the interactive task completed in the real environment in response to a task execution operation;

[0319] displaying a video clip containing preset content corresponding to the first item, and selecting a video clip containing video content in response to a video selection operation;

[0320] displaying preset content corresponding to the first item, and uploading a video clip containing the video content in response to a video upload operation;

[0321] displaying preset content corresponding to the first item, and capturing a video clip containing the video content in response to a video capture operation;

[0322] In response to the image uploading operation for the first object, uploading an object image of a second object located in the real environment;

[0323] In response to the image capturing operation of the first object, an object image of a second object located in the real environment is captured.

[0324] In some embodiments, the processing module 840 is configured to:

[0325] In response to an image upload operation for the first item, displaying an image upload option;

[0326] In response to a selection operation, select a first option from the image upload options;

[0327] Based on the first option, determine an item image of the second item located in the real environment;

[0328] In response to a confirmation submission operation for the item image of the second item, upload the item image of the second item located in the real environment.

[0329] In some embodiments, the first option includes a photographing option;

[0330] The processing module 840 is configured to:

[0331] In response to a startup operation of the camera, start the camera;

[0332] Through the camera, take an item image of the second item located in the real environment.

[0333] In some embodiments, the first option includes an album option;

[0334] The processing module 840 is configured to:

[0335] In response to a startup operation of the album, display the album;

[0336] In response to a selection operation, select an item image of the second item located in the real environment from the album.

[0337] In some embodiments, the processing module 840 is configured to:

[0338] In response to an image capturing operation for the first item, start the camera;

[0339] Through the camera, take an item image of the second item located in the real environment.

[0340] In some embodiments, the display module 860 is configured to:

[0341] In response to a collection operation for the first item, display a collection result of the virtual character collecting the first item based on a collection rate;

[0342] Wherein, the collection rate is used to indicate the probability of the virtual character successfully collecting the first item, and the collection rate is related to a matching result between an interaction result of the interaction operation and the first item, or, the collection rate is related to a matching result between an interaction result of the interaction operation and a preset interaction operation corresponding to the first item.

[0343] In some embodiments, the matching result includes a first matching result, which is used to characterize that the matching degree between the interaction result and the first item is greater than a threshold; the collection rate includes a first collection rate and a second collection rate, and the first matching result is used to indicate that the first collection rate of the first item is increased from a first original value to a first value, and the second original value of the second collection rate is increased by a second value;

[0344] A display module 860, configured to:

[0345] In response to the first value being equal to a maximum preset value and the sum of the second original value and the second value being less than the maximum preset value, display a first collection result of the virtual character collecting the first item, or display a second collection result of the virtual character collecting the first item;

[0346] In response to the first value being equal to the maximum preset value and the sum of the second original value and the second value being equal to the maximum preset value, display the second collection result of the virtual character collecting the first item;

[0347] Wherein, the second collection result is better than the first collection result.

[0348] In some embodiments, the matching result includes a second matching result, which is used to characterize that the matching degree between the interaction result and the first item is less than a threshold; the collection rate includes a first collection rate and a second collection rate, and the second matching result is used to indicate that the first collection rate of the first item remains unchanged at the first original value and the second collection rate remains unchanged at the second original value;

[0349] A display module 860, configured to:

[0350] In response to the first original value being less than the maximum preset value and the second original value being less than the maximum preset value, display a first collection result of the virtual character collecting the first item, or display a second collection result of the virtual character collecting the first item, or display a third collection result of the virtual character collecting the first item;

[0351] In response to the first original value being equal to the maximum preset value and the second original value being equal to the maximum preset value, display the second collection result of the virtual character collecting the first item;

[0352] Wherein, the second collection result is better than the first collection result, and the third collection result is used to indicate that the virtual character fails to collect the first item.

[0353] In some embodiments, the display module 860 is configured to perform at least one of the following:

[0354] Play the collection animation of the virtual character collecting the first item;

[0355] Display a first matching prompt for indicating the first matching result;

[0356] Display a second matching prompt for indicating the second matching result;

[0357] Display a first upgrade icon for indicating that the first collection rate is upgraded from the first original value to the first numerical value;

[0358] Display a second upgrade icon for indicating that the second original value of the second collection rate is upgraded to the second numerical value;

[0359] Display a first collection prompt for indicating the first collection result;

[0360] Display a second collection prompt for indicating the second collection result;

[0361] Display a third collection prompt for indicating the third collection result.

[0362] In some embodiments, the control module 820 is configured to:

[0363] In the virtual map, display the location guidance of the collection point;

[0364] Based on the location guidance, control the virtual character to move to the collection point.

[0365] In some embodiments, the control module 820 is configured to:

[0366] In the collection note, display the collection point corresponding to the first item;

[0367] In response to a triggering operation on the collection point, open the virtual map;

[0368] In the virtual map, display the location guidance of the collection point.

[0369] In some embodiments, the control module 820 is configured to:

[0370] In the collection note, display at least one candidate item to be collected by the virtual character;

[0371] In response to a selection operation, select the first item from the at least one candidate item;

[0372] Display the collection point corresponding to the first item.

[0373] In some embodiments, the control module 820 is configured to:

[0374] In response to an operation of releasing the map exploration skill, display the map exploration result;

[0375] In the virtual map, display the location guidance of the collection point indicated by the map exploration result.

[0376] In some embodiments, the display module 860 is configured to:

[0377] In response to an operation of interacting with the scene of the collection point, display the at least one virtual item corresponding to the collection point;

[0378] In response to a selection operation, select the first item from the at least one virtual item.

[0379] In some embodiments, the display module 860 is configured to:

[0380] Display the number of times the collection point can be collected;

[0381] In the case where the number of times the collection point can be collected is greater than the minimum preset value, in response to an operation of collecting the first item, display the collection result of the virtual character collecting the first item.

[0382] In some embodiments, the display module 860 is configured to:

[0383] In response to an operation of starting the collection album, display the collection album;

[0384] Wherein, the collection album includes item images of the second items located in the real environment uploaded by the virtual character and other virtual characters respectively.

[0385] In some embodiments, the display module ********** is configured to:

[0386] In response to an interaction operation on the first image in the collection album, display the interaction result;

[0387] Wherein, the interaction operation includes at least one of the following: viewing, liking, favoriting, commenting, saving, sharing, forwarding.

[0388] In some embodiments, the processing module 840 is configured to:

[0389] Perform preprocessing on the item image to obtain a preprocessed item image;

[0390] Extract the second image feature of the preprocessed item image;

[0391] Perform matching between the second image feature of the preprocessed item image and the first image feature corresponding to the first item in the image library to determine the matching result between the item image and the first item.

[0392] It should be noted that the specific limitations in the above-described embodiments of the acquisition device 800 for one or more virtual items can be referred to the limitations on the method for acquiring virtual items in the foregoing text, and will not be elaborated herein. Each module of the above device can be implemented in whole or in part by software, hardware, and their combination. Each module can be embedded in the processor of the computer device in hardware form or be independent of it, or be stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to each module.

[0393] An embodiment of the present application also provides a computer device, which includes: a processor and a memory, and a computer program is stored in the memory; the processor is configured to execute the computer program in the memory to implement the method for acquiring virtual items provided in the above-described method embodiments.

[0394] Figure 20 It is a structural block diagram of a computer device provided by an exemplary embodiment of the present application.

[0395] The computer device 1000 can be a terminal, such as: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III), an MP4 (Moving Picture Experts Group Audio Layer IV) player, an unattended reservation terminal, a smart home appliance, a smart voice interaction device, an unattended vending terminal, smart glasses, a wearable device, a PC, a body-sensing game console, an AR / VR / MR device, a device equipped with a camera and sensors, a smart speaker, a smart vehicle system. The computer device 1000 may also be referred to by other names such as a user device, a portable terminal, a portable mobile terminal, etc.

[0396] Generally, the computer device 1000 includes: a processor 1001 and a memory 1002.

[0397] The processor 1001 may include one or more processing cores, such as a quad-core processor, an octa-core processor, etc. The processor 1001 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field Programmable Gate Array), and PLA (Programmable Logic Array). The processor 1001 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the wake state, also known as the CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 1001 may be integrated with a GPU (Graphics Processing Unit), and the GPU is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1001 may further include an AI (Artificial Intelligence) processor, and the AI processor is used to process computational operations related to machine learning.

[0398] The memory 1002 may include one or more computer-readable storage media, and the computer-readable storage media may be tangible and non-transitory. The memory 1002 may further include high-speed random access memory and non-volatile memory, such as one or more disk storage devices and flash storage devices. In some embodiments, the non-transitory computer-readable storage media in the memory 1002 is used to store at least one instruction, and the at least one instruction is used to be executed by the processor 1001 to implement the method for collecting virtual items provided in the embodiments of the present application.

[0399] In some embodiments, the computer device 1000 may further optionally include: a peripheral device interface 1003 and at least one peripheral device. Specifically, the peripheral device includes at least one of a radio frequency circuit 1004, a touch display screen 1005, a camera assembly 1006, an audio circuit 1007, and a power supply 1008.

[0400] The peripheral device interface 1003 can be used to connect at least one I / O (Input / Output) related peripheral device to the processor 1001 and the memory 1002. In some embodiments, the processor 1001, the memory 1002, and the peripheral device interface 1003 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1001, the memory 1002, and the peripheral device interface 1003 can be implemented on a separate chip or circuit board, and this embodiment does not limit this.

[0401] The radio frequency circuit 1004 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 1004 communicates with a communication network and other communication devices through electromagnetic signals. The radio frequency circuit 1004 converts an electrical signal into an electromagnetic signal for transmission, or converts the received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1004 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, etc. The radio frequency circuit 1004 can communicate with other terminals through at least one wireless communication protocol. The wireless communication protocol includes but is not limited to: the World Wide Web, a metropolitan area network, an intranet, various generations of mobile communication networks (2G, 3G, 4G, and 5G), a wireless local area network, and / or a WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 1004 may further include a circuit related to NFC (Near Field Communication), and this application does not limit this.

[0402] The touch display screen 1005 is used to display a UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. The touch display screen 1005 also has the ability to collect touch signals on or above the surface of the touch display screen 1005. The touch signals can be input as control signals to the processor 1001 for processing. The touch display screen 1005 is used to provide virtual buttons and / or a virtual keyboard, also known as soft buttons and / or a soft keyboard. In some embodiments, there may be one touch display screen 1005, which is provided on the front panel of the computer device 1000; in other embodiments, there may be at least two touch display screens 1005, which are respectively provided on different surfaces of the computer device 1000 or are in a foldable design; in some embodiments, the touch display screen 1005 may be a flexible display screen, which is provided on a curved surface or a folding surface of the computer device 1000. Even further, the touch display screen 1005 can also be set as an irregular non-rectangular shape, that is, a special-shaped screen. The touch display screen 1005 can be prepared using materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).

[0403] The camera assembly 1006 is used to collect images or videos. Optionally, the camera assembly 100,6 includes a front camera and a rear camera. Generally, the front camera is used to implement video calls or selfies, and the rear camera is used to implement photo or video shooting. In some embodiments, there are at least two rear cameras, which are respectively any one of a main camera, a depth-of-field camera, and a wide-angle camera, so as to implement the function of background blurring by fusing the main camera and the depth-of-field camera, and implement panoramic shooting and VR (Virtual Reality) shooting functions by fusing the main camera and the wide-angle camera. In some embodiments, the camera assembly 1006 may further include a flash. The flash can be a single-color-temperature flash or a two-color-temperature flash. A two-color-temperature flash refers to a combination of a warm-light flash and a cold-light flash, which can be used for light compensation under different color temperatures.

[0404] The audio circuit 1007 is used to provide an audio interface between the user and the computer device 1000. The audio circuit 1007 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 for input to the processor 1001 for processing, or input to the radio frequency circuit 1004 to achieve voice communication. For the purpose of stereo collection or noise reduction, there may be multiple microphones, which are respectively arranged at different parts of the computer device 1000. The microphone may also be an array microphone or an omnidirectional collection microphone. The speaker is used to convert the electrical signals from the processor 1001 or the radio frequency circuit 1004 into sound waves. The speaker may be a traditional thin film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert electrical signals into sound waves audible to humans, but also convert electrical signals into sound waves inaudible to humans for uses such as ranging. In some embodiments, the audio circuit 1007 may further include a headphone jack.

[0405] The power supply 1008 is used to supply power to each component in the computer device 1000. The power supply 1008 may be alternating current, direct current, a disposable battery or a rechargeable battery. When the power supply 1008 includes a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery charged through a wired line, and a wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery can also be used to support fast charging technology.

[0406] In some embodiments, the computer device 1000 further includes one or more sensors 1009. The one or more sensors 1009 include but are not limited to: an acceleration sensor 1010, a gyroscope sensor 1011, a pressure sensor 1012, an optical sensor 1013, and a proximity sensor 1014.

[0407] The acceleration sensor 1010 can detect the magnitudes of accelerations on the three coordinate axes of the coordinate system established with the computer device 1000. For example, the acceleration sensor 1010 can be used to detect the components of the gravitational acceleration on the three coordinate axes. The processor 1001 can control the touch display screen 1005 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signals collected by the acceleration sensor 1010. The acceleration sensor 1010 can also be used for collecting game or user movement data.

[0408] The gyroscope sensor 1011 can detect the body orientation and rotation angle of the computer device 1000. The gyroscope sensor 1011 can cooperate with the acceleration sensor 1010 to collect the 3D actions of the user on the computer device 1000. Based on the data collected by the gyroscope sensor 1011, the processor 1001 can implement the following functions: motion sensing (such as changing the UI according to the user's tilting operation), image stabilization during shooting, game control, and inertial navigation.

[0409] The pressure sensor 1012 can be disposed on the side frame of the computer device 1000 and / or the lower layer of the touch display screen 1005. When the pressure sensor 1012 is disposed on the side frame of the computer device 1000, it can detect the holding signal of the user on the computer device 1000, and perform left / right hand recognition or shortcut operations according to the holding signal. When the pressure sensor 1012 is disposed on the lower layer of the touch display screen 1005, it can control the operable controls on the UI interface according to the pressure operation of the user on the touch display screen 1005. The operable controls include at least one of button controls, scroll bar controls, icon controls, and menu controls.

[0410] The optical sensor 1013 is used to collect the ambient light intensity. In one embodiment, the processor 1001 can control the display brightness of the touch display screen 1005 according to the ambient light intensity collected by the optical sensor 1013. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 1005 is increased; when the ambient light intensity is low, the display brightness of the touch display screen 1005 is decreased. In another embodiment, the processor 1001 can also dynamically adjust the shooting parameters of the camera module 1006 according to the ambient light intensity collected by the optical sensor 1013.

[0411] The proximity sensor 1014, also known as the distance sensor, is usually disposed on the front of the computer device 1000. The proximity sensor 1014 is used to collect the distance between the user and the front of the computer device 1000. In one embodiment, when the proximity sensor 1014 detects that the distance between the user and the front of the computer device 1000 is gradually decreasing, the processor 1001 controls the touch display screen 1005 to switch from the lit state to the off state; when the proximity sensor 1014 detects that the distance between the user and the front of the computer device 1000 is gradually increasing, the processor 1001 controls the touch display screen 1005 to switch from the off state to the lit state.

[0412] Those skilled in the art can understand that Figure 20 the structure shown in

[0413] In an exemplary embodiment, the embodiment of the present application further provides a chip, which includes a programmable logic circuit and / or computer instructions. When the chip runs on a computer device, it is used to implement the method for collecting virtual items provided by the above method embodiment.

[0414] The embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. The computer program is loaded and executed by a processor to implement the method for collecting virtual items provided by the above method embodiment.

[0415] The embodiment of the present application further provides a computer program product or a computer program, which includes computer instructions. The computer instructions are stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the processor of the computer device is loaded and executed to implement the method for collecting virtual items provided by the above method embodiment.

[0416] The serial numbers of the above embodiments of the present application are only for description and do not represent the advantages or disadvantages of the embodiments.

[0417] Those of ordinary skill in the art can understand that all or part of the steps for implementing the above embodiments can be completed by hardware, or can be completed by a program instructing relevant hardware. The program can be stored in a computer-readable storage medium. The above-mentioned computer-readable storage medium can be a read-only memory, a magnetic disk or an optical disc, etc.

[0418] Those skilled in the art should be able to realize that in the above one or more examples, the functions described in the embodiments of the present application can be implemented by hardware, software, firmware, or any combination thereof. When implemented by software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. The computer-readable medium includes a computer storage medium and a communication medium, where the communication medium includes any medium that facilitates the transmission of a computer program from one place to another. The storage medium can be any available medium that can be accessed by a general-purpose or special-purpose computer.

[0419] The above are only optional 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 principle of the present application shall be included in the protection scope of the present application.

Claims

1. A method for collecting virtual items, characterized in that, The method includes: Controlling a virtual character located in a virtual environment to move to a collection point, where the collection point is used to indicate that the virtual character collects at least one virtual item, and the at least one virtual item includes a first item; Receiving or detecting an interaction operation performed in the real environment and related to collecting the first item; In response to the collection operation on the first item, displaying the collection result of the virtual character collecting the first item, where the collection result is related to the interaction result of the interaction operation.

2. The method according to claim 1, wherein The interaction operation performed in the real environment and related to collecting the first item includes at least one of the following: Performing a preset interaction gesture; Performing a preset interaction action; Inputting a preset interaction voice; Inputting a preset interaction instruction; Completing a preset interaction task; Shooting, uploading, or selecting a video segment containing preset content; Shooting or uploading an item image of a second item located in the real environment.

3. The method according to claim 2, wherein The receiving or detecting an interaction operation performed in the real environment and related to collecting the first item includes at least one of the following: Displaying the preset interaction gesture corresponding to the first item, and in response to a gesture input operation, detecting the interaction gesture performed in the real environment; Displaying the preset interaction action corresponding to the first item, and in response to an action input operation, detecting the interaction action performed in the real environment; Displaying the preset voice content corresponding to the first item, and in response to a voice input operation, receiving the interaction voice corresponding to the voice content input in the real environment; Displaying the preset instruction content corresponding to the first item, and in response to an instruction input operation, receiving the interaction instruction corresponding to the instruction content input in the real environment; Displaying the preset interaction task indicated by the first item, and in response to a task execution operation, detecting the interaction task completed in the real environment; Displaying the video segment containing the preset content corresponding to the first item, and in response to a video selection operation, selecting the video segment containing the video content; Displaying the preset content corresponding to the first item, and in response to a video upload operation, uploading the video segment containing the video content; Displaying the preset content corresponding to the first item, and in response to a video shooting operation, shooting the video segment containing the video content; In response to an image upload operation on the first item, uploading the item image of the second item located in the real environment; In response to an image shooting operation on the first item, shooting the item image of the second item located in the real environment.

4. The method according to claim 3, wherein The in response to an image upload operation on the first item, uploading the item image of the second item located in the real environment includes: In response to an image upload operation on the first item, displaying an image upload option; In response to a selection operation, selecting a first option from the image upload options; Based on the first option, determining the item image of the second item located in the real environment; In response to a confirmation submission operation on the item image of the second item, uploading the item image of the second item located in the real environment.

5. The method according to claim 3, wherein The in response to an image shooting operation on the first item, shooting the item image of the second item located in the real environment includes: In response to an image capture operation on the first item, start the camera; Capture an item image of the second item located in the real environment through the camera.

6. The method according to claim 4, wherein The first option includes an album option; Based on the first option, determining the item image of the second item located in the real environment includes: In response to an operation to start the album, display the album; In response to a selection operation, select an item image of the second item located in the real environment from the album.

7. According to the method described in any one of claims 1 to 6, characterized in that The displaying the collection result of the virtual character collecting the first item in response to the collection operation on the first item includes: In response to the collection operation on the first item, display the collection result of the virtual character collecting the first item based on the collection rate; Wherein, the collection rate is used to indicate the probability of the virtual character successfully collecting the first item, and the collection rate is related to the matching result between the interaction result of the interaction operation and the first item, or, the collection rate is related to the matching result between the interaction result of the interaction operation and a preset interaction operation corresponding to the first item.

8. The method according to claim 7, characterized in that, The matching result includes a first matching result, and the first matching result is used to characterize that the matching degree between the interaction result and the first item is greater than a threshold; the collection rate includes a first collection rate and a second collection rate, and the first matching result is used to indicate that the first collection rate of the first item is increased from a first original value to a first value, and the second original value of the second collection rate is increased by a second value; The displaying the collection result of the virtual character collecting the first item based on the collection rate includes: In response to the first value being equal to the maximum preset value and the sum of the second original value and the second value being less than the maximum preset value, display the first collection result of the virtual character collecting the first item, or display the second collection result of the virtual character collecting the first item; In response to the first value being equal to the maximum preset value and the sum of the second original value and the second value being equal to the maximum preset value, display the second collection result of the virtual character collecting the first item; Wherein, the second collection result is better than the first collection result.

9. The method according to claim 7, characterized in that The matching result includes a second matching result, and the second matching result is used to characterize that the matching degree between the interaction result and the first item is less than a threshold; the collection rate includes a first collection rate and a second collection rate, and the second matching result is used to indicate that the first collection rate of the first item remains the first original value unchanged and the second collection rate remains the second original value unchanged; The displaying the collection result of the virtual character collecting the first item based on the collection rate includes: In response to the first original value being less than the maximum preset value and the second original value being less than the maximum preset value, display the first collection result of the virtual character collecting the first item, or display the second collection result of the virtual character collecting the first item, or display the third collection result of the virtual character collecting the first item; In response to the first original value being equal to the maximum preset value and the second original value being equal to the maximum preset value, display the second collection result of the virtual character collecting the first item; Wherein, the second collection result is better than the first collection result, and the third collection result is used to indicate that the virtual character fails to collect the first item.

10. The method according to any one of claims 1 to 9, characterized in that The method further includes at least one of the following: Play the collection animation of the virtual character collecting the first item; Display a first matching prompt, where the first matching prompt is used to indicate the first matching result; Display a second matching prompt, where the second matching prompt is used to indicate the second matching result; Display a first improvement icon, where the first improvement icon is used to indicate that the first collection rate is increased from the first original value to the first numerical value; Display a second improvement icon, where the second improvement icon is used to indicate that the second original value of the second collection rate is increased by the second numerical value; Display a first collection prompt, where the first collection prompt is used to indicate the first collection result; Display a second collection prompt, where the second collection prompt is used to indicate the second collection result; Display a third collection prompt, where the third collection prompt is used to indicate the third collection result.

11. The method according to any one of claims 1 to 10, characterized in that, The controlling the virtual character located in the virtual environment to move to the collection point includes: In the virtual map, display the location guidance of the collection point; Based on the location guidance, control the virtual character to move to the collection point.

12. The method according to claim 11, wherein The displaying the location guidance of the collection point in the virtual map includes: In the collection note, display the collection point corresponding to the first item; In response to a triggering operation on the collection point, activate the virtual map; In the virtual map, display the location guidance of the collection point.

13. The method according to claim 12, wherein The displaying the collection point corresponding to the first item in the collection note includes: In the collection note, display at least one candidate item to be collected by the virtual character; In response to a selection operation, select the first item from the at least one candidate item; Display the collection point corresponding to the first item.

14. The method according to claim 11, wherein The displaying the location guidance of the collection point in the virtual map includes: In response to a release operation of the map exploration skill, display the map exploration result; In the virtual map, display the location guidance of the collection point indicated by the map exploration result.

15. The method according to any one of claims 11 to 14, characterized in that, The method further includes: In response to a scene interaction operation on the collection point, display the at least one virtual item corresponding to the collection point; In response to a selection operation, select the first item from the at least one virtual item.

16. The method according to any one of claims 1 to 15, characterized in that, The method further includes: Display the number of collectable times of the collection point; When the number of collectable times is greater than the minimum preset value, in response to a collection operation on the first item, display the collection result of the virtual character collecting the first item.

17. A collection device for virtual items, characterized in that, The device includes: A control module, configured to control a virtual character located in a virtual environment to move to a collection point, where the collection point is used to indicate that the virtual character collects at least one virtual item, and the at least one virtual item includes a first item; A processing module, configured to receive or detect an interaction operation related to collecting the first item and performed in a real environment; A display module, configured to display a collection result of the virtual character collecting the first item in response to a collection operation on the first item, where the collection result is related to an interaction result of the interaction operation.

18. A computer device, characterized in that, The computer device includes: a processor and a memory, where the memory stores a computer program, and the computer program is loaded and executed by the processor to implement the method for collecting virtual items according to any one of claims 1 to 16.

19. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, and the computer program is loaded and executed by a processor to implement the method for collecting virtual items according to any one of claims 1 to 16.

20. A computer program product, characterized in that, The computer program product includes computer instructions, the computer instructions are stored in a computer-readable storage medium, and a processor obtains the computer instructions from the computer-readable storage medium, so that the processor loads and executes to implement the method for collecting virtual items according to any one of claims 1 to 16.