Information interaction method and device, equipment, storage medium and program product
By using batch interactive props and 3D bounding box technology in the simulated planting game, the problems of complex and misjudgment-prone batch interactive operations on virtual land were solved, improving interaction efficiency and accuracy and enhancing user experience.
Patent Information
- Application Number
- CN202511434577.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-30
- Publication Date
- 2026-01-13
AI Technical Summary
In simulation farming games, the interaction with virtual land is complex and has low efficiency and accuracy, especially when performing batch operations, which can easily lead to misjudgments.
By displaying batch interactive props and using a 3D bounding box to cover different height areas of virtual land in three-dimensional space, and combining reference information to determine reference plots, batch interactive operations can be achieved, improving the accuracy and efficiency of interaction.
It reduces repetitive user actions, avoids misjudgments caused by terrain undulations or spatial obstructions, improves the accuracy and realism of the interaction process, and enhances immersion.
Smart Images

Figure CN121326181A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] Embodiments of the present application relate to the technical field of computer, and particularly relate to an information interaction method and device, equipment, storage medium and program product. BACKGROUND
[0002] With the continuous development of computer technology, the user scale of electronic games is expanding. As a game category that combines leisure attributes and strategic depth, simulation games (SIM) attract a large number of users to participate. In simulation games, simulation planting games become an important part of this type of games due to their characteristics close to crop growth rules. In simulation planting games, users can carry out diversified interactive operations around virtual crops in virtual land, such as sowing, watering, removing, harvesting and other interactive operations. The interactive operations are complex, and the accuracy and efficiency of the interactive process are low. SUMMARY
[0003] Embodiments of the present application provide an information interaction method, device, equipment, storage medium and program product, which improve the interaction efficiency and accuracy. The technical solution is as follows: On the one hand, the embodiments of the present application provide an information interaction method, which comprises: In the case that the virtual land of the virtual object meets the batch interaction condition, a batch interaction prop is displayed, and the virtual land has at least two plots; In response to a triggering operation of the batch interaction prop, a reference plot is determined in the at least two plots of the virtual land based on a bounding box of the batch interaction prop and reference information, the bounding box is a three-dimensional range area affected by the batch interaction prop, and the reference information includes at least one of parameters of the batch interaction prop, a position of the virtual object, or planting states of each plot of the virtual land; An interaction result of the reference plot is displayed.
[0004] On the other hand, the embodiments of the present application provide an information interaction device, which comprises: A display module is configured to display a batch interaction prop in the case that the virtual land of the virtual object meets the batch interaction condition, and the virtual land has at least two plots; A determination module is configured to determine a reference plot in the at least two plots of the virtual land based on a bounding box of the batch interaction prop and reference information in response to a triggering operation of the batch interaction prop, the bounding box is a three-dimensional range area affected by the batch interaction prop, and the reference information includes at least one of parameters of the batch interaction prop, a position of the virtual object, or planting states of each plot of the virtual land. The display module is further configured to display the interaction result of the reference land plot.
[0005] In a possible implementation, the parameters of the batch interaction prop include a prop level and a prop type, and the determination module is further configured to determine a three-dimensional reference area based on a position of the virtual object and the three-dimensional bounding box corresponding to the prop level in the virtual land; determine a land plot intersecting with the three-dimensional reference area in each land plot of the virtual land to obtain a basic land plot; and determine the reference land plot in the basic land plot by using the prop type and a planting state of each land plot. The display module is further configured to display the reference land plot based on a reference manner, and the reference manner includes differentiating display of the reference land plot and remaining land plots of the virtual land.
[0006] In a possible implementation, the determination module is configured to take the position of the virtual object as a central axis of the three-dimensional bounding box, and take an intersection area of the three-dimensional bounding box and the virtual land as the three-dimensional reference area.
[0007] In a possible implementation, the determination module is configured to, in a case where the three-dimensional reference area contains at least two land plots, obtain a height of each land plot in a height direction of the three-dimensional reference area; determine a land plot height difference of the three-dimensional reference area based on the heights of the land plots; in a case where the land plot height difference is greater than a height of the three-dimensional bounding box, adjust the height of the three-dimensional bounding box based on the land plot height difference; and determine the reference land plot by using the three-dimensional bounding box with the adjusted height and the reference information.
[0008] In a possible implementation, the parameters of the batch interaction prop include at least one of a prop level or a prop type, and the prop level or the prop type is used to affect at least one of a shape, a cross-sectional size, or a height of the three-dimensional bounding box.
[0009] In a possible implementation, the display module is further configured to, in a case where the batch interaction prop is triggered, display the three-dimensional bounding box corresponding to the batch interaction prop; and in response to an adjustment operation on the three-dimensional bounding box, display an adjustment area, the adjustment area being an area determined based on the adjustment operation, and the adjustment operation being used to adjust at least one of a cross-sectional size or a height of the three-dimensional bounding box. The determination module is configured to determine an adjusted three-dimensional bounding box based on the three-dimensional bounding box of the batch interaction prop and the adjustment area; and determine the reference land plot based on the adjusted three-dimensional bounding box and the reference information.
[0010] In a possible implementation, the determining module is configured to, in a case where the adjustment operation is used to adjust a cross-sectional size of the stereoscopic bounding box, determine an overlapping area of an adjusted cross-section and a projection of the virtual land on the cross-section; determine a reference height by using a height of a land parcel corresponding to the projection in the overlapping area; and perform adjustment on the stereoscopic bounding box and the adjustment region based on the reference height, to obtain the adjusted stereoscopic bounding box.
[0011] In a possible implementation, the device further includes a verifying module configured to obtain an adjustment limitation condition corresponding to the batch interaction props; and perform verification on an adjustment range corresponding to the adjustment operation by using the adjustment limitation condition after the adjustment operation is completed, to obtain a verification result. The display module is configured to display the adjustment region in a case where the verification result represents that the verification is passed.
[0012] In a possible implementation, the display module is further configured to display at least two candidate bounding boxes with different shapes in response to a shape selection operation of the stereoscopic bounding box. The determining module is further configured to determine a selected candidate bounding box as the stereoscopic bounding box in a case where any candidate bounding box is selected.
[0013] In a possible implementation, the batch interaction props include at least two prop types, and the display module is further configured to display, in a case where batch interaction props of any prop type are triggered, interaction information corresponding to the batch interaction props of the triggered prop type in the associated region of the virtual object, the interaction information being an interaction state corresponding to the prop type of the batch interaction props.
[0014] In a possible implementation, the batch interaction props include batch planting interaction props, and the display module is further configured to display, in a case where the batch planting interaction props are triggered, at least one virtual seed owned by the virtual object, the virtual seed being used for planting in the virtual land. The display module is configured to display, in a case where the at least one virtual seed is selected, a planting result of the selected virtual seed in the reference land parcel.
[0015] In a possible implementation, the display module is further configured to display, in a case where a number of land parcels used for planting the virtual seed is less than a number of the reference land parcels, purchase information of the virtual seed, the purchase information being used for purchasing the virtual seed. The display module is configured to display at least one virtual seed owned by the virtual object, in a case where a virtual seed is purchased based on the purchase information, the at least one virtual seed being obtained after performing an update on a virtual seed owned by the virtual object based on the purchase information.
[0016] In a possible implementation, the display module is further configured to display, in the reference land plot, recommended planting information for recommending a virtual seed to be planted in the reference land plot, the recommended planting information being determined based on a basic attribute of the reference land plot, the basic attribute including at least one of a temperature, an altitude, a soil water content, or a soil fertilizer content of a virtual scene in which the reference land plot is located. The display module is configured to display, in the reference land plot, a planting result of the virtual seed to be planted, in response to a confirmation operation of the recommended planting information.
[0017] In a possible implementation, the batch interaction prop includes a batch growth acceleration prop, and the display module is further configured to display, in a first land plot of the at least two land plots, a virtual crop in a first planting state and a first time length, the first land plot including the reference land plot, and the first time length representing a time length required for the virtual crop in the first planting state to reach a mature state. The display module is configured to display, in the reference land plot of the first land plot, a batch acceleration result including a virtual crop in a second planting state and a second time length, in a case where the batch growth acceleration prop is triggered, the second planting state being a state after the growth speed of the virtual crop in the first planting state is improved based on the batch growth acceleration prop, and the second time length being determined based on an acceleration time length corresponding to the batch growth acceleration prop and the first time length.
[0018] In a possible implementation, the batch interaction prop includes a batch harvesting interaction prop, and the display module is further configured to display, in a second land plot of the at least two land plots, a virtual crop in a mature state. The display module is configured to display, in the reference land plot, a harvesting result of the virtual crop, in a case where the batch harvesting interaction prop is triggered.
[0019] In a possible implementation, the batch interaction prop includes a batch eradicating interaction prop, and the display module is further configured to: display a marking control in a case where a land block where the virtual object is located is in an eradicable state, the marking control being used for marking a land block in the virtual land; display a third land block in a marked state in response to a triggering operation of the marking control, the third land block being the land block where the virtual object is located; and display a fourth land block in the marked state in a case where the land block where the virtual object is located changes, the fourth land block being a land block where the virtual object is located after the position of the virtual object changes, the reference land block including the third land block and the fourth land block. The display module is configured to display an eradicating result of virtual crops in the reference land block in a case where the batch eradicating interaction prop is triggered.
[0020] In a possible implementation, the batch interaction prop includes a batch eradicating interaction prop, and the display module is further configured to: display a marking control in a case where a number of land blocks in the virtual land in the marked state is at least two, the marking control being used for canceling marking of the land blocks in the virtual land; display a fifth land block in an unmarked state in response to a triggering operation of the marking control, the fifth land block being a land block where the virtual object is located after the marking control is triggered; and display a sixth land block in the unmarked state in a case where the land block where the virtual object is located changes, the sixth land block being a land block where the virtual object is located after the position of the virtual object changes. The determination module is further configured to determine the reference land block based on the land block in the marked state, the fifth land block, and the sixth land block. The display module is configured to display an eradicating result of virtual crops in the reference land block in a case where the batch eradicating interaction prop is triggered.
[0021] In a possible implementation, the display module is further configured to display a batch interaction control, the batch interaction control being associated with a batch interaction prop. The display module is configured to display the batch interaction prop in response to a triggering operation of the batch interaction control.
[0022] In a possible implementation, the display module is further configured to display an intelligent shortcut operation control, the intelligent shortcut operation control being associated with an intelligent bounding box. The device further includes an interaction module, which is used to respond to the triggering operation of the smart shortcut operation control and perform an interaction operation on a target plot in the virtual land based on recommended interaction props. The target plot is the plot in the virtual land that intersects with the smart bounding box. The recommended interaction props are determined based on at least one of the planting status, relative position, or quantity of the target plot. The display module is also used to display the interaction results of the target plot.
[0023] In one possible implementation, the display module is further configured to display at least one independent interactive control, which is used to perform an interaction on a plot of land in the virtual land; and to display the interaction result of the plot of land where the virtual object is located in response to the triggering operation of the independent interactive control.
[0024] On the other hand, embodiments of this application provide a computer device, the computer device including a processor and a memory, the memory storing at least one piece of program code, the at least one piece of program code being loaded and executed by the processor to enable the computer device to implement any of the information interaction methods described above.
[0025] On the other hand, a computer-readable storage medium is also provided, wherein at least one piece of program code is stored in the computer-readable storage medium, the at least one piece of program code being loaded and executed by a processor to enable a computer to implement any of the information interaction methods described above.
[0026] On the other hand, a computer program or computer program product is also provided, wherein the computer program or computer program product stores at least one computer instruction, which is loaded and executed by a processor to enable the computer to implement any of the information interaction methods described above.
[0027] The technical solution provided in this application has at least the following beneficial effects: This application displays batch interaction props when virtual land meets the conditions for batch interaction. These props can directly affect at least two plots, reducing repetitive steps for users to operate on each plot individually and improving interaction efficiency. When batch interaction props are triggered, their 3D bounding boxes can cover virtual land areas at different heights in three-dimensional space, avoiding misjudgments caused by terrain undulations or spatial occlusion in the virtual land. By combining reference information to determine reference plots, the reference plots meet both the interaction range of the batch interaction props and the actual interaction needs of the plots in the virtual land, improving the accuracy of determining reference plots and thus enhancing the accuracy and effectiveness of the interaction process. Visually displaying the interaction results of the batch interaction props in the reference plots enhances the realism and immersion of the interaction process. Attached Figure Description
[0028] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0029] Figure 1 This is a structural block diagram of a computer system provided in an embodiment of this application; Figure 2 This is a flowchart of an information interaction method provided in an embodiment of this application; Figure 3 This is a schematic diagram of an interactive interface for displaying batch interactive controls provided in an embodiment of this application; Figure 4 This is a schematic diagram of an interactive interface for displaying a batch of interactive props owned by a virtual object, provided in an embodiment of this application; Figure 5 This is a schematic diagram illustrating different item levels and item types provided in the embodiments of this application; Figure 6 This is a schematic diagram of an interactive interface including a three-dimensional bounding box provided in an embodiment of this application; Figure 7 This is a schematic diagram of a top view of a three-dimensional enclosed box including different prop levels provided in an embodiment of this application; Figure 8 This is a schematic diagram illustrating the determination of a reference land parcel according to an embodiment of this application; Figure 9 This is a schematic diagram of an interactive interface for displaying a reference land parcel provided in an embodiment of this application; Figure 10 This is a schematic diagram of an interactive interface for adjusting the cross-sectional size of a stereoscopic bounding box, provided in an embodiment of this application. Figure 11 This is a schematic diagram of an interactive interface for adjusting the cross-sectional size of a stereoscopic bounding box, provided in an embodiment of this application. Figure 12 This is a schematic diagram of an interactive interface for adaptively adjusting the height of a stereoscopic bounding box, provided in an embodiment of this application. Figure 13 This is a schematic diagram of the interactive interface for a process of replacing a stereoscopic enclosure provided in an embodiment of this application; Figure 14 This is a schematic diagram of an interactive interface that displays interactive information in the associated area of a virtual object, provided in an embodiment of this application. Figure 15This is a schematic diagram of an interactive interface process for displaying the planting results of a selected virtual seed, provided in an embodiment of this application. Figure 16 This is a schematic diagram of an interactive interface for switching virtual seeds planted in a reference plot, provided in an embodiment of this application. Figure 17 This is a schematic diagram of an interactive interface for displaying purchase information of virtual seeds, provided in an embodiment of this application; Figure 18 This is a schematic diagram of an interactive interface for displaying batch acceleration results provided in an embodiment of this application; Figure 19 This is a schematic diagram of an interactive interface for displaying batch acceleration results provided in an embodiment of this application; Figure 20 This is a schematic diagram of an interactive interface for displaying a land parcel in a marked state, provided in an embodiment of this application. Figure 21 This is a schematic diagram of a process interaction interface for displaying a land parcel in an unmarked state, provided in an embodiment of this application; Figure 22 This is a schematic diagram of the structure of an information interaction device provided in an embodiment of this application; Figure 23 This is a structural block diagram of a terminal device provided in an embodiment of this application; Figure 24 This is a schematic diagram of the structure of a server provided in an embodiment of this application. Detailed Implementation
[0030] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.
[0031] It should be noted that the terms "first," "second," etc., used in this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such terms can be used interchangeably where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0032] Before introducing the technical solution of this application, the abbreviations and key terms involved in the embodiments of this application will be defined.
[0033] Simulation games (SIMs) are a type of video game whose core gameplay revolves around simulating economic management, production, construction, or resource operation in a real or fictional world. In these games, users typically take on the role of a manager, using strategic interactions such as planning, resource allocation, and process optimization to achieve the long-term operation and development of a virtual organization or environment. For example, users rely on virtual entities (such as virtual cities, virtual farms, and virtual hospitals) and acquire diverse resources such as virtual funds, virtual materials, and virtual manpower within the game's set rules. Through resource allocation and system-linked decision-making (such as prioritizing facility expansion or optimizing the production chain), users drive the virtual entity from rudimentary to sophisticated, and from simple to complex.
[0034] Farming simulation games are a core subgenre of simulation management games. They focus on the cultivation and production of virtual crops, creating an immersive farming experience by replicating crop growth patterns. In these games, players acquire different types of virtual seeds (such as basic grains and oil crops, rare medicinal herbs, etc.) through tasks or purchases from shops. They then combine these seeds with environmental factors like soil fertility and light conditions to create a virtual planting layout. During the virtual crop's growth cycle, players perform targeted maintenance operations such as virtual watering, virtual fertilization, and virtual pest control to guide the virtual crop from germination, seedling, and growth stages to maturity. Once mature, the virtual crop can be harvested virtually.
[0035] Virtual scene: refers to a scene provided (or displayed) by an application when it runs on a terminal device. This virtual scene is a created environment for virtual objects to perform activities. A virtual scene can be a two-dimensional virtual scene, a 2.5-dimensional virtual scene, or a three-dimensional virtual scene, etc. A virtual scene can be a simulation of the real world, a semi-simulation of the real world, or a purely fictional scene. For example, the virtual scene involved in this application embodiment is a three-dimensional virtual scene, which includes virtual land.
[0036] Virtual objects are movable objects within a virtual scene. These can be virtual characters, animals, anime characters, etc. Players can control virtual objects using peripheral devices or by tapping the touchscreen. Each virtual object has its own shape and volume within the virtual scene, occupying a portion of the scene's space. For example, when the virtual scene is three-dimensional, the virtual objects are three-dimensional models created using animation skeletal technology.
[0037] Figure 1This is a structural block diagram of a computer system provided in an embodiment of this application. The computer system includes a terminal device 101 and a server 102. The terminal device 101 has a client installed and running that can provide a virtual environment, including virtual land owned by virtual objects. The terminal device 101 is used to execute the information interaction method provided in this embodiment of the application. Exemplarily, the client may include, but is not limited to, game clients, virtual agriculture simulation clients, garden design clients, and leisure simulation clients.
[0038] Let's take game clients as an example. Game clients include, but are not limited to, simulation game (SIM) clients, open-world game clients, multiplayer cooperative management game clients, farm-themed casual game clients, role-playing game (RPG) clients, virtual reality (VR) clients, and augmented reality (AR) clients.
[0039] Server 102 provides background services for the client installed on terminal device 101. In one possible implementation, server 102 undertakes the main computing work, and terminal device 101 undertakes the secondary computing work. Alternatively, server 102 undertakes the secondary computing work, and terminal device 101 undertakes the main computing work. Or, terminal device 101 and server 102 collaborate on computing using a distributed computing architecture.
[0040] Optionally, the terminal device 101 can be any electronic device product capable of human-computer interaction with the user through one or more methods such as a keyboard, gamepad, touchpad, remote control, voice interaction, or handwriting device. For example, the terminal device 101 can be a smartphone, tablet computer, laptop computer, desktop computer, smart speaker, smartwatch, PC (Personal Computer), mobile phone, PDA (Personal Digital Assistant), wearable device, PPC (Pocket PC), smart car system, smart TV, etc.
[0041] Terminal device 101 can refer to one of a plurality of terminal devices. This embodiment uses terminal device 101 as an example. Those skilled in the art will know that the number of terminal devices 101 can be more or less. For example, there may be only one terminal device 101, or there may be dozens or hundreds of terminal devices 101, or more. This application embodiment does not limit the number or type of terminal devices 101.
[0042] Server 102 can be a single server, a server cluster consisting of multiple servers, or any of the following: a cloud computing platform or a virtualization center. This embodiment of the application does not limit this specific type. Server 102 communicates directly or indirectly with terminal device 101 via wired or wireless communication. Server 102 has data receiving, data processing, and data sending functions. Of course, server 102 may also have other functions, which are not limited in this embodiment of the application.
[0043] In an exemplary embodiment of this application, terminal device 101 logs in to user 103's account. Terminal device 101 displays a virtual scene, which includes virtual objects controlled by user 103 (e.g., a farmer role) and corresponding virtual land. The virtual land is divided into at least two independent plots, and each plot displays the current planting status, including but not limited to unsown (idle) status, seedling stage status, flowering stage status, fruiting stage status, and ripening stage status.
[0044] When the virtual land of a virtual object meets the conditions for batch interaction (e.g., multiple plots of land need to perform the same interactive operation), the preset area of the interactive interface of the terminal device 101 (e.g., the toolbar in the lower right corner of the screen) displays the batch interaction prop 104.
[0045] The number of batch interaction props 104 can be multiple. When user 103 triggers any batch interaction prop 104, terminal device 101 sends a request to server 102 to use the batch interaction prop. Server 102 determines the parameters and reference information of the corresponding bounding box based on the batch interaction prop (such as the parameters of the batch interaction prop, the location coordinates of the virtual object, and the planting status of each plot of virtual land), determines the reference plot and the interaction result of the reference plot, and sends the identification information of the reference plot and the interaction result of the reference plot to terminal device 101.
[0046] After receiving the identification information and interaction results of the reference plot, the terminal device 101 determines the reference plot 105 among the various plots of virtual land based on the identification information, and displays the interaction results 106 of the reference plot in the interactive interface. The interaction results 106 represent the results of the interactive operation associated with the triggered batch interaction prop used on the reference plot. For example, if the batch interaction prop 104 is a batch planting prop, the batch planting results are displayed in the reference plot 105.
[0047] The information interaction method provided in this application embodiment can be applied to the above. Figure 1 The computer system shown, for example, the method can be derived from... Figure 1The method can be executed by terminal device 101, or it can be executed interactively by terminal device 101 and server 102. Taking the execution of this method by terminal device 101 as an example, such as... Figure 2 As shown, the method includes the following steps 201 to 203.
[0048] In step 201, if the virtual land of the virtual object meets the batch interaction conditions, the batch interaction prop is displayed, and the virtual land has at least two plots.
[0049] In the exemplary embodiments of this application, a virtual object refers to an interactive subject object within the game controlled by the user, including but not limited to virtual farmer objects and virtual manager objects. Virtual land refers to a virtual area within the game's planting scene. Virtual land is divided into at least two independent plots, each plot being the smallest operational unit of the virtual land, typically a polygonal area (e.g., a rectangular area). Each plot can independently support the planting and maintenance of one or more virtual crops. Each plot possesses independent state attributes, which characterize the plot's current interactive state and the growth characteristics of the crops it supports. State attributes include, but are not limited to, soil fertility, moisture content, and the growth stage of the virtual crops.
[0050] Batch interaction conditions are a set of preset rules used by the client in a simulated planting game to determine whether to allow batch operations on at least two plots. For example, batch interaction conditions may include allowing at least two plots to perform the same interaction operation. These interaction operations are specific to each plot of virtual land, including but not limited to sowing (for plots without crops), watering (for plots with insufficient moisture), fertilizing (for plots with low soil fertility), pest control (for plots infested with pests), weeding (for plots where crops have withered or need replanting), and harvesting (for plots where crops are mature). These batch virtual interaction conditions can be set based on the actual situation of the game client, and this application does not impose any restrictions on this.
[0051] In the exemplary embodiments of this application, the virtual object can acquire virtual land in a virtual scene, and the methods for acquiring the virtual land include, but are not limited to, methods one through six: Method 1: The client assigns virtual land to virtual objects.
[0052] For example, when a virtual object enters the game for the first time, the client automatically assigns basic virtual land (e.g., 1-2 plots) through the tutorial process. After the user controls the virtual object to complete the tutorial tasks, they can permanently obtain the corresponding virtual land.
[0053] Method 2: The client unlocks virtual land based on the virtual object's level or achievements.
[0054] For example, the client obtains the level of the virtual object (e.g., upgrading from "trainee farmer" to "senior farmer") and the achievement completion status (e.g., accumulating 50 mature virtual crops) in real time. When the level or achievement completion status conditions are met, virtual land in adjacent or new areas of the virtual scene is automatically unlocked.
[0055] Method 3: Unlock virtual land by exchanging or purchasing virtual resources from virtual objects.
[0056] For example, a virtual object possesses virtual resources. By submitting an exchange / purchase request in the client's virtual store or land management interface, the virtual resources in the game are consumed, and the corresponding virtual land is then unlocked for the virtual object.
[0057] Method 4: Virtual land is distributed based on the completion results of tasks or activities.
[0058] For example, after a virtual object completes a main quest, daily quest, or limited-time event quest issued by the client, the client determines that the quest has been completed and triggers a reward mechanism to unlock limited virtual land for the virtual object, or issues a land unlock certificate for the user to exchange for virtual land on a designated interface.
[0059] Method 5: Clients unlock virtual land based on collaborative or social interactions with virtual objects.
[0060] For example, in multi-person collaboration mode, after detecting that the current virtual object has teamed up with other virtual objects to complete a team task (e.g., jointly cultivating a specified virtual crop), virtual land is unlocked for all virtual objects participating in the collaboration; or the current virtual object receives land expansion items from other virtual objects and uses the land expansion items to exchange for virtual land.
[0061] Method Six: Unlock virtual land through paid actions.
[0062] For example, after a virtual object purchases a land expansion package or activates membership privileges on the client's payment interface, the virtual land is directly unlocked.
[0063] It should be noted that the method of acquiring virtual land in this application is illustrative only, and virtual land can also be acquired through other means, which are not limited in this application.
[0064] After a virtual object acquires virtual land, the client determines whether the virtual land meets the batch interaction conditions. If the conditions are met, the batch interaction tools owned by the virtual object are directly displayed in the terminal device's interface. These batch interaction tools are used to perform corresponding interactive operations on at least two plots of virtual land. The content of these batch interaction tools will be explained below and will not be repeated here.
[0065] Optionally, the process of displaying batch interactive props includes: displaying a batch interactive control when the virtual land of the virtual object meets the batch interactive conditions, the batch interactive control being associated with the batch interactive props; and displaying the batch interactive props in response to the triggering operation of the batch interactive control.
[0066] The batch interaction control is associated with the batch interaction items possessed by the virtual object. Specifically, the batch interaction control is in a triggerable state when the virtual object possesses batch interaction items; it is in a non-triggerable state when the virtual object does not possess batch interaction items. When the batch interaction control is in a triggerable state, a trigger operation is detected, and the batch interaction items are displayed in the interactive interface. For example, a pop-up window is displayed in the interactive interface, showing the batch interaction items; or, the batch interaction items are displayed in the sidebar or bottom bar of the interactive interface. The display method of the batch interaction items can be set based on the actual situation, and this application does not impose any restrictions on it.
[0067] Figure 3 This is a schematic diagram of an interactive interface for displaying batch interactive controls provided in an embodiment of this application. For example... Figure 3 As shown, the interactive interface displays a user-controlled virtual object 301 and virtual land 302 owned by the virtual object 301. Virtual land 302 consists of multiple plots. Virtual crops 303 can be planted in each plot of virtual land 302, or the plots can be idle (without virtual crops 303 planted). When virtual land 302 meets the conditions for batch interaction, the interactive interface displays a batch interaction control 304, i.e., a batch operation control.
[0068] Figure 4 This is a schematic diagram of an interactive interface for displaying a batch of interactive props owned by a virtual object, provided in an embodiment of this application. For example... Figure 4 As shown, the interactive interface displays a batch interaction control 401. After the batch interaction control 401 is triggered, a batch interaction item bar 402 is displayed. The batch interaction item bar 402 displays multiple batch interaction items 403 owned by the virtual object and the quantity of each batch interaction item 403.
[0069] In the exemplary embodiments of this application, the triggering operations of the batch interactive control include, but are not limited to, single-click, double-click, long-press, hover (mouse pointer hovering over the batch interactive control), and pressing of a specified keyboard key. After the batch interactive control is triggered, the batch interactive items associated with the batch interactive control are displayed in the interactive interface. These batch interactive items are those owned by the virtual object; the method of acquiring these batch interactive items is similar to the method of acquiring virtual land, and will not be described further here.
[0070] In step 202, in response to the triggering operation of the batch interaction prop, a reference plot is determined among at least two plots of the virtual land based on the bounding box of the batch interaction prop and reference information. The bounding box is the three-dimensional range area affected by the batch interaction prop, and the reference information includes at least one of the parameters of the batch interaction prop, the location of the virtual object, or the planting status of each plot of the virtual land.
[0071] In the exemplary embodiments of this application, the triggering operations for batch interactive props include, but are not limited to, single-click, double-click, long-press, hover (mouse pointer hovering over batch interactive controls), and pressing of specified keyboard keys for any batch interactive prop.
[0072] Any batch interaction prop can be used to perform corresponding interaction operations on at least two virtual land plots. For example, the parameters of the batch interaction prop include, but are not limited to, the prop type and prop level.
[0073] The types of batch interaction props include, but are not limited to, batch planting interaction props, batch growth acceleration interaction props, batch harvesting interaction props, and batch weeding interaction props. Among them, batch growth acceleration props are used to shorten the remaining time required for virtual crops to reach maturity from their current growth state; batch growth acceleration props include batch watering interaction props, batch fertilizing interaction props, batch weeding interaction props, and batch pest control interaction props, etc.
[0074] Among them, the batch planting interactive tool is used to simultaneously perform planting operations on multiple plots of land that are in an idle state (not sown); the batch watering interactive tool is used to perform watering operations on multiple plots of land with moisture content below the moisture threshold, replenishing the land with water through virtual irrigation devices (such as sprinklers, drip irrigation systems, etc.) to meet the crop growth needs; the batch fertilizing interactive tool is used to perform fertilizing operations on multiple plots of land with soil fertility below the fertility threshold, increasing the soil nutrient content of the plots to meet the crop growth needs by applying corresponding types of fertilizers; the batch weeding interactive tool is used for... The application includes several interactive tools: a weeding tool for multiple plots of land infested with weeds; a batch pest control tool for multiple plots infested with pests or at risk of pest infestation, using virtual methods such as spraying pesticides and releasing natural enemies to kill pests; a batch harvest tool for multiple plots of land containing mature virtual crops to harvest the corresponding virtual crops; and a batch eradication tool for multiple plots of land containing withered virtual crops, abnormally growing virtual crops, or requiring replanting to eradicate the virtual crops and restore the plots to an idle (unsown) state. The moisture and fertility thresholds can be set based on the planted virtual crops or uniformly; this application does not impose any restrictions on this.
[0075] In the exemplary embodiments of this application, batch interaction props can be divided into different prop levels, wherein the scope of action of batch interaction props of different prop levels in virtual land is different. Taking batch interaction props of different prop types as batch planting interaction props, batch watering interaction props, batch harvesting interaction props, and batch clearing interaction props, and taking any type of batch interaction prop including at least one prop level as an example, the following explanation is provided.
[0076] Figure 5 This is a schematic diagram illustrating different item levels and item types provided in an embodiment of this application. For example... Figure 5 As shown, the types of batch interaction props include batch planting, batch watering, batch harvesting, and batch eradication. The batch planting, batch watering, and batch harvesting props each have four prop levels, while the batch eradication prop has two prop levels. The four prop levels are Level 1, Level 2, Level 3, and Level 4. The interaction range of Level 1 < Level 2 < Level 3 < Level 4. For example, Level 1 has a small interaction range, Level 2 has a medium interaction range, Level 3 has a large interaction range, and Level 4 has an extremely large interaction range.
[0077] It should be noted that the item level and item type of the batch interaction props in this application are illustrative examples, and can be set according to actual circumstances; this application does not impose any restrictions on this. Furthermore, the interaction range for props of the same interaction level but different types can be the same or different. For example, the interaction range of a first-level batch planting interaction prop and a first-level batch watering interaction prop can be the same or different.
[0078] In an exemplary embodiment of this application, batch interactive props are associated with a bounding box. The parameters of the batch interactive props include at least one of prop level or prop type, and the prop level or prop type is used to influence at least one of the shape, cross-sectional size, or height of the bounding box. After a batch interactive prop is triggered, the bounding box corresponding to the triggered batch interactive prop is determined based on the parameters of the triggered batch interactive prop.
[0079] For example, when a batch of interactive props is triggered, the parameters of the triggered batch of interactive props are extracted, a preset parameter-bounding box mapping table is called, and the shape, cross-sectional size and height of the 3D bounding box are determined according to the prop level and prop type of the triggered batch of interactive props.
[0080] The item level represents the interaction range of the triggered batch of interactive items. Different item levels correspond to different interaction range sizes; the higher the item level, the larger the corresponding interaction range. The interaction range can be a three-dimensional interaction range, that is, the internal area of a bounding box. The bounding box is the three-dimensional area within which the triggered batch of interactive items affects the virtual scene. The shape of the bounding box can be a regular geometric shape or an irregular three-dimensional space. For example, the shape of the bounding box includes, but is not limited to, spheres, cubes, cylinders, cones, or other combinations thereof (e.g., sector-shaped cylinders).
[0081] Different item levels (e.g., levels one through four) are associated with specific bounding boxes (e.g., spheres, cubes, sector-shaped cylinders) and their size parameters. The size of the bounding box refers to the coverage area or volume of the area where batch interactive items are active; that is, the spatial volume or boundary size occupied by the bounding box in the game scene, which can be determined by the cross-sectional size and height of the bounding box. For example, the size of the bounding box is determined by the radius of a sphere, the length / width / height of a cuboid, and the base radius and height of a cylinder. For irregular bounding boxes, the size usually refers to the size of its circumscribed cuboid or its total volume.
[0082] The prop type is used to classify the functional attributes of the triggered batch interactive props. For example, prop types include batch sowing props, batch watering props, batch growth acceleration props, and batch pest control props. The shape, cross-sectional size, or height of the 3D bounding box corresponding to different prop types can be the same or different.
[0083] For example, batch planting tools need to cover continuous plots, so the 3D bounding box is designed as a cuboid to fit rectangular planting areas; batch pest control tools need to cover a ring-shaped area centered on a virtual object, so they are designed as cylinders or fan-shaped columns.
[0084] This application embodiment determines the shape, cross-sectional size, and height of the 3D bounding box by using the parameters (item level and item type) of batch interactive items. It uses item level and item type to determine differentiated 3D bounding boxes to meet different interactive needs, optimize the controllability and operational efficiency of batch virtual land interaction, and improve user experience.
[0085] For example, after determining the bounding box of the triggered batch of interactive props, reference plots can be determined in the virtual land based on the bounding box and reference information, and the reference plots can be displayed. The process of displaying reference plots includes, but is not limited to, steps 2021 to 2024.
[0086] In step 2021, a three-dimensional reference area is determined in the virtual land based on the three-dimensional bounding box corresponding to the prop level and the position of the virtual object.
[0087] The process of determining a reference area in virtual land based on the position of the bounding box corresponding to the item level and the virtual object includes: taking the position of the virtual object as the central axis of the bounding box, and taking the intersection area of the bounding box and the virtual land as the three-dimensional reference area.
[0088] When determining the reference area, the bounding box corresponding to the item level of the triggered batch of interactive props is obtained. The position of the virtual object in the virtual scene is used as the central axis of the 3D area.
[0089] The explanation will be based on the example of a three-dimensional bounding box with a fan-shaped cylindrical area. Figure 6 This is a schematic diagram of an interactive interface including a three-dimensional bounding box, provided in an embodiment of this application. For example... Figure 6 As shown, the interactive interface displays the 3D surround box 601 corresponding to the interactive prop.
[0090] Optionally, batch interactive props can include batch interactive props of multiple prop levels. For example, the first-level bounding box is a fan-shaped cylindrical area with a base radius of a first radius, a central angle of 60 degrees, and a height of a preset height; the second-level bounding box is a fan-shaped cylindrical area with a base radius of a first radius, a central angle of 180 degrees, and a height of a preset height; the third-level bounding box is a fan-shaped cylindrical area with a base radius of a first radius, a central angle of 360 degrees, and a height of a preset height; and the fourth-level bounding box is a fan-shaped cylindrical area with a base radius of a second radius, a central angle of 360 degrees, and a height of a preset height, wherein the second radius is greater than the first radius. The central axis can be an axis extending from the virtual object's position towards the virtual object; or it can be an axis extending from the virtual object's position along a direction perpendicular to the plane on which the virtual object stands.
[0091] Figure 7 This is a schematic diagram of a top view of a three-dimensional enclosed box including different prop levels provided in an embodiment of this application. Figure 7 (1) is a top view of the first-level 3D bounding box. Figure 7 (2) is a top view of the second-level 3D bounding box. Figure 7 (3) is a top view of the third-level 3D bounding box. Figure 7 (4) is a top view of the fourth level of the three-dimensional bounding box.
[0092] Within the bounding box of the virtual land owned by the virtual object in the virtual scene, the overlapping portion after performing a spatial intersection operation between the bounding box and the virtual land is defined as the stereo reference region. The stereo reference region is the actual functional area after removing invalid space outside the virtual land's boundaries. Optionally, after determining the stereo reference region, it can be displayed within the virtual land of the interactive interface.
[0093] This application embodiment obtains the bounding box corresponding to the item level of the triggered batch interactive props, determines the central axis of the bounding box based on the position of the virtual object, and uses the central axis to determine the relative positional relationship between the bounding box and the virtual land. The intersection area of the bounding box and the virtual land is then used as a three-dimensional reference area. By utilizing the three-dimensional area of the bounding box, the limitations of two-dimensional judgment are overcome. The three-dimensional spatial dimension can cover virtual land areas at different heights, avoiding missed plots due to varying terrain in the virtual land during subsequent processing, thus improving the accuracy of determining reference plots. Furthermore, displaying the three-dimensional reference area on the virtual land allows users to clearly understand the coverage area of the batch interactive props in advance, improving information transparency.
[0094] In step 2022, the plots that intersect with the three-dimensional reference area are determined among the various plots of virtual land to obtain the basic plots.
[0095] In the exemplary embodiments of this application, each plot of land in the virtual land has a corresponding 3D collision box. A 3D collision box refers to a simplified geometric shape (usually an axially aligned bounding box) of the 3D spatial volume occupied by the plot. Taking a cube as an example, the 3D collision box corresponding to each plot is described. The parameters of the 3D collision box for each plot are obtained, including but not limited to the 3D coordinates of the center point of the 3D collision box, and the length, width, and height dimensions of the 3D collision box. The parameters of the stereo reference region are obtained, including but not limited to the geometric type (e.g., a sector-shaped cylinder), the position of the central axis, the base radius, the sector angle, and the height.
[0096] The parameters of the 3D collision boxes of each plot and the parameters of the stereo reference region are used to determine whether there is a spatial intersection between each plot and the stereo reference region. If any plot has a spatial intersection with the stereo reference region, the plot is determined as a base plot. Spatial intersection includes, but is not limited to, partial embedding (e.g., a corner of the plot intersects with a sector cylinder), complete inclusion (e.g., the entire plot is located within the sector cylinder region), and boundary contact (e.g., the edge of the plot's 3D collision box intersects with the boundary of the sector cylinder region).
[0097] For example, during the process of determining the basic plots, the client adds a "box collider" to the bounding box of the batch interactive props and a "convex hull collider" to each plot. Both types of colliders need to have their CollisionEnabled property set to QueryOnly to support querying the collision detection results, and select Generate Overlap Events. By starting the Overlap event (OnComponentBeginOverlap), it is ensured that when the bounding box and the plot collider first intersect, the initial intersecting plot information can be recorded.
[0098] During the collision detection process, the client uses an AABB (Axis-Aligned Bounding Box) to directly remove plots that do not overlap with the AABB bounding box, based on a fixed physical step size per frame, quickly filtering out plots that intersect with the AABB bounding box. The AABB bounding box is the smallest rectangle / cuboid parallel to the coordinate axes. For example, with a fixed physical step size of 60Hz, the initial base plots are determined every 16.67ms.
[0099] The initial basic plots are subjected to precise geometric intersection determination. If the plot is a rectangular plane, the spatial intersection of its convex hull collider and the bounding box collider is directly calculated to determine whether there is partial embedding, complete containment, or boundary contact. If the plot is irregular, the irregular collider is first decomposed into multiple small convex hulls using a convex hull decomposition algorithm, and then the intersection relationship with the bounding box is calculated one by one to finally determine all the plots that actually intersect, i.e., the basic plots.
[0100] In step 2023, reference plots are determined in the base plots using the prop type and the planting status of each plot.
[0101] For example, any batch interaction prop of any prop type has usage rules, wherein the usage rules include the target planting state of the plot. The planting state of the plot includes, but is not limited to, idle state, sowing state, growing state, and mature state. The planting state of the basic plots in the virtual land is obtained, and the planting state of each basic plot is compared with the target planting state. If the planting state of a basic plot is the same as the target planting state, then the basic plot is determined as a reference plot. The target planting state is the planting state determined in the usage rules of the prop type of the triggered batch interaction prop. For example, the prop type is a batch planting interaction prop, and the usage rule is that the plot is in an idle state. The basic plot in the idle state is determined as a reference plot that the batch planting interaction prop can interact with.
[0102] Let's take the example of a batch planting interactive item that was triggered as the example.Figure 8 This is a schematic diagram illustrating the determination of a reference land parcel according to an embodiment of this application. For example... Figure 8 As shown, there are 6 basic plots, including a basic plot 801 that is currently planted and a basic plot 802 that is currently idle (shown in shaded areas). The fan-shaped column area 803 corresponding to the prop type intersects with one basic plot 801 that is currently planted and two basic plots 802 that are currently idle. Since the basic plot 801 that is currently planted has already been planted with crops and cannot be planted again, the two basic plots 802 that are currently idle are designated as reference plots.
[0103] In step 2024, reference plots are displayed based on a reference method, which includes distinguishing between the remaining plots of reference plots and virtual land.
[0104] For example, the reference method is a display method for reference plots preset by the client or set by the user. The reference method is used to distinguish the reference plot from the remaining plots in the virtual land other than the reference plot. The reference method includes, but is not limited to, highlighting, shadowing, icon marking, specifying a color, and adding a border. For example, the reference method is to add a green border. It should be noted that the reference method described in this application is illustrative, and other methods can also be used to display reference plots; this application does not impose any limitations on this comparison.
[0105] Figure 9 This is a schematic diagram of an interactive interface for displaying a reference land parcel, provided in an embodiment of this application. For clarity, a top view is used to illustrate the reference land parcel. Figure 9 As shown, the interactive interface displays a 3D bounding box 901 and a reference plot 902, with the reference plot 902 displayed in a reference style with its border thickened. Optionally, the interactive interface may also display batch interactive controls 903 in a triggered state. The batch interactive controls 903 in a triggered state have already been described in step 201 and will not be repeated here.
[0106] This application's embodiments determine a three-dimensional reference area based on the bounding box of the item level of the triggered batch interactive props and the position of the virtual object, so that the three-dimensional spatial dimension can cover virtual land areas of different heights. The plots where each virtual land plot intersects with the three-dimensional reference area are determined as base plots, avoiding the omission of base plots due to varying terrain within the virtual land, thus improving the accuracy of the determined base plots. Reference plots are determined by the prop type and the planting status of the base plots, and displayed in a differentiated reference manner, allowing users to quickly identify reference plots, improving information transparency and user experience during the interaction process.
[0107] In an exemplary embodiment of this application, after determining the stereobound box, the stereobound box can be adjusted, and the adjusted stereobound box can be used to determine the reference plot. The process of determining the reference plot using the adjusted stereobound box includes, but is not limited to, steps A1 to A4.
[0108] In step A1, when a batch of interactive props is triggered, the 3D bounding box corresponding to the batch of interactive props is displayed.
[0109] The process of determining the bounding box corresponding to the batch of interactive props has already been explained in step 2021 and will not be repeated here. After determining the bounding box corresponding to the batch of interactive props, the bounding box is displayed in the interactive interface.
[0110] In step A2, in response to an adjustment operation on the bounding box, an adjustment area is displayed. The adjustment area is a region determined based on the adjustment operation, which is used to adjust at least one of the cross-sectional size or height of the bounding box.
[0111] For example, on a terminal device, after the bounding box is displayed in the interactive interface, the size of the bounding box can be adjusted by adjusting the bounding box to obtain an adjustment area. The adjustment area is a dynamic area generated in real time with the adjustment operation, used to preview the range of the bounding box after adjustment. The adjustment area can be displayed in the same way as the reference area corresponding to the level of the triggered batch interactive props, or it can be different. For example, the adjustment area can be displayed as a semi-transparent outline or a grid.
[0112] Taking a 3D bounding box as an example of a sector-shaped cylinder, the offset of the adjustment operation is determined based on the adjustment operation. The offset includes the direction of movement and the distance of movement. The radius of the sector-shaped cylinder is increased by the distance of movement to obtain the adjustment area.
[0113] Adjusting the size of the 3D bounding box can be done in ways including but not limited to the following.
[0114] Method a: Adjust the size of the 3D bounding box using the mouse.
[0115] To adjust the cross-sectional size of the bounding box (e.g., the radius of a sector, the length / width of a cuboid), you can drag the control points on the edge of the bounding box with the mouse (e.g., click the vertex of the bottom edge of the bounding box and drag it outwards). To adjust the height of the bounding box, you can scroll the mouse wheel (scroll up to increase the height, scroll down to decrease the height) or drag the top / bottom boundary lines of the bounding box.
[0116] Method b: Adjust the size of the 3D bounding box using the keyboard.
[0117] Adjustments to the 3D bounding box are made using keyboard shortcuts. For example, pressing "Ctrl+↑" increases the height of the bounding box, and "Ctrl+→" increases its cross-sectional radius. Alternatively, pressing the Q key increases the height, and pressing the E key decreases it. The correspondence between keyboard keys and bounding box adjustment operations can be customized based on specific needs.
[0118] Method c: Adjust the size of the 3D bounding box using interactive gestures.
[0119] For example, to adjust the size of the cross-section, a two-finger zoom gesture is used (two fingers spread outward to expand the cross-section and pinch inward to shrink the cross-section within the bounding box); to adjust the height, a single-finger up-and-down swipe gesture is used (slide upward in the side area of the bounding box to increase the height and slide downward to decrease the height).
[0120] The adjustment area is determined based on the adjustment process of the adjustment operation. The adjustment area is a pre-adjusted spatial range generated in real time based on the user's adjustment operation, used to adjust the size of the virtual land covered by the stereo bounding box. It should be noted that this application describes the adjustment method of the stereo bounding box separately, and it can also be implemented by combining methods a to c. This application does not limit the adjustment method of the stereo bounding box.
[0121] Optionally, after detecting the adjustment operation of the 3D bounding box, the process of displaying the adjustment area includes: obtaining the adjustment constraints corresponding to the batch of interactive props; after the adjustment operation is completed, using the adjustment constraints to perform a verification on the adjustment range corresponding to the adjustment operation, and obtaining the verification result; if the verification result indicates that the verification is passed, the adjustment area is displayed.
[0122] The adjustment restrictions for batch interactive props limit the size of the adjustment area and ensure the distance between the adjustment area and the virtual object's location is within a reasonable interaction range. After the adjustment operation is completed, the adjustment area is determined based on the operation, and the client verifies whether the adjustment area meets the adjustment restrictions. For example, the adjustment restrictions include: the radius of the adjustment area for third-level batch props must not exceed 8 meters, and the distance between the outer edge of the adjustment area and the virtual object's location must be less than 15 meters. After the adjustment area passes verification, it is displayed in the interactive interface.
[0123] This application embodiment utilizes adjustment constraints to verify the adjustment range corresponding to the adjustment operation, preventing users from blindly adjusting the range beyond the interactive range of batch interactive props (e.g., low-level props covering too large an interactive area) or conflicting with the virtual scene (e.g., exceeding the range of virtual land), ensuring the rationality and feasibility of the adjustment operation; after the verification is passed, the adjustment area is displayed, reducing the interference of invalid adjustments to users and improving the accuracy of batch interactive operations and user experience.
[0124] In step A3, the adjusted bounding box is determined based on the bounding box of the batch interactive props and the adjustment area.
[0125] After determining the adjustment area, add or remove the adjustment area within the 3D bounding box to obtain the adjusted 3D bounding box.
[0126] Figure 10 This is a schematic diagram of an interactive interface illustrating the process of adjusting the cross-sectional size of a stereoscopic bounding box, as provided in an embodiment of this application. Figure 10 As shown, the interactive interface displays a stereo bounding box 1001. The cross-sectional size of the stereo bounding box 1001 is adjusted using any of the cross-sectional size adjustment operations in methods a to c. After the adjustment operation is completed, the interactive interface displays the adjusted stereo bounding box 1002.
[0127] Figure 11 This is a schematic diagram of an interactive interface illustrating the process of adjusting the cross-sectional size of a stereoscopic bounding box, as provided in an embodiment of this application. Figure 11 As shown, the interactive interface displays a stereo bounding box 1101. The height of the stereo bounding box 1101 can be adjusted using any of the height adjustment operations from method a to method c. After the adjustment operation is completed, the interactive interface displays the adjusted stereo bounding box 1102.
[0128] For example, the process of determining the adjusted bounding box based on the bounding box and adjustment area of batch interactive props includes: when the adjustment operation is used to adjust the cross-sectional size of the bounding box, determining the overlapping area of the adjusted cross-section and the projection of the virtual land on the cross-section; determining a reference height using the height of the plot corresponding to the projection in the overlapping area; and performing adjustments on the bounding box and adjustment area based on the reference height to obtain the adjusted bounding box.
[0129] For example, when the user performs an adjustment operation to adjust the cross-sectional size of the bounding box (e.g., increasing the radius of a sector by dragging with the mouse, or increasing the length / width of a cuboid by pinching), the adjusted cross-section is spatially matched with the projection of the virtual land cross-section to determine the effective coverage area, i.e., the overlapping area of the adjusted cross-section and the projection of the virtual land on the cross-section. Here, the projection of the virtual land on the cross-section refers to the projection area formed by projecting the entire virtual land (including all plots) along the vertical direction (Z-axis direction) onto the same plane (XY plane) as the cross-section.
[0130] If the adjusted cross-sectional portion exceeds the virtual land area (covering blank areas outside the virtual land), only the overlapping portion falling within the virtual land projection is retained. For the plots corresponding to the projections within the overlapping area (i.e., plots whose planar projections fall completely or partially within the overlapping area), the height of each plot in the height direction of the overlapping area is obtained. The maximum and minimum heights of each plot are determined, and a reference height is obtained based on the maximum and minimum heights. The height of the 3D bounding box and the height of the reference area are adaptively adjusted using the reference height, so that the height of the 3D bounding box and the height of the adjusted area are greater than or equal to the reference height. The height-adjusted 3D bounding box and the adjusted area are then merged to obtain the adjusted 3D bounding box.
[0131] It should be noted that after the user performs an adjustment operation, the adjusted 3D bounding box can be automatically generated based on the user's adjustment operation, or the adjustment information of the bounding box can be generated based on the user's adjustment operation. After the adjustment information is determined, the 3D bounding box is adjusted based on the adjustment information to obtain the adjusted 3D bounding box.
[0132] This application embodiment determines a reference height by adjusting the height of multiple plots in the overlapping area of the cross-section and the virtual land projection. The reference height is then used to generate an adjusted 3D bounding box. This solves the problem of missing high-rise or low-rise plots in subsequent processes due to only adjusting the cross-section and ignoring height adaptation. The entire process does not require users to manually adjust the height and automatically completes the height adaptation, reducing the operation threshold in complex planting scenarios, optimizing the efficiency and reliability of batch interaction of virtual land, and adapting to interactive scenarios such as multi-layer planting racks and staggered slopes.
[0133] In step A4, a reference plot is determined based on the adjusted stereo bounding box and reference information.
[0134] The process of determining the reference plot based on the adjusted bounding box and reference information is similar to that of determining the reference plot based on the unadjusted bounding box and reference information. Please refer to the relevant content of steps 2021 to 2024, which will not be repeated here.
[0135] This application embodiment allows users to adjust the cross-sectional size or height of the bounding box by adjusting the bounding box, enabling them to adjust the bounding box range according to the actual layout of the virtual land. By combining the adjusted bounding box with reference information, reference plots can be selected, thus improving the flexibility and strategy of the process of determining reference plots.
[0136] In an exemplary embodiment of this application, the process of determining a reference plot may further include: when the three-dimensional reference area contains at least two plots, obtaining the height of each plot in the height direction of the three-dimensional reference area; determining the plot height difference in the three-dimensional reference area based on the height of each plot; when the plot height difference is greater than the height of the three-dimensional bounding box, adjusting the height of the three-dimensional bounding box based on the plot height difference; and determining the reference plot using the height-adjusted three-dimensional bounding box and reference information.
[0137] For example, after determining the stereo reference region corresponding to the stereo bounding box, the number of plots contained in the stereo reference region can be determined based on the position of each plot in the virtual land. If the stereo reference region contains at least two plots, the height of each plot in the height direction of the stereo reference region is obtained. The maximum and minimum heights of each plot are determined, and the maximum height difference between the plots is obtained based on the maximum and minimum heights. If the height of the stereo reference region is greater than or equal to the maximum height difference, the size of the stereo bounding box is not adjusted; if the height of the stereo reference region is less than the maximum height difference, the height of the stereo bounding box is adaptively adjusted so that its height is greater than or equal to the maximum height difference. The adjusted stereo bounding box and reference information are used to determine the reference plot. The process of determining the reference plot based on the adjusted stereo bounding box and reference information is similar to that based on the unadjusted stereo bounding box and reference information; refer to steps 2021 to 2024 for details, which will not be repeated here.
[0138] Figure 12 This is a schematic diagram of the interactive interface for an adaptive adjustment of the height of a stereoscopic bounding box, provided in an embodiment of this application. Figure 12 As shown, the initial 3D reference region 1201 includes plot 1 and other plots (not shown in the figure). The height of each plot in the height direction of the initial 3D reference region 1201 is determined, namely, height 1 corresponding to plot 1, height 2 corresponding to plot 2, and height 3 corresponding to plot 3. The height difference between the maximum height (height 3) and the minimum height (height 1) of the plots is calculated. Since the height of the initial 3D reference region 1201 is less than the height difference of the plots, the height of the initial 3D reference region 1201 is adaptively increased to obtain the adjusted 3D bounding box 1202.
[0139] This application's embodiments adaptively adjust the height of the three-dimensional bounding box by considering the height differences of multiple plots within a three-dimensional reference area in the vertical direction. The adjusted bounding box, along with reference information, is used to determine reference plots, improving the adaptability of the bounding box to planting scenarios with varying heights and enhancing the accuracy of reference plot selection. For plots with height differences, such as those on vertical planting racks or slopes, the bounding box height is adjusted based on these height differences, avoiding the problem of traditional fixed-height bounding boxes failing to cover higher plots or missing lower plots, thus ensuring the integrity of spatial coverage. Furthermore, using the adjusted bounding box in conjunction with reference information to select reference plots improves the flexibility and strategic nature of the reference plot determination process.
[0140] In an exemplary embodiment of this application, after determining the 3D bounding box corresponding to the prop level, the 3D bounding box can be adjusted to obtain an adjusted 3D bounding box corresponding to the prop level. For example, in response to a shape selection operation of the 3D bounding box, at least two candidate bounding boxes with different shapes are displayed; if any candidate bounding box is selected, the selected candidate bounding box is determined as the 3D bounding box.
[0141] For example, after a batch of interactive props is triggered, it is determined whether a shape selection operation for a 3D bounding box is detected. This shape selection operation includes, but is not limited to, mouse button interactions (e.g., long-pressing the right mouse button), touch gestures (e.g., pinching two fingers together and sliding them outwards), and keyboard shortcuts (e.g., holding down the Shift key). After detecting a shape selection operation, multiple candidate bounding boxes are displayed in the interface. These candidate bounding boxes are bounding boxes associated with the triggered batch of interactive props. The user can select one of the candidate bounding boxes as the 3D bounding box for the triggered batch of interactive props.
[0142] Figure 13 This is a schematic diagram of the interactive interface for a process of replacing a stereoscopic enclosure provided in an embodiment of this application. For example... Figure 13 As shown, the interactive interface displays the first bounding box 1301 associated with the currently batch of interactive props. The first bounding box 1301 is a fan-shaped cylinder. When a shape selection operation of the three-dimensional bounding box is detected (e.g., long-pressing the right mouse button), a candidate bounding box wheel 1302 is displayed, showing multiple candidate bounding boxes of different shapes. When the user selects any candidate bounding box, based on the change in the bounding box associated with the currently batch of interactive props, the interactive interface displays the updated second bounding box 1303 associated with the currently batch of interactive props. For example, if the candidate bounding box selected by the user is a cuboid, the second bounding box 1303 associated with the currently batch of interactive props will also be a cuboid.
[0143] In this embodiment of the application, after detecting the shape selection operation of the 3D bounding box, at least two candidate bounding boxes of different shapes are displayed, allowing users to make independent decisions based on the actual plot layout of the virtual land and determine the 3D bounding box associated with batch interactive props. This avoids the waste of interaction range or omission of plots due to fixed shapes, and improves the flexibility and accuracy of the 3D bounding box in adapting to complex planting scenarios.
[0144] In step 203, the interaction results of the reference plot are displayed.
[0145] In one embodiment, after a batch interaction tool is triggered and a reference plot is identified, the interaction result of the reference plot in the virtual land is directly displayed in the interface. In another embodiment, after a batch interaction tool is triggered, the reference plot is displayed in the interface, and after the batch interaction tool is used, the interaction result of the reference plot is displayed. Optionally, after displaying the interaction result corresponding to the batch interaction tool in the reference plot, the display of the batch interaction tool can be turned off, and the batch interaction operation stops.
[0146] Optionally, after displaying the reference plot, batch interactive props in an interactive state can also be displayed in the reference plot. Batch interactive props in an interactive state refer to visual identifiers that appear in the reference plot in the interactive interface after a batch interactive prop is triggered, used to indicate the current interactive progress of the reference plot. For example, if the triggered batch interactive prop is a batch watering interactive prop, a watering can icon will be displayed in the reference plot, indicating that a batch watering interactive operation is about to be performed on the reference plot.
[0147] In an exemplary embodiment of this application, the batch interaction props include at least two prop types. When a batch interaction prop of any prop type is triggered, the interaction information corresponding to the triggered batch interaction prop of the prop type is displayed in the associated area of the virtual object. The interaction information is the interaction state corresponding to the prop type of the triggered batch interaction prop.
[0148] For example, when a batch of interactive props of any prop type is triggered, the interaction information corresponding to the triggered batch of interactive props is obtained. The interaction information is used to convey the relevant situation of the current interaction process to the user. The interaction information is based on the interaction state corresponding to the prop type of the triggered batch of interactive props. The interaction state represents the stage or dynamic situation presented after the batch of interactive props is triggered.
[0149] After determining the interaction information, the interaction information is displayed in the associated area of the virtual object. The associated area of the virtual object is the user interface (UI) area associated with the virtual object, including but not limited to the area around the virtual object. For example, the associated area of the virtual object is the area above the virtual object's head.
[0150] Figure 14 This is a schematic diagram of an interactive interface that displays interactive information in the associated area of a virtual object, as provided in an embodiment of this application. Figure 14 As shown, the interactive interface displays virtual object 1401. When the triggered batch interaction item is a batch planting interaction item, the corresponding interaction information is "Batch Planting in Progress." The "Batch Planting in Progress" interaction information is displayed in the associated area 1402 of virtual object 1401. The interactive interface also displays reference plot 1403, and the interaction information in the associated area 1402 is the information about interacting with reference plot 1403.
[0151] It should be noted that this application uses the batch planting interactive prop as an example for illustration. The associated area of the virtual object can also display the interactive information corresponding to the batch watering interactive prop (batch watering), the interactive information corresponding to the batch harvest interactive prop (batch harvesting), the interactive information corresponding to the batch hoeing interactive prop (batch hoeing), etc. The position of the associated area and the content of the interactive information in this application are illustrative examples and can also be set based on the actual interactive process. This application does not impose any restrictions on this.
[0152] This application embodiment displays the interaction information of triggered batch interaction props in the virtual object association area, allowing users to quickly and intuitively understand the prop types and interaction progress of the currently executed batch interaction without additional operations to query, thus improving the convenience and transparency of obtaining interaction information.
[0153] In an exemplary embodiment of this application, when a reference plot is determined and a batch interaction prop is triggered, the batch interaction operation corresponding to the batch interaction prop is performed on the reference plot, and the interaction result of the reference plot is displayed.
[0154] When the batch interaction props include the batch planting interaction props, the process of displaying the interaction results of the reference plot includes: in response to the triggering operation of the batch planting interaction props, displaying at least one virtual seed owned by the virtual object, the virtual seed being used for planting in the virtual land; and when at least one virtual seed is selected, displaying the planting results of the selected virtual seed in the reference plot.
[0155] For example, the triggering operations for the batch planting interactive prop include, but are not limited to, single-click, double-click, long-press, hover (mouse pointer hovering over the batch planting interactive prop), and pressing of a specified keyboard key. After the batch planting interactive prop is triggered, a seed selection panel or a seed list pops up in the interactive interface, and the seed selection panel or the seed list includes at least one virtual seed owned by the virtual object.
[0156] Among at least one displayed virtual seed, when a user selects one (through clicking, dragging, or other operations), the planting result corresponding to the selected virtual seed is displayed in a reference plot that meets the planting conditions and allows for batch planting. The planting result includes at least one of the following: a real-time simulated initial state of crop growth (e.g., signs of seed germination after sowing, seedling morphology, etc.), a virtual crop identifier, or remaining growth time. The remaining growth time is the time required for the current virtual crop to reach maturity, and it is updated in real-time as the game progresses.
[0157] Figure 15 This is a schematic diagram of an interactive interface process for displaying the planting results of a selected virtual seed, provided in an embodiment of this application. Figure 15 As shown, the interactive interface displays a batch planting interactive tool 1501. After the batch planting interactive tool 1501 is triggered, a seed list 1502 and a reference plot 1503 are displayed. The seed list 1502 includes the types and quantities of virtual seeds owned by the virtual object. After any virtual seed is selected, the virtual crop identifier 1504 of the selected virtual seed and the remaining growth time 1505 are displayed in the reference plot 1503. For example, if the selected virtual seed is a strawberry seed, the strawberry identifier is displayed in the reference plot 1503, and the remaining growth time of the strawberry is 7 hours, 59 minutes, and 50 seconds. That is to say, the strawberry will mature and can be harvested in 7 hours, 59 minutes, and 50 seconds.
[0158] This application embodiment provides virtual seeds owned by virtual objects for users to choose from after the batch planting interactive props are triggered. This allows users to clearly understand the planting resources they own and choose suitable seeds independently, thus enhancing the personalization and fun of the operation. After a virtual seed is selected, the planting result of the virtual seed is displayed on a reference plot, avoiding the repetitive operation of planting one by one and significantly improving planting efficiency and intuitiveness.
[0159] Optionally, if no virtual seed is selected within a preset time period, a virtual seed may be automatically selected. The selected virtual seed may be the same as the virtual seed previously selected by the user, the same as the virtual seed corresponding to a virtual crop in any plot surrounding the reference plot, or the same as a virtual seed whose quantity exceeds a quantity threshold. The quantity threshold may be greater than or equal to the number of reference plots.
[0160] Optionally, the interactive interface may also display a switching control, which is used to switch the virtual seeds planted in the reference plot. After the switching control is triggered, the switchable virtual seeds are displayed; when any virtual seed is selected, the virtual seeds planted in the reference plot are switched.
[0161] For example, the toggle control displayed in the interactive interface is used to dynamically switch between virtual seeds that have been planned for planting in the reference plot. When the toggle control is triggered, the interactive interface displays a list or selection panel of currently available virtual seeds. The list or selection panel displays other virtual seed types owned by the virtual object that meet the planting conditions of the current reference plot.
[0162] After the user selects a new virtual seed from the list, the planting results displayed in the reference plot are updated. For example, information such as the virtual crop identifier, growth status, and remaining growth time corresponding to the original virtual seed will be cleared and replaced with the planting information corresponding to the switched virtual seed, such as the new crop seedling morphology, crop identifier, and updated remaining growth time.
[0163] Figure 16 This is a schematic diagram of an interactive interface for switching virtual seeds planted in a reference plot, provided in an embodiment of this application. Figure 16 As shown, the interactive interface displays a switching control 1601. After the switching control 1601 is triggered, a virtual seed switching list 1602 is displayed. The virtual seed switching list 1602 displays at least one switchable virtual seed. After the user selects any virtual seed, the user completes the update of the virtual seed in the reference plot by triggering the confirmation switching control 1603.
[0164] This application embodiment allows users to flexibly select virtual crops during the batch planting planning stage by switching controls, which enhances the freedom of planting strategies and the fault tolerance of operations. It eliminates the need for users to repeatedly trigger batch planting props and re-select reference plots, reduces the number of steps required to change virtual seeds, and improves the efficiency of changing virtual seeds.
[0165] In an exemplary embodiment of this application, when the number of plots used for planting virtual seeds is less than the number of reference plots, purchase information for virtual seeds is displayed, and the purchase information is used to purchase virtual seeds; when virtual seeds are purchased based on the purchase information, at least one virtual seed owned by the virtual object is displayed, and the at least one virtual seed is a virtual seed obtained after updating the virtual seeds owned by the virtual object based on the purchase information.
[0166] For example, after determining the reference plots, the number of plots used for planting the selected virtual seeds is determined, wherein the number of plots used for planting the selected virtual seeds is the same as the number of selected virtual seeds. The number of plots used for planting the selected virtual seeds is compared with the number of reference plots. When the number of plots used for planting the selected virtual seeds is less than the number of reference plots, purchase information for the virtual seeds is displayed on the interactive interface. For example, purchase information is displayed by popping up a purchase window or displaying purchase prompts in the seed selection area. Purchase information includes, but is not limited to, the types of virtual seeds available for purchase, their prices, and purchase methods. Purchase information is used to guide users to purchase virtual seeds to meet their planting needs on the reference plots.
[0167] Based on the displayed purchase information, the user performs a virtual seed purchase operation (e.g., clicking the purchase button, confirming payment for virtual resources, etc.). After the user successfully purchases virtual seeds based on the purchase information, the virtual seeds originally owned by the virtual object are updated, and the purchased virtual seeds are added to the virtual object's seed inventory. The interactive interface displays at least one virtual seed owned by the virtual object, and the virtual seeds displayed at this time are the updated ones, including the newly purchased virtual seeds.
[0168] Figure 17 This is a schematic diagram of an interactive interface for displaying purchase information of virtual seeds, provided in an embodiment of this application. For example... Figure 17 As shown, the interactive interface displays purchase information 1701, which includes the identifier of the virtual seed to be purchased, the description of the virtual seed, the quantity of virtual seeds to be purchased, and the virtual resources required to purchase the virtual seeds. After determining the quantity of virtual seeds to be purchased, the purchase process is completed by confirming the purchase via the purchase confirmation control 1702.
[0169] In this embodiment of the application, when the number of plots used for planting is less than the number of reference plots, virtual seed purchase information is displayed so that users can conveniently obtain more virtual seeds when their planting needs cannot be met. By purchasing virtual seeds in a timely manner through the purchase information, the smooth progress of batch planting interactive operations is ensured, and the planting process is avoided from being interrupted due to insufficient seeds. Furthermore, after purchasing virtual seeds, the updated virtual seeds are displayed, which improves the timeliness of purchase information feedback.
[0170] In an exemplary embodiment of this application, the process of displaying the interaction result in the reference plot includes: displaying recommended planting information in the reference plot, the recommended planting information being used to recommend virtual seeds to be planted for the reference plot, the recommended planting information being determined based on the basic attributes of the reference plot, the basic attributes including at least one of the virtual scene temperature, height, soil moisture content, or soil fertility content of the reference plot; and displaying the planting result of the virtual seeds to be planted in the reference plot in response to the confirmation operation of the recommended planting information.
[0171] For example, after the reference plot is determined, the basic attributes of the reference plot are obtained. The basic attributes need to cover the key environmental factors that affect crop growth in the virtual scene, including but not limited to the temperature of the virtual scene where the reference plot is located, the height of the plot itself, the soil moisture content (e.g., 60% soil moisture content in a wet state and 20% soil moisture content in a dry state) and the soil fertility content (e.g., 80% soil fertility content in a fertile state and 30% soil fertility content in a barren state).
[0172] Based on the basic attributes of each plot and the adaptation rules of virtual seeds, the growth requirement range of various virtual seeds is obtained. For example, wheat seeds are suitable for temperatures of 15-25℃ and soil moisture content of 40%-70%; rice seeds are suitable for temperatures of 20-30℃ and soil moisture content of 70%-90%. The basic attributes of reference plots are matched with the requirement range of various seeds, and virtual seeds that match the basic attributes of each reference plot are used as recommended virtual seeds. Recommended planting information is generated based on the recommended seeds. The recommended planting information includes the name of the recommended virtual seed.
[0173] Optionally, the recommended planting information may also include the basis for the recommendation, the expected growth cycle, and the yield estimate. For example, the recommended virtual seed is named wheat seed, and the basis for the recommendation is that the optimal planting temperature for wheat seeds is 25℃, and the soil moisture content is 60%, which matches the temperature of the reference plot (15-25℃) and the soil moisture content (40%-70%); the expected growth cycle of the wheat seed is 12 hours; and it is estimated that 10 portions of wheat can be harvested after maturity.
[0174] Recommended planting information can be displayed next to the reference plots in the form of a floating panel or pop-up window. When the user triggers a confirmation operation for the recommended planting information (e.g., clicking the confirm planting control, double-clicking the recommended seed name), the corresponding planting interaction operation is performed in each reference plot, and the planting results of the virtual seeds to be planted are displayed in the reference plot. The planting results include, but are not limited to, the initial growth status simulated in real time (e.g., the germination seedling morphology of wheat seeds), crop identification (e.g., the "wheat" text label), and remaining growth time (e.g., 12 hours until maturity), ensuring that the user can intuitively obtain the initial status after planting and the subsequent growth expectations.
[0175] This application embodiment determines recommended planting information based on the basic attributes of reference plots and the generation conditions of virtual seeds, and displays the recommended planting information in each reference plot. This avoids users selecting unsuitable seeds due to information asymmetry, which could lead to virtual seed planting failure and waste of virtual resources, thus improving interaction efficiency. By confirming the recommended seed information, the planting results of the virtual seeds to be planted are displayed in the reference plots, simplifying the planting interaction process, improving decision-making efficiency and user experience in virtual planting scenarios, and lowering the operating threshold for novice users.
[0176] In an exemplary embodiment of this application, the batch interaction prop includes a batch growth acceleration prop. A virtual crop in a first planting state and a first duration are displayed in a first plot of at least two plots. The first plot includes a reference plot. The first duration represents the time required for the virtual crop in the first planting state to reach maturity. In response to a triggering operation of the batch growth acceleration prop, a batch acceleration result is displayed in the reference plot of the first plot. The batch acceleration result includes a virtual crop in a second planting state and a second duration. The second planting state is the state after the growth rate of the virtual crop in the first planting state is increased based on the batch growth acceleration prop. The second duration is determined based on the acceleration duration corresponding to the batch growth acceleration prop and the first duration.
[0177] For example, batch growth acceleration items include batch watering, batch fertilizing, batch weeding, and batch pest control interactive items. The first plot is the plot in the virtual land that is currently in a planting state. The first plot displays the virtual crops in their first planting state and the first duration. The first planting state is the current growth stage of the virtual crop, including but not limited to the seedling stage, growth stage, and flowering stage, usually represented by different appearances of the virtual crop. The first duration is a dynamic countdown, representing the time required for the virtual crop to reach harvestable maturity from the first planting state, calculated at the current natural growth rate. The first duration updates in real-time as the game progresses.
[0178] After the mass growth acceleration item is triggered, the virtual crops are updated from the first planting state to a second planting state that is closer to maturity. For example, the virtual crops jump directly from the seedling stage to the growth stage, which is reflected in the appearance of the plants becoming larger and taller. The first duration is subtracted from the acceleration duration associated with the mass growth acceleration item (e.g., reducing growth time by 1 hour) to obtain the second duration. That is, second duration = first duration - acceleration duration. On the reference plot, the mass acceleration results are updated and displayed, including the change in the appearance of the virtual crops, and the countdown is updated to the second duration.
[0179] It should be noted that the acceleration time for batch growth acceleration items of the same item level but different item types can be the same or different; the acceleration time for batch growth acceleration items of different item levels but the same item type can be different, with higher item levels resulting in longer acceleration times. The acceleration time for any batch growth acceleration item can be set according to actual circumstances, and this application does not impose any restrictions on this.
[0180] Optionally, during the interaction, at least one of the following may be displayed: a prompt message or an acceleration item icon. The prompt message represents the operation being performed on the reference plot, and the acceleration item icon is the icon corresponding to the triggered batch growth acceleration item.
[0181] The following explanation uses the triggered batch growth acceleration item as an example of a batch watering interaction item. Figure 18 This is a schematic diagram of an interactive interface for displaying batch acceleration results provided in an embodiment of this application. For example... Figure 18 As shown, each reference plot 1803 in the interactive interface displays a virtual crop 1801 in its first planting state and a first duration 1802. After the batch watering interactive prop is triggered, each reference plot 1803 displays a watering indicator 1804 and a prompt message 1805, indicating to the user that each reference plot 1803 is in the process of batch watering. When the batch watering process ends, each reference plot 1803 displays a virtual crop 1806 in its first planting state and a first duration 1807.
[0182] This application embodiment displays the virtual crops in the first planting state and the first duration, allowing users to clearly grasp the growth progress of virtual crops in multiple plots, avoiding misjudgment of acceleration timing due to ambiguous information; when batch growth acceleration props are applied to reference plots including at least two plots, users do not need to operate on each plot individually, improving the efficiency of crop growth management in multiple plots; by using the acceleration duration and the first duration to calculate the second duration and the second planting state, the acceleration effect is ensured to be quantifiable and visualized, avoiding the problem of unclear acceleration effect, and enhancing the operational controllability and information transparency in batch planting scenarios.
[0183] In an exemplary embodiment of this application, the batch interaction prop includes a batch harvest interaction prop, which displays virtual crops in a mature state in a second plot of at least two plots; and displays the harvest results of virtual crops in a reference plot when the batch harvest interaction prop is triggered.
[0184] For example, the real-time status of all plots in the virtual land is obtained. When virtual crops in at least two plots (i.e., the second plot) reach maturity (e.g., the remaining growth time of the crops is reduced to 0, and the growth stage parameters reach a preset maturity threshold), the mature virtual crops are displayed in the second plot. For example, the maturity morphology of the crops is presented as a visual model (e.g., mature wheat is displayed as a golden wheat ear model, and mature tomatoes are displayed as a model of ripe red fruit hanging on the branch). Optionally, a prompt message can also be displayed in the second plot, including a "harvestable" status indicator and the number of mature virtual crops.
[0185] When the batch harvest interactive prop is triggered, the harvest results are displayed in the reference plot. For example, the visual model of mature crops in the reference plot is cleared and replaced with a dynamic animation of harvesting (e.g., the virtual crop model gradually fades away, accompanied by particle effects); harvest details are displayed in the form of a floating pop-up or interface sidebar, including at least one of the following: the name of the harvested virtual crop, the quantity harvested per plot, and the total quantity harvested. The number of reference plots is less than or equal to the number of second plots.
[0186] Figure 19 This is a schematic diagram of an interactive interface for displaying batch acceleration results provided in an embodiment of this application. For example... Figure 19 As shown, the second reference plot 1901 in the interactive interface displays a mature virtual crop 1903 and a maturity status indicator 1904. After the batch harvest interactive item is triggered, the mature virtual crop 1903 in reference plot 1902 is harvested, and the harvest result of reference plot 1902 is displayed in the interactive interface. The harvest result includes harvest details 1905 and a harvested indicator 1906. Harvest details 1905 show the number of virtual crops harvested, such as harvesting 7 strawberries; the harvested indicator 1906 indicates that the virtual crops in reference plot 1902 have been harvested, and reference plot 1902 is now in an idle state.
[0187] In this embodiment, virtual crops in a mature state are displayed in the second plot, helping users quickly locate the plots to be harvested and avoid omissions; the batch harvesting tool is used to perform batch harvesting operations on reference plots in the second plot, and the batch harvesting results are displayed, realizing the harvesting of multiple plots at one time without the need for users to click on each plot, reducing repetitive interactive operations and improving the efficiency and intuitiveness of virtual crop harvesting.
[0188] In an exemplary embodiment of this application, the batch interaction tool includes a batch eradication interaction tool. The process of generating the eradication result of virtual crops using the batch eradication interaction tool includes: when the plot where the virtual object is located is in an eradicable state, displaying a marking control, the marking control being used to mark the plot in the virtual land; in response to the triggering operation of the marking control, displaying a third plot in a marked state, the third plot being the plot where the virtual object is located; when the plot where the virtual object is located changes, displaying a fourth plot in a marked state, the fourth plot being the plot where the virtual object is located after the change in position, the reference plot including the third plot and the fourth plot; when the batch eradication interaction tool is triggered, displaying the eradication result of the virtual crops in the reference plot.
[0189] For example, the state of the plot where the virtual object is located is obtained. When the state of the plot where the virtual object is located is "removable," a marker control is displayed in the interactive interface. The "removable" state indicates that there are virtual crops in the plot, and the crops are in a state of immaturity, withering, or actively selected for removal by the user. Examples include seedlings and abnormally growing crops.
[0190] Triggering actions for the marking control include, but are not limited to, single-click, double-click, and long-press actions. After the marking control is triggered, the plot where the virtual object is currently located is designated as the third plot in a marked state, and a marking indicator is displayed on the third plot. The marking indicator includes, but is not limited to, displaying a red border around the edge of the third plot, displaying a red mask within the third plot, displaying the text "Marked or Pending Removal" on the third plot, and adding a flashing red warning halo to ensure users can clearly distinguish between marked and unmarked plots.
[0191] After the marking operation is completed, if the virtual object's position changes (e.g., the user moves the virtual object to another plot using keyboard arrow keys, mouse dragging, or touchscreen swiping), the plot where the virtual object's new position is located is determined, and it is judged whether the plot where the new position is located is in a removable state. If the plot where the new position is located is in a removable state, it is automatically designated as the fourth plot in the marked state, and the same marking identifier as the third plot is displayed in the fourth plot; if the new plot is not in a removable state (e.g., an vacant plot, a plot under protection), no marking identifier is displayed, and only the original marked third plot is retained. All third and fourth plots in the marked state are designated as reference plots, and multiple plots can be marked consecutively. For example, if the virtual object moves three removable plots in sequence, the reference plots will include these three plots.
[0192] When the batch eradication interactive prop is triggered, a batch eradication operation is performed on the reference plot, and the eradication results are displayed in the reference plot. For example, the batch eradication operation includes clearing the visual models of virtual crops (e.g., seedling models, withered plant models) from the reference plot, replacing them with a "eradicating" dynamic animation (e.g., virtual crop models shattering and disappearing, accompanied by dust particle effects), and finally generating an idle eradication result. Optionally, after the reference plot is eradicated, the virtual seeds planted in the reference plot are returned to the virtual object.
[0193] Optionally, the interactive interface can also display the removal details as a floating pop-up or interface message prompt. These details include, but are not limited to, the name of the removed crop, the number of reference plots, and the status of the removed crop in each plot. For example, the removal details could be: 2 plots of tomato seedlings removed; 1 plot of withered wheat removed. Furthermore, the status of the reference plots is updated to "idle," and the text "Removed, can be replanted" is displayed on the plot, ensuring users are clearly aware of the removal results and the subsequent availability of the plots.
[0194] Figure 20 This is a schematic diagram of an interactive interface for displaying a land parcel in a marked state, provided in an embodiment of this application. For example... Figure 20 As shown, the interactive interface displays virtual land, a marker control 2001, and a virtual object 2002. The virtual land comprises nine plots, numbered 1-9. After the marker control 2001 is triggered, the virtual object 2002 is located in plot 8. The virtual crops planted in plot 8 are withered due to abnormal growth, indicating that plot 8 is ready to be removed. Plot 8 is then designated as the third plot 2003 in the marked state, and this marked plot 2003 is displayed in shadow.
[0195] Virtual object 2002 moves from plot 8 to plot 9. Virtual crops are planted in plot 9, indicating that plot 9 is in a removable state. Plot 9 is designated as the fourth plot 2004 in a marked state, and is shown in shadow. The third plot 2003 and the fourth plot 2004 in a marked state are designated as reference plots. Batch removal operations can be performed on the reference plots in subsequent processes, and the results of the batch removal will be displayed.
[0196] This application embodiment displays a marking control in the interactive interface. After the marking control is triggered, the plot of land in the current position of the virtual object that is in a cullingable state is identified as the third plot in the marking state to prevent users from mistakenly marking vacant plots or plots in the protection period. After the virtual object's position changes, the fourth plot in the marking state is identified in the same way. It supports dynamic updating of the marked plots when the virtual object moves, meeting the needs of multiple plots to be culling in a distributed manner. Using the batch culling tool, all marked reference plots can be culled at once, eliminating the need for users to trigger the culling operation one plot at a time, reducing repetitive operations, and adapting to scenarios where multiple plots need to be culled in a concentrated manner (e.g., large-scale crop withering, adjustment of planting plans), improving the accuracy and efficiency of the batch culling process of virtual crops. Displaying the culling results in the reference plots allows users to clearly understand the culling range and the subsequent use direction of the plots, avoiding management confusion caused by unclear information after culling, and optimizing the plot management experience in virtual planting scenarios.
[0197] In an exemplary embodiment of this application, the batch interaction tool includes a batch eradication interaction tool. The process of generating the eradication result of virtual crops using the batch eradication interaction tool includes: when there are at least two plots in the virtual land that are marked, displaying an unmarking control, which is used to unmark the plots in the virtual land; in response to the triggering operation of the unmarking control, displaying a fifth plot that is not marked, which is the plot where the virtual object is located after the unmarking control is triggered; when the plot where the virtual object is located changes, displaying a sixth plot that is not marked, which is the plot where the virtual object is located after the position changes; determining a reference plot based on the plots in the marked state, the fifth plot, and the sixth plot; and when the batch eradication interaction tool is triggered, displaying the eradication result of the virtual crops in the reference plot.
[0198] For example, the number of plots in the virtual land area that are in a marked state (marked state refers to plots that have been marked by a marking control and are awaiting batch removal) is obtained. When there are at least two plots in the virtual land area that are in a marked state, a cancel marking control is displayed in the interactive interface. The cancel marking control can be a standalone control or a space transformed from the marking control. Combined with... Figure 20 After the marker control 2001 is triggered, the marker control 2001 changes from the marker state to the demark state, that is, the marker control 2001 is transformed into the demark control 2005.
[0199] The triggering operations for the unmarking control include, but are not limited to, single-click, double-click, and long-press operations. After the unmarking control is triggered, the current plot of land where the virtual object is located is obtained, and the plot where the virtual object is currently located is identified as the fifth plot in an unmarked state. The original mark of the plot is then removed. For example, the red border disappears, the "Marked (Pending Removal)" text label is hidden, the red mask is cleared, or the warning halo is removed. Optionally, the prompt text "Unmarked" is temporarily displayed in the fifth plot to ensure that the user is clearly aware of the cancellation result.
[0200] If the virtual object's position changes (e.g., the user moves the virtual object to another marked plot using keyboard arrow keys, mouse dragging, or touchscreen swiping), the new position of the virtual object is obtained, the plot where the new position is located is determined, and it is determined whether the plot where the new position is located is in a marked state. If the plot where the new position is located is a marked plot, the plot where the new position is located is automatically identified as the sixth plot in an unmarked state, and its mark is removed simultaneously (consistent with the cancellation effect of the fifth plot); if the plot where the new position is located is an unmarked plot (e.g., a vacant plot, an unmarked removable plot), the cancellation operation is not performed, and only the state of the currently unmarked plot is retained.
[0201] After unmarking the fifth and sixth plots, the remaining marked plots in the virtual land are recounted. These marked plots are then displayed separately from the unmarked fifth and sixth plots. Finally, the remaining marked plots are designated as reference plots for the batch removal operation. For example, if plots 8, 9, and 10 (a total of 3) are initially marked, and the user triggers the unmarking control, plot 8 is first designated as the fifth plot (unmarked), then plot 9 is designated as the sixth plot (unmarked). The remaining marked plot 10 then becomes the reference plot.
[0202] When the batch removal interactive item is triggered, the batch removal operation is only performed on the finally determined reference plots, and the removal results are displayed on the reference plots. The process of displaying the removal results on the reference plots has been explained in detail above and will not be repeated here.
[0203] Figure 21 This is a schematic diagram of an interactive interface for displaying a land parcel in an unmarked state, provided in an embodiment of this application. For example... Figure 21 As shown, the interactive interface displays virtual land, a demarking control 2101, and a virtual object 2102. The virtual land consists of 9 plots, numbered 1-9. Plots 7, 8, and 9 in the virtual land are marked (all displayed in shadow). After the demarking control 2101 is triggered, the virtual object 2102 is located at plot 9, and plot 0 is identified as the fifth unmarked plot 2104, whose shadow mark disappears. When the virtual object 2102 moves to plot 8, plot 9 is identified as the sixth unmarked plot 2105, and its shadow mark also disappears. If there are no other marked plots in the virtual land at this time, the reference plot is empty. When the batch removal tool is triggered, the interface will display a prompt: "No plots to be removed, please remark." If there is still a marked plot 7, then plot 7 becomes the reference plot 2106, and a batch removal operation can be performed subsequently, displaying the batch removal results.
[0204] This application embodiment displays a demarking control when at least two plots are marked, providing users with a flexible entry point for marking correction and avoiding invalid removal due to mismarking. By setting the currently marked plots and the plots where the virtual object is located after moving as the fifth and sixth plots (demarking), flexible removal of marked plots is achieved. The remaining marked plots (excluding the fifth and sixth plots) are designated as reference plots, ensuring that batch removal only applies to reference plots, improving the editability and flexibility of reference plot determination. The batch removal tool can remove all marked reference plots at once, eliminating the need for users to trigger removal operations one plot at a time, reducing repetitive operations, and adapting to scenarios requiring concentrated removal of multiple plots (e.g., large-scale crop withering, planting plan adjustments), improving the accuracy and efficiency of the batch removal process for virtual crops. Displaying the removal results in the reference plots allows users to clearly understand the removal scope and subsequent use of the plots, avoiding management confusion caused by ambiguous information after removal, and optimizing the plot management experience in virtual planting scenarios.
[0205] In an exemplary embodiment of this application, the process of displaying the interaction results of batch interactive operations may include: displaying a smart shortcut operation control, which is associated with a smart bounding box; responding to the triggering operation of the smart shortcut operation control, performing an interactive operation on a target plot in the virtual land based on recommended interactive props, wherein the target plot is the plot in the virtual land that intersects with the smart bounding box, and the recommended interactive props are determined based on at least one of the planting status, relative position, or quantity of the target plot; and displaying the interaction results of the target plot.
[0206] For example, the intelligent quick operation control is a functional entry point in the interface used to trigger intelligent batch interactive operations, enabling one-click management of the land parcels owned by the virtual object. The intelligent quick operation control is associated with the intelligent bounding box, which is a bounding box that can cover all the land parcels owned by the virtual object, similar to a three-dimensional bounding box, and will not be described in detail here.
[0207] Triggering actions for the smart shortcut control include, but are not limited to, single-click, double-click, and long-press actions. Once the smart shortcut control is triggered, the plot of land within the smart bounding box is identified as the target plot.
[0208] After identifying the target plots, obtain the planting status of all target plots, including but not limited to idle status, sowing status, growing status, mature status, and withered status. Based on the planting status of each target plot, determine the types of interactive functions that can be executed, exclude items with mismatched functions, and determine the recommended item types for interactive items.
[0209] For example, for a target plot that is in an idle state, the interaction function type is planting, and the recommended interaction prop type is batch planting interaction prop; for a target plot that is in a growing state (crops have been sown but are not yet mature and need maintenance), the recommended interaction prop type is batch growth acceleration prop, which includes but is not limited to batch watering interaction prop, batch fertilizing interaction prop, and batch pest control interaction prop.
[0210] For example, after determining the item type of the recommended interactive item for each plot, the item level of the recommended interactive item is determined based on the location and quantity of the plots corresponding to the recommended interactive items of the same item type. For example, for target plots classified as the same item type, their location distribution characteristics are determined, that is, whether the target plots of the same item type are consecutively connected; if the target plots of the same item type are connected, the item level of the recommended interactive item is determined based on the number and relative position of the connected target plots: for example, if the target plots include 4 adjacent plots that can be watered, a first-level batch watering interactive item can be recommended; if the target plots include 8 adjacent plots that can be watered, a second-level batch watering interactive item can be recommended.
[0211] After determining the recommended interactive tools for the target plots, corresponding interactive operations are performed on each target plot based on the recommended interactive tools, and the interaction results are displayed on each target plot. The process of displaying the interaction results on the target plots is similar to the process of displaying the interaction results on the reference plots, and will not be described in detail here.
[0212] The intelligent quick operation control in this embodiment is directly associated with the intelligent bounding box. When the intelligent quick operation control is triggered, the plots intersecting with the intelligent bounding box are taken as target plots, eliminating the need for manual selection or determination of target plots, simplifying operation steps and improving the convenience and efficiency of large-scale plot management scenarios. Recommended interactive props are determined based on the planting status, relative position, and quantity of the target plots, ensuring that the functions, types, and levels of the recommended interactive props meet the actual needs of the target plots, avoiding misuse of props or waste of levels. The recommended interactive props are used to perform corresponding interactive operations on each target plot, and the interaction results are displayed on the target plots. This intelligently realizes full automation of the process from target plot selection and interactive prop matching to interactive operation execution, eliminating the need for manual selection of plots to be operated on one by one and manual matching of prop types and levels, avoiding operational redundancy and decision-making errors caused by manual selection, further simplifying the interaction process and improving the interaction efficiency.
[0213] In an exemplary embodiment of this application, the interactive interface may also display at least one independent interactive control, which is used to perform an interaction on a plot of land in the virtual land; in response to the triggering operation of the independent interactive control, the interaction result of the plot where the virtual object is located is displayed.
[0214] For example, the interactive interface may also include independent interactive controls of different item types. Independent interactive controls include, but are not limited to, independent planting controls, independent watering controls, independent weeding controls, independent fertilizing controls, independent pest control controls, independent harvesting controls, and independent weeding controls. Independent interactive controls are used to perform corresponding interactive operations on a plot of land within the virtual land.
[0215] Triggering operations for independent interactive controls include, but are not limited to, single-click, double-click, and long-press operations on the independent interactive control. After an independent interactive control is triggered, the corresponding independent interactive operation is obtained, the interactive operation is performed on the plot where the virtual object is located, and the interaction result is displayed.
[0216] The process of using independent interactive controls to perform interactive operations on land parcels and displaying the interactive results is similar to using batch interactive props to perform batch interactive operations on reference land parcels and displaying the interactive results, and will not be described in detail here.
[0217] The independent interactive controls shown in this embodiment only apply to a single plot of land where the virtual object is located. They support users to perform precise operations on special plots (such as water-scarce plots that only need to be watered separately or early-maturing plots that only need to be harvested separately), complementing batch interactions and improving the accuracy and flexibility of virtual land interaction.
[0218] This application also provides an information interaction device. Figure 22 This is a schematic diagram of the structure of an information interaction device provided in an embodiment of this application, such as... Figure 22 As shown, the device includes: Display module 2201 is used to display batch interaction props when the virtual land of the virtual object meets the batch interaction conditions, and the virtual land has at least two plots; The determination module 2202 is used to respond to the triggering operation of the batch interactive props, and determine the reference plot in at least two plots of virtual land based on the three-dimensional bounding box of the batch interactive props and reference information. The three-dimensional bounding box is the three-dimensional range area affected by the batch interactive props, and the reference information includes at least one of the parameters of the batch interactive props, the position of the virtual object, or the planting status of each plot of virtual land. Display module 2201 is also used to display the interactive results of the reference plot.
[0219] In one possible implementation, the parameters of the batch interactive props include prop level and prop type. The determination module 2202 is also used to determine a three-dimensional reference area in the virtual land based on the three-dimensional bounding box corresponding to the prop level and the position of the virtual object; determine the plots that intersect with the three-dimensional reference area in each plot of the virtual land to obtain the base plots; and determine the reference plots in the base plots using the prop type and the planting status of each plot. The display module 2201 is also used to display reference plots based on a reference method, which includes distinguishing between the remaining plots of the reference plots and the virtual land.
[0220] In one possible implementation, the determining module 2202 is used to take the position of the virtual object as the central axis of the stereo bounding box and take the intersection area of the stereo bounding box and the virtual land as the stereo reference area.
[0221] In one possible implementation, the determining module 2202 is used to, when the stereo reference region contains at least two plots, obtain the height of each plot in the height direction of the stereo reference region; determine the plot height difference in the stereo reference region based on the height of each plot; adjust the height of the stereo bounding box based on the plot height difference when the plot height difference is greater than the height of the stereo bounding box; and determine the reference plot using the height-adjusted stereo bounding box and reference information.
[0222] In one possible implementation, the parameters of the batch interactive props include at least one of prop level or prop type, which is used to influence at least one of the shape, cross-sectional size, or height of the 3D bounding box.
[0223] In one possible implementation, the display module 2201 is further configured to display the bounding box corresponding to the batch of interactive props when the batch of interactive props are triggered; and to display an adjustment area in response to an adjustment operation on the bounding box, the adjustment area being an area determined based on the adjustment operation, the adjustment operation being used to adjust at least one of the cross-sectional size or height of the bounding box. The determination module 2202 is used to determine the adjusted bounding box based on the bounding box of the batch interactive props and the adjustment area; and to determine the reference plot based on the adjusted bounding box and reference information.
[0224] In one possible implementation, the determining module 2202 is used to determine the overlapping area of the adjusted cross-section and the projection of the virtual land on the cross-section when the adjustment operation is used to adjust the cross-sectional size of the stereo bounding box; determine a reference height using the height of the plot corresponding to the projection in the overlapping area; and perform adjustment on the stereo bounding box and the adjustment area based on the reference height to obtain the adjusted stereo bounding box.
[0225] In one possible implementation, the device further includes a verification module (not shown in the figure), which is used to obtain the adjustment constraints corresponding to the batch interactive props; after the adjustment operation is completed, the adjustment range corresponding to the adjustment operation is verified using the adjustment constraints to obtain the verification result; Display module 2201 is used to display the adjustment area when the verification result indicates that the verification has passed.
[0226] In one possible implementation, the display module 2201 is also configured to display at least two candidate bounding boxes with different shapes in response to a shape selection operation of the bounding box. The determination module 2202 is also used to determine the selected candidate bounding box as a 3D bounding box when any candidate bounding box is selected.
[0227] In one possible implementation, the batch interactive props include at least two prop types. The display module 2201 is also used to display the interaction information corresponding to the batch interactive prop of the triggered prop type in the associated area of the virtual object when the batch interactive prop of any prop type is triggered. The interaction information is the interaction state corresponding to the prop type of the batch interactive prop.
[0228] In one possible implementation, the batch interaction prop includes a batch planting interaction prop. The display module 2201 is also used to display at least one virtual seed owned by the virtual object when the batch planting interaction prop is triggered. The virtual seed is used for planting in the virtual land. Display module 2201 is used to display the planting results of the selected virtual seed in a reference plot when at least one virtual seed is selected.
[0229] In one possible implementation, the display module 2201 is further configured to display virtual seed purchase information when the number of plots used for planting virtual seeds is less than the number of reference plots. The purchase information is used to purchase virtual seeds. Display module 2201 is used to display at least one virtual seed owned by a virtual object when a virtual seed is purchased based on purchase information. The at least one virtual seed is a virtual seed obtained after updating the virtual seeds owned by the virtual object based on the purchase information.
[0230] In one possible implementation, the display module 2201 is further configured to display recommended planting information in the reference plot. The recommended planting information is used to recommend virtual seeds to be planted for the reference plot. The recommended planting information is determined based on the basic attributes of the reference plot. The basic attributes include at least one of the following: temperature, height, soil moisture content, or soil fertility content of the virtual scene in which the reference plot is located. Display module 2201 is used to display the planting results of the virtual seeds to be planted in the reference plot in response to the confirmation operation of the recommended planting information.
[0231] In one possible implementation, the batch interaction props include batch growth acceleration props, and the display module 2201 is also used to display virtual crops in a first planting state and a first duration in a first plot of at least two plots, the first plot including a reference plot, and the first duration representing the time required for the virtual crops in the first planting state to reach maturity. Display module 2201 is used to display the batch acceleration result in the reference plot of the first plot when the batch growth acceleration item is triggered. The batch acceleration result includes the virtual crops in the second planting state and the second duration. The second planting state is the state after the growth speed of the virtual crops in the first planting state is increased based on the batch growth acceleration item. The second duration is determined based on the acceleration duration corresponding to the batch growth acceleration item and the first duration.
[0232] In one possible implementation, the batch interaction prop includes a batch harvest interaction prop, and the display module 2201 is also used to display virtual crops in a mature state in a second plot of at least two plots. Display module 2201 is used to display the harvest results of virtual crops in the reference plot when the batch harvest interaction prop is triggered.
[0233] In one possible implementation, the batch interaction props include a batch erasure interaction prop. The display module 2201 is further configured to display a marking control when the plot where the virtual object is located is in an erasureable state. The marking control is used to mark the plots in the virtual land. In response to the triggering operation of the marking control, a third plot in the marked state is displayed. The third plot is the plot where the virtual object is located. If the plot where the virtual object is located changes, a fourth plot in the marked state is displayed. The fourth plot is the plot where the virtual object is located after the change in position. The reference plots include the third plot and the fourth plot. Display module 2201 is used to display the removal results of virtual crops in the reference plot when the batch removal interactive prop is triggered.
[0234] In one possible implementation, the batch interaction props include a batch erasure interaction prop. The display module 2201 is further configured to, when there are at least two plots in the virtual land that are marked, display a demarking control, which is used to demark the plots in the virtual land; in response to the triggering operation of the demarking control, display a fifth plot in an unmarked state, which is the plot where the virtual object is located after the demarking control is triggered; and if the plot where the virtual object is located changes, display a sixth plot in an unmarked state, which is the plot where the virtual object is located after the position changes. The determination module 2202 is also used to determine a reference plot based on the plot in the marked state, the fifth plot, and the sixth plot; Display module 2201 is used to display the removal results of virtual crops in the reference plot when the batch removal interactive prop is triggered.
[0235] In one possible implementation, the display module 2201 is also used to display batch interactive controls, which are associated with batch interactive props; Display module 2201 is used to display batch interactive props in response to the trigger operation of batch interactive controls.
[0236] In one possible implementation, the display module 2201 is also used to display a smart shortcut operation control, which is associated with a smart bounding box; The device also includes an interaction module (not shown in the figure), which is used to respond to the trigger operation of the smart shortcut operation control and perform interactive operations on the target plot in the virtual land based on the recommended interactive props. The target plot is the plot in the virtual land that intersects with the smart bounding box. The recommended interactive props are determined based on at least one of the planting status, relative position or quantity of the target plot. The display module 2201 is also used to display the interaction results of the target plot.
[0237] In one possible implementation, the display module 2201 is further configured to display at least one independent interactive control, which is used to perform an interaction on a plot of land in the virtual land; in response to the triggering operation of the independent interactive control, the interaction result of the plot where the virtual object is located is displayed.
[0238] This application displays batch interaction props when virtual land meets the conditions for batch interaction. These props can directly affect at least two plots, reducing repetitive steps for users to operate on each plot individually and improving interaction efficiency. When batch interaction props are triggered, their 3D bounding boxes can cover virtual land areas at different heights in three-dimensional space, avoiding misjudgments caused by terrain undulations or spatial occlusion in the virtual land. By combining reference information to determine reference plots, the reference plots meet both the interaction range of the batch interaction props and the actual interaction needs of the plots in the virtual land, improving the accuracy of determining reference plots and thus enhancing the accuracy and effectiveness of the interaction process. Visually displaying the interaction results of the batch interaction props in the reference plots enhances the realism and immersion of the interaction process.
[0239] It should be understood that the above-described apparatus is only illustrated by the division of the functional modules described above when implementing its functions. In practical applications, the functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus and method embodiments provided in the above embodiments belong to the same concept, and their specific implementation process can be found in the method embodiments, which will not be repeated here.
[0240] Figure 23 This is a structural block diagram of a terminal device provided in an embodiment of this application. The terminal device 2300 can be any electronic device product capable of human-computer interaction with a user through one or more methods such as a keyboard, touchpad, remote control, voice interaction, or handwriting device. Examples include PCs (Personal Computers), mobile phones, smartphones, PDAs (Personal Digital Assistants), wearable devices, PPCs (Pocket PCs), tablet computers, smart car systems, smart TVs, and smartwatches.
[0241] Typically, terminal device 2300 includes a processor 2301 and a memory 2302.
[0242] Processor 2301 may include one or more processing cores, such as a quad-core processor, an octa-core processor, etc. Processor 2301 may be implemented using at least one hardware form selected from DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). Processor 2301 may also include a main processor and a coprocessor. The main processor, also known as a CPU (Central Processing Unit), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, processor 2301 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the screen. In some embodiments, processor 2301 may also include an AI (Artificial Intelligence) processor, which is used to handle computational operations related to machine learning.
[0243] The memory 2302 may include one or more computer-readable storage media, which may be non-transitory. The memory 2302 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In some embodiments, the non-transitory computer-readable storage media in the memory 2302 are used to store at least one instruction, which is executed by the processor 2301 to implement the information interaction method provided in the method embodiments of this application.
[0244] In some embodiments, the terminal device 2300 may also optionally include: a peripheral device interface 2303 and at least one peripheral device. The processor 2301, memory 2302, and peripheral device interface 2303 can be connected via a bus or signal line. Each peripheral device can be connected to the peripheral device interface 2303 via a bus, signal line, or circuit board. Specifically, the peripheral device includes at least one of: a radio frequency circuit 2304, a display screen 2305, a camera assembly 2306, an audio circuit 2307, and a power supply 2308.
[0245] Peripheral device interface 2303 can be used to connect at least one I / O (Input / Output) related peripheral device to processor 2301 and memory 2302. In some embodiments, processor 2301, memory 2302 and peripheral device interface 2303 are integrated on the same chip or circuit board; in some other embodiments, any one or two of processor 2301, memory 2302 and peripheral device interface 2303 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.
[0246] The radio frequency (RF) circuit 2304 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The RF circuit 2304 communicates with communication networks and other communication devices via electromagnetic signals. The RF circuit 2304 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals back into electrical signals. Optionally, the RF circuit 2304 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, etc. The RF circuit 2304 can communicate with other terminal devices through at least one wireless communication protocol. This wireless communication protocol includes, but is not limited to: the World Wide Web, metropolitan area networks, intranets, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and / or WiFi (Wireless Fidelity) networks. In some embodiments, the RF circuit 2304 may also include circuitry related to NFC (Near Field Communication), which is not limited in this application.
[0247] Display screen 2305 is used to display a UI (User Interface). This UI may include graphics, text, icons, videos, and any combination thereof. When display screen 2305 is a touch display screen, it also has the ability to collect touch signals on or above its surface. These touch signals can be input as control signals to processor 2301 for processing. In this case, display screen 2305 can also be 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 display screen 2305, disposed on the front panel of terminal device 2300; in other embodiments, there may be at least two display screens 2305, disposed on different surfaces of terminal device 2300 or in a folded design; in still other embodiments, display screen 2305 may be a flexible display screen, disposed on a curved or folded surface of terminal device 2300. Furthermore, display screen 2305 may also be configured as a non-rectangular, irregular shape, i.e., a non-rectangular screen. The display screen 2305 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).
[0248] The camera assembly 2306 is used to acquire images or videos. Optionally, the camera assembly 2306 includes a front-facing camera and a rear-facing camera. Typically, the front-facing camera is located on the front panel of the terminal device 2300, and the rear-facing camera is located on the back of the terminal device 2300. In some embodiments, there are at least two rear-facing cameras, which are any one of a main camera, a depth-sensing camera, a wide-angle camera, and a telephoto camera, to achieve background blurring by fusion of the main camera and the depth-sensing camera, panoramic shooting by fusion of the main camera and the wide-angle camera, VR (Virtual Reality) shooting, or other fusion shooting functions. In some embodiments, the camera assembly 2306 may also include a flash. The flash can be a single-color temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cool light flash, which can be used for light compensation at different color temperatures.
[0249] The audio circuit 2307 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, converting them into electrical signals that are input to the processor 2301 for processing, or to the radio frequency circuit 2304 for voice communication. For stereo sound acquisition or noise reduction purposes, multiple microphones may be used, each located at a different part of the terminal device 2300. The microphone may also be an array microphone or an omnidirectional microphone. The speaker is used to convert electrical signals from the processor 2301 or the radio frequency circuit 2304 into sound waves. The speaker may be a traditional diaphragm speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can convert electrical signals not only into audible sound waves but also into inaudible sound waves for purposes such as distance measurement. In some embodiments, the audio circuit 2307 may also include a headphone jack.
[0250] Power supply 2308 is used to supply power to the various components in terminal device 2300. Power supply 2308 can be AC power, DC power, a disposable battery, or a rechargeable battery. When power supply 2308 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery that is charged via a wired line, and a wireless rechargeable battery is a battery that is charged via a wireless coil. The rechargeable battery can also be used to support fast charging technology.
[0251] In some embodiments, the terminal device 2300 further includes one or more sensors 2310. The one or more sensors 2310 include, but are not limited to: an acceleration sensor 2311, a gyroscope sensor 2312, a pressure sensor 2313, an optical sensor 2314, and a proximity sensor 2315.
[0252] Accelerometer 2311 can detect the magnitude of acceleration along the three coordinate axes of a coordinate system established by terminal device 2300. For example, accelerometer 2311 can be used to detect the components of gravitational acceleration along the three coordinate axes. Processor 2301 can control display screen 2305 to display the user interface in either a landscape or portrait view based on the gravitational acceleration signal acquired by accelerometer 2311. Accelerometer 2311 can also be used for games or for acquiring user motion data.
[0253] The gyroscope sensor 2312 can detect the orientation and rotation angle of the terminal device 2300. The gyroscope sensor 2312 can work in conjunction with the accelerometer sensor 2311 to collect 3D motion data from the user on the terminal device 2300. Based on the data collected by the gyroscope sensor 2312, the processor 2301 can perform the following functions: motion sensing (e.g., changing the UI based on the user's tilt), image stabilization during shooting, game control, and inertial navigation.
[0254] The pressure sensor 2313 can be disposed on the side bezel of the terminal device 2300 and / or on the lower layer of the display screen 2305. When the pressure sensor 2313 is disposed on the side bezel of the terminal device 2300, it can detect the user's grip signal on the terminal device 2300, and the processor 2301 can perform left / right hand recognition or quick operation based on the grip signal collected by the pressure sensor 2313. When the pressure sensor 2313 is disposed on the lower layer of the display screen 2305, the processor 2301 can control the operable controls on the UI interface based on the user's pressure operation on the display screen 2305. The operable controls include at least one of button controls, scroll bar controls, icon controls, and menu controls.
[0255] Optical sensor 2314 is used to collect ambient light intensity. In one embodiment, processor 2301 can control the display brightness of display screen 2305 based on the ambient light intensity collected by optical sensor 2314. Specifically, when the ambient light intensity is high, the display brightness of display screen 2305 is increased; when the ambient light intensity is low, the display brightness of display screen 2305 is decreased. In another embodiment, processor 2301 can also dynamically adjust the shooting parameters of camera assembly 2306 based on the ambient light intensity collected by optical sensor 2314.
[0256] The proximity sensor 2315, also known as a distance sensor, is typically located on the front panel of the terminal device 2300. The proximity sensor 2315 is used to detect the distance between the user and the front of the terminal device 2300. In one embodiment, when the proximity sensor 2315 detects that the distance between the user and the front of the terminal device 2300 is gradually decreasing, the processor 2301 controls the display screen 2305 to switch from a screen-on state to a screen-off state; when the proximity sensor 2315 detects that the distance between the user and the front of the terminal device 2300 is gradually increasing, the processor 2301 controls the display screen 2305 to switch from a screen-off state to a screen-on state.
[0257] Those skilled in the art will understand that Figure 23 The structure shown does not constitute a limitation on the terminal device 2300, and may include more or fewer components than shown, or combine certain components, or use different component arrangements.
[0258] Figure 24This is a schematic diagram of the server structure provided in the embodiments of this application. The server 2400 can vary considerably due to different configurations or performance. It may include one or more processors 2401 and one or more memories 2402, wherein the one or more memories 2402 store at least one piece of program code, which is loaded and executed by the one or more processors 2401 to implement the information interaction methods provided in the above-described method embodiments. Of course, the server 2400 may also have wired or wireless network interfaces, keyboards, and input / output interfaces for input and output. The server 2400 may also include other components for implementing device functions, which will not be elaborated here.
[0259] In an exemplary embodiment, a computer-readable storage medium is also provided, which stores at least one piece of program code, which is loaded and executed by a processor to enable a computer to implement any of the above-described information interaction methods.
[0260] Optionally, the aforementioned computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a compact disc read-only memory (CD-ROM), magnetic tape, floppy disk, and optical data storage device, etc.
[0261] In an exemplary embodiment, a computer program or computer program product is also provided, which stores at least one computer instruction, which is loaded and executed by a processor to enable the computer to implement any of the above-described information interaction methods.
[0262] It should be noted that all information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.), and signals involved in this application have been authorized by the user or fully authorized by all parties, and the collection, use, and processing of related data must comply with the relevant laws, regulations, and standards of the relevant countries and regions. For example, the batch interaction conditions, batch interaction props, stereoscopic bounding boxes, reference information, and interaction results involved in this application were all obtained with full authorization.
[0263] It should be understood that "multiple" as used in this article refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.
[0264] The above description is merely an exemplary embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the principles of this application should be included within the protection scope of this application.
Claims
1. An information exchange method, characterized in that, The method includes: When the virtual land of a virtual object meets the conditions for batch interaction, batch interaction props are displayed, and the virtual land has at least two plots. In response to the triggering operation of the batch interactive props, a reference plot is determined among at least two plots of the virtual land based on the bounding box of the batch interactive props and reference information. The bounding box is the three-dimensional range area affected by the batch interactive props. The reference information includes at least one of the parameters of the batch interactive props, the position of the virtual object, or the planting status of each plot of the virtual land. Display the interaction results of the reference plot.
2. The method according to claim 1, characterized in that, The parameters of the batch interactive props include prop level and prop type. Before displaying the interaction results of the reference plot, the following steps are also included: Based on the position of the 3D bounding box corresponding to the item level and the virtual object, a 3D reference area is determined in the virtual land. Among the various plots of the virtual land, the plots that intersect with the three-dimensional reference area are determined to obtain the basic plots; The reference plot is determined from the base plot using the prop type and the planting status of each plot; The reference plot is displayed based on a reference method, which includes distinguishing the reference plot from the remaining plots of the virtual land.
3. The method according to claim 2, characterized in that, The determination of a 3D reference area in the virtual land based on the position of the 3D bounding box corresponding to the item level and the virtual object includes: The position of the virtual object is used as the central axis of the 3D bounding box, and the intersection area of the 3D bounding box and the virtual land is used as the 3D reference area.
4. The method according to claim 2, characterized in that, The determination of reference plots among at least two plots of the virtual land based on the bounding box and reference information of the batch interactive props includes: When the three-dimensional reference area contains at least two plots, the height of each plot in the height direction of the three-dimensional reference area is obtained; The height difference between the plots in the three-dimensional reference area is determined based on the height of each plot. If the height difference between the plots is greater than the height of the 3D bounding box, the height of the 3D bounding box is adjusted based on the height difference between the plots. The reference plot is determined using the height-adjusted 3D bounding box and the reference information.
5. The method according to claim 1, characterized in that, The parameters of the batch interactive props include at least one of prop level or prop type, and the prop level or prop type is used to affect at least one of the shape, cross-sectional size or height of the 3D bounding box.
6. The method according to any one of claims 1 to 5, characterized in that, The method further includes: When the batch of interactive props are triggered, the 3D bounding box corresponding to the batch of interactive props is displayed; In response to an adjustment operation on the stereo enclosure, an adjustment area is displayed, the adjustment area being determined based on the adjustment operation, the adjustment operation being used to adjust at least one of the cross-sectional size or height of the stereo enclosure; The determination of reference plots among at least two plots of the virtual land based on the bounding box and reference information of the batch interactive props includes: The adjusted 3D bounding box is determined based on the 3D bounding box of the batch interactive props and the adjustment area. The reference plot is determined based on the adjusted 3D bounding box and the reference information.
7. The method according to claim 6, characterized in that, The step of determining the adjusted stereoscopic bounding box based on the stereoscopic bounding box of the batch interactive props and the adjusted area includes: When the adjustment operation is used to adjust the cross-sectional size of the bounding box, the overlapping area of the adjusted cross-section and the projection of the virtual land onto the cross-section is determined; The reference height is determined by using the height of the plot corresponding to the projection in the overlapping area; The 3D bounding box and the adjustment area are adjusted based on the reference height to obtain the adjusted 3D bounding box.
8. The method according to claim 6, characterized in that, Before the display adjustment area, it also includes: Obtain the adjustment restrictions corresponding to the batch of interactive props; After the adjustment operation is completed, the adjustment range corresponding to the adjustment operation is verified using the adjustment constraints to obtain the verification result; The display adjustment area includes: If the verification result indicates that the verification has passed, the adjustment area is displayed.
9. The method according to any one of claims 1 to 5, characterized in that, The method further includes: In response to the shape selection operation of the 3D bounding box, at least two candidate bounding boxes with different shapes are displayed; If any candidate bounding box is selected, the selected candidate bounding box is determined as the 3D bounding box.
10. The method according to any one of claims 1 to 5, characterized in that, The batch interactive props include at least two prop types, and the method further includes: When a batch of interactive props of any prop type is triggered, the interactive information corresponding to the batch of interactive props of the triggered prop type is displayed in the associated area of the virtual object. The interactive information is the interactive state corresponding to the prop type of the batch of interactive props.
11. The method according to any one of claims 1 to 5, characterized in that, The batch interaction tools include batch planting interaction tools. Before displaying the interaction results of the reference plot, the following steps are also included: When the batch planting interactive prop is triggered, at least one virtual seed owned by the virtual object is displayed, and the virtual seed is used to plant in the virtual land; The interactive results for displaying the reference land parcel include: When at least one virtual seed is selected, the planting results of the selected virtual seed are displayed in the reference plot.
12. The method according to claim 11, characterized in that, The method further includes: If the number of plots used to plant the virtual seed is less than the number of reference plots, purchase information for the virtual seed is displayed, and the purchase information is used to purchase the virtual seed; The display of at least one virtual seed possessed by the virtual object includes: When a virtual seed is purchased based on the purchase information, at least one virtual seed owned by the virtual object is displayed. The at least one virtual seed is a virtual seed obtained after updating the virtual seeds owned by the virtual object based on the purchase information.
13. The method according to claim 11, characterized in that, After determining the reference plot among at least two plots of the virtual land based on the stereoscopic bounding box and reference information of the batch interactive props, the method further includes: Recommended planting information is displayed in the reference plot. The recommended planting information is used to recommend virtual seeds to be planted in the reference plot. The recommended planting information is determined based on the basic attributes of the reference plot. The basic attributes include at least one of the following: temperature, altitude, soil moisture content, or soil fertilizer content of the virtual scene in which the reference plot is located. The interactive results for displaying the reference land parcel include: In response to the confirmation operation of the recommended planting information, the planting results of the virtual seeds to be planted are displayed in the reference plot.
14. The method according to any one of claims 1 to 5, characterized in that, The batch interaction items include batch growth acceleration items, and the method further includes: In the first plot of the at least two plots, a virtual crop in a first planting state and a first duration are displayed, the first plot including the reference plot, and the first duration represents the time required for the virtual crop in the first planting state to reach maturity. The interactive results for displaying the reference land parcel include: When the batch growth acceleration item is triggered, the batch acceleration result is displayed in the reference plot of the first plot. The batch acceleration result includes the virtual crop in the second planting state and the second duration. The second planting state is the state after the growth rate of the virtual crop in the first planting state is increased based on the batch growth acceleration item. The second duration is determined based on the acceleration duration corresponding to the batch growth acceleration item and the first duration.
15. The method according to any one of claims 1 to 5, characterized in that, The batch interaction items include batch harvesting interaction items, and the method further includes: Display virtual crops in a mature state in the second plot of the at least two plots; The interactive results for displaying the reference land parcel include: When the batch harvesting interactive prop is triggered, the harvest results of the virtual crops in the reference plot are displayed.
16. The method according to any one of claims 1 to 5, characterized in that, The batch interaction props include batch removal interaction props, and the method further includes: When the plot of land where the virtual object is located is in a removable state, a marking control is displayed, which is used to mark the plot of land in the virtual land. In response to the triggering operation of the marker control, a third plot of land in a marked state is displayed, the third plot being the plot where the virtual object is located; If the location of the virtual object changes, a fourth plot of land in a marked state is displayed. The fourth plot of land is the plot where the virtual object is located after the change of location. The reference plots include the third plot and the fourth plot. The interactive results for displaying the reference land parcel include: When the batch removal interactive tool is triggered, the removal results of virtual crops in the reference plot are displayed.
17. The method according to any one of claims 1 to 5, characterized in that, The batch interaction props include batch removal interaction props, and the method further includes: When there are at least two plots of land in the virtual land that are marked, a demarking control is displayed, which is used to demark the plots of land in the virtual land. In response to the triggering operation of the unmarking control, the fifth plot of land, which is in an unmarked state, is displayed. The fifth plot of land is the plot where the virtual object is located after the unmarking control is triggered. If the location of the virtual object changes, the sixth plot, which is in an unmarked state, is displayed. The sixth plot is the plot where the virtual object is located after its location changes. The reference plot is determined based on the plot in the marked state, the fifth plot, and the sixth plot; The interactive results for displaying the reference land parcel include: When the batch removal interactive tool is triggered, the removal results of virtual crops in the reference plot are displayed.
18. The method according to any one of claims 1 to 5, characterized in that, Before displaying the batch interactive props, it also includes: Display batch interaction controls, which are associated with batch interaction props; The batch interactive display tools include: In response to the triggering operation of the batch interaction control, the batch interaction props are displayed.
19. The method according to any one of claims 1 to 5, characterized in that, The method further includes: Display intelligent quick operation controls, which are associated with an intelligent bounding box; In response to the triggering operation of the intelligent quick operation control, an interactive operation is performed on the target plot in the virtual land based on the recommended interactive props. The target plot is the plot in the virtual land that intersects with the intelligent bounding box. The recommended interactive props are determined based on at least one of the planting status, relative position, or quantity of the target plot. Display the interaction results of the target plot.
20. The method according to any one of claims 1 to 5, characterized in that, The method further includes: Display at least one independent interactive control, the independent interactive control being used to perform an interaction on a plot of land in the virtual land; In response to the triggering operation of the independent interactive control, the interaction result of the plot where the virtual object is located is displayed.
21. An information interaction device, characterized in that, The device includes: The display module is used to display batch interaction props when the virtual land of the virtual object meets the batch interaction conditions, wherein the virtual land has at least two plots; A determination module is configured to respond to the triggering operation of the batch interactive props, and determine a reference plot among at least two plots of the virtual land based on the three-dimensional bounding box of the batch interactive props and reference information. The three-dimensional bounding box is the three-dimensional range area affected by the batch interactive props, and the reference information includes at least one of the parameters of the batch interactive props, the position of the virtual object, or the planting status of each plot of the virtual land. The display module is also used to display the interaction results of the reference land parcel.
22. A computer device, characterized in that, The computer device includes a processor and a memory, the memory storing at least one piece of program code, the at least one piece of program code being loaded and executed by the processor to enable the computer device to implement the information interaction method as described in any one of claims 1 to 20.
23. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores at least one piece of program code, which is loaded and executed by a processor to enable the computer to implement the information interaction method as described in any one of claims 1 to 20.
24. A computer program product, characterized in that, The computer program product stores at least one computer instruction, which is loaded and executed by a processor to enable the computer to implement the information interaction method as described in any one of claims 1 to 20.
