Grid space management method, storage medium and electronic device
By displaying space adjustment props in virtual games and responding to expansion or splitting requests, the grid space is expanded or split, which solves the problem of low flexibility in grid space management and realizes flexible grid space management.
Patent Information
- Application Number
- CN202210074881.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-21
- Publication Date
- 2025-08-12
- Estimated Expiration
- 2042-01-21
AI Technical Summary
The management flexibility of grid space in virtual games is low, resulting in a fixed and single management method, which cannot meet the increasing gaming experience of users.
A grid space management method is provided, by displaying space adjustment props and performing corresponding processing on the target grid space when receiving expansion or split requests, realizing expansion or splitting, and obtaining the expanded target grid space or at least two storage subspaces.
It realizes flexible management of grid space, improves management flexibility, and meets users' diverse storage needs.
Smart Images

Figure CN114416371B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computers, and in particular to a grid space management method, storage medium, and electronic device. Background Art
[0002] In virtual games, virtual props are processed into grids and stored in grid spaces. However, the amount of grid space occupied by each type of virtual prop varies, making grid space management more difficult. Consequently, related technologies often use fixed and single methods for managing grid space, which is inflexible and unable to meet the growing demands of users for gaming experiences. Consequently, grid space management suffers from a lack of flexibility.
[0003] To address the above-mentioned problems, no effective solutions have been proposed so far. Summary of the Invention
[0004] The embodiments of the present application provide a grid space management method, a storage medium, and an electronic device to at least solve the technical problem of low grid space management flexibility.
[0005] According to one aspect of an embodiment of the present application, a grid space management method is provided, comprising: displaying a space adjustment item and a target grid space for storing virtual items, wherein the target grid space comprises a plurality of storage grids, the storage capacity of the target grid space being a first storage capacity, and the storage capacity being used to represent the number of storage grids in the target grid space that are allowed to be occupied by the virtual items; upon obtaining a space expansion request triggered by the space adjustment item, expanding the target grid space to obtain an expanded target grid space, wherein the second storage capacity of the expanded target grid space is greater than the first storage capacity; and upon obtaining a space splitting request triggered by the space adjustment item, splitting the target grid space to obtain at least two storage subspaces.
[0006] According to another aspect of an embodiment of the present application, a grid space management device is also provided, including: a first display unit, used to display space adjustment props and a target grid space for storing virtual props, wherein the above-mentioned target grid space includes multiple storage grids, and the storage capacity of the above-mentioned target grid space is a first storage capacity, and the above-mentioned storage capacity is used to represent the number of the above-mentioned storage grids in the above-mentioned target grid space that are allowed to be occupied by the above-mentioned virtual props; a first processing unit, used to expand the above-mentioned target grid space when a space expansion request triggered by the above-mentioned space adjustment prop is obtained, so as to obtain the expanded target grid space, wherein the second storage capacity of the above-mentioned expanded target grid space is greater than the above-mentioned first storage capacity; a second processing unit, used to split the above-mentioned target grid space when a space splitting request triggered by the above-mentioned space adjustment prop is obtained, so as to obtain at least two storage subspaces.
[0007] As an optional solution, it includes: a second display unit, used to display at least two space identifiers after the above-mentioned target grid space is split and at least two storage subspaces are obtained, wherein the space identifiers in the above-mentioned at least two space identifiers respectively correspond to the storage subspaces in the above-mentioned at least two storage subspaces; a third display unit, used to display the above-mentioned first storage space when the first selection operation triggered by the above-mentioned first space identifier is obtained after the above-mentioned target grid space is split and at least two storage subspaces are obtained; a fourth display unit, used to display the storage subspaces corresponding to the above-mentioned at least two space identifiers when the selection operation triggered by the target space identifier in the above-mentioned at least two space identifiers is obtained after the above-mentioned target grid space is split and at least two storage subspaces are obtained.
[0008] As an optional solution, the above-mentioned second processing unit includes: a first processing module, used to split the above-mentioned expanded target grid space to obtain the first storage space and the second storage space, wherein the above-mentioned at least two storage subspaces include the above-mentioned first storage space and the above-mentioned second storage space, the storage capacity of the above-mentioned first storage space is equal to the above-mentioned first storage capacity, and the storage capacity of the above-mentioned second storage space is equal to the capacity difference between the above-mentioned first storage capacity and the above-mentioned second storage capacity; or, a second processing module, used to split the above-mentioned expanded target grid space to obtain the above-mentioned at least two storage subspaces, wherein the sum of the storage capacities of the above-mentioned at least two storage subspaces is equal to the above-mentioned second storage capacity.
[0009] As an optional solution, the first processing unit includes: an adding module, configured to increase the number of the storage grids included in the target grid space.
[0010] As an optional solution, the first processing unit includes: an improvement module, which is used to improve the storage level of the target storage grid when the target storage grid included in the target grid space is selected and the space expansion request is obtained, wherein the storage level is positively correlated with the amount of space allowed to be occupied by the virtual props in the target storage grid.
[0011] As an optional solution, the above-mentioned device further includes: a first acquisition unit, used to obtain a space organization request triggered on the above-mentioned target grid space, wherein the above-mentioned space organization request is used to request adjustment of the storage positions of the N virtual props stored in the above-mentioned target grid space in the above-mentioned target grid space, wherein N is a natural number; a first adjustment unit, used to respond to the above-mentioned space organization request and adjust the storage positions of the above-mentioned N virtual props in the above-mentioned target grid space according to the prop information corresponding to each of the above-mentioned N virtual props.
[0012] As an optional solution, the first adjustment unit includes: an acquisition module for acquiring a prop priority corresponding to each of the N virtual props; and a determination module for determining a storage sorting position of each of the N virtual props in the target grid space based on the prop priority.
[0013] As an optional solution, the above-mentioned device further includes: a second acquisition unit, used to obtain a filtering display request triggered on the above-mentioned target grid space, wherein the above-mentioned filtering display request is used to request the display of K virtual props stored in the above-mentioned target grid space and meeting the filtering conditions, where K is a natural number; and a fifth display unit, used to respond to the above-mentioned filtering display request and display a prop view corresponding to each of the above-mentioned K virtual props.
[0014] As an optional solution, the apparatus further includes: a third acquisition unit, configured to acquire a target selection operation performed on the Q virtual props stored in the target grid space, where Q is a natural number; a sixth display unit, configured to display target prompt information when the number of virtual props belonging to the target prop type among the Q virtual props reaches a target threshold, wherein the target prompt information is configured to prompt the selection of all virtual props belonging to the target prop type stored in the target grid space; and a selection unit, configured to select all virtual props belonging to the target prop type stored in the target grid space in response to a target selection request triggered by the target prompt information.
[0015] As an optional solution, the above-mentioned device also includes: a seventh display unit, which is used to display the above-mentioned at least two storage subspaces and send the above-mentioned space splitting request to the second server when the above-mentioned space expansion request is obtained; a second adjustment unit, which is used to adjust the above-mentioned at least two storage subspaces according to the above-mentioned second target space information when the above-mentioned space expansion request is obtained and the second target space information returned by the above-mentioned second server is received, and the above-mentioned second target space information is different from the space information of the above-mentioned at least two storage subspaces.
[0016] As an optional solution, the above-mentioned device also includes: an eighth display unit, which is used to display the above-mentioned first storage space and the above-mentioned second storage space when the above-mentioned space splitting request is obtained, and send the above-mentioned space splitting request to the second server; a third adjustment unit, which is used to adjust the above-mentioned first storage space and the above-mentioned second storage space according to the above-mentioned second target space information when the above-mentioned space splitting request is obtained and the second target space information returned by the above-mentioned second server is received, and the above-mentioned second target space information is different from the space information of the above-mentioned first storage space and the above-mentioned second storage space.
[0017] As an optional solution, the above-mentioned device further includes: a fourth acquisition unit, used to obtain difference data corresponding to any operation or request associated with the above-mentioned target grid space when the above-mentioned operation or request is obtained, wherein the above-mentioned difference data is used to represent the difference between the response result of the above-mentioned any operation or request and the original data, and the above-mentioned any operation or request includes the above-mentioned space expansion request and the above-mentioned space splitting request; an integration unit, used to integrate the above-mentioned difference data and the above-mentioned original data to obtain the above-mentioned response result.
[0018] According to another aspect of the embodiments of the present application, a computer program product or computer program is provided, comprising computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the above-described grid space management method.
[0019] According to another aspect of an embodiment of the present application, an electronic device is also provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the grid space management method through the computer program.
[0020] In an embodiment of the present application, a space adjustment prop and a target grid space for storing virtual props are displayed, wherein the target grid space includes multiple storage grids, and the storage capacity of the target grid space is a first storage capacity, which is used to represent the number of the storage grids in the target grid space that are allowed to be occupied by the virtual props; when a space expansion request triggered by the space adjustment prop is obtained, the target grid space is expanded to obtain the expanded target grid space, wherein the second storage capacity of the expanded target grid space is greater than the first storage capacity; when a space splitting request triggered by the space adjustment prop is obtained, the target grid space is split to obtain at least two storage subspaces, and the multiple types of requests triggered by the control adjustment prop are used to provide diversified management methods for the management of the grid space, thereby achieving the purpose of flexible management of the grid space, thereby achieving the technical effect of improving the management flexibility of the grid space, and thus solving the technical problem of low management flexibility of the grid space. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0022] Figure 1 is a schematic diagram of an application environment of an optional grid space management method according to an embodiment of the present application;
[0023] Figure 2 is a schematic diagram of a process of an optional grid space management method according to an embodiment of the present application;
[0024] Figure 3 is a schematic diagram of an optional grid space management method according to an embodiment of the present application;
[0025] Figure 4 is a schematic diagram of another optional grid space management method according to an embodiment of the present application;
[0026] Figure 5 is a schematic diagram of another optional grid space management method according to an embodiment of the present application;
[0027] Figure 6 is a schematic diagram of another optional grid space management method according to an embodiment of the present application;
[0028] Figure 7 is a schematic diagram of another optional grid space management method according to an embodiment of the present application;
[0029] Figure 8 is a schematic diagram of another optional grid space management method according to an embodiment of the present application;
[0030] Figure 9 is a schematic diagram of another optional grid space management method according to an embodiment of the present application;
[0031] Figure 10 is a schematic diagram of another optional grid space management method according to an embodiment of the present application;
[0032] Figure 11 is a schematic diagram of another optional grid space management method according to an embodiment of the present application;
[0033] Figure 12 is a schematic diagram of another optional grid space management method according to an embodiment of the present application;
[0034] Figure 13 is a schematic diagram of another optional grid space management method according to an embodiment of the present application;
[0035] Figure 14 is a schematic diagram of an optional grid space management device according to an embodiment of the present application;
[0036] Figure 15 It is a schematic structural diagram of an optional electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0037] In order to enable those skilled in the art to better understand the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this application.
[0038] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0039] For easier understanding, the following terms are explained:
[0040] Mobile terminal: generally refers to the mobile phone terminal, including but not limited to all handheld portable gaming devices.
[0041] Virtual props: refers to all kinds of props in the game
[0042] Gridding: The size of virtual props is represented by the number of grids occupied. The capacity of the container storing virtual props is also represented by grids. In other words, grids are used to simulate the spatial sense of virtual props.
[0043] According to one aspect of the embodiments of the present application, a grid space management method is provided. Optionally, as an optional implementation, the grid space management method can be applied to, but is not limited to, Figure 1 In the environment shown, it may include, but is not limited to, a user device 102, a network 110, and a server 112. The user device 102 may include, but is not limited to, a display 108, a processor 106, and a memory 104.
[0044] The specific process can be as follows:
[0045] Step S102: The user device 102 obtains a space expansion request triggered by the space adjustment tool 1024, wherein the space expansion request is used to request expansion of the target grid space 1022;
[0046] Steps S104-S106: User device 102 sends a space expansion request to server 112 via network 110;
[0047] In step S108, the server 112 searches the database 114 for the current stored data of the target grid space 1022, and processes the current spatial data through the processing engine 116, thereby generating a response result of the spatial expansion request. The response result may be used, but is not limited to, to indicate the spatial data of the target grid space 1022 after expansion.
[0048] In steps S110 - S114 , the server 112 sends the response result to the user device 102 via the network 110 . The processor 106 in the user device 102 displays the expanded target grid space 1022 on the display 108 according to the response result, and stores the spatial data of the expanded target grid space 1022 in the memory 104 .
[0049] remove Figure 1In addition to the examples shown, the above steps can be independently completed by user device 102, that is, user device 102 performs steps such as processing spatial data and generating a response result to the spatial expansion request, thereby reducing the processing pressure on the server. User device 102 includes but is not limited to handheld devices (such as mobile phones), laptops, desktop computers, and in-vehicle devices. This application does not limit the specific implementation of user device 102.
[0050] Alternatively, as an optional implementation, Figure 2 As shown, the grid space management method includes:
[0051] S202, displaying a space adjustment prop and a target grid space for storing virtual props, wherein the target grid space includes a plurality of storage grids, and the storage capacity of the target grid space is a first storage capacity, which represents the number of storage grids in the target grid space that are allowed to be occupied by virtual props;
[0052] S204, when a space expansion request triggered by the space adjustment item is obtained, expanding the target grid space to obtain an expanded target grid space, wherein the second storage capacity of the expanded target grid space is greater than the first storage capacity;
[0053] S206 , when a space splitting request triggered by the space adjustment prop is obtained, the target grid space is split to obtain at least two storage subspaces.
[0054] Optionally, in this embodiment, the above-mentioned grid space management method can be applied, but is not limited to, to scenarios in which grid technology is used to store virtual props in mobile games; for example, a space storage interface of the virtual game is displayed on the mobile client, and the space storage interface also displays a target grid space for space adjustment props and storage of virtual props; and then, when a space expansion request or space splitting request triggered by the space adjustment props is obtained on the mobile client, the space expansion request or space splitting request is responded to and the target grid space is adjusted accordingly;
[0055] It should be noted that the operational characteristics of mobile games differ fundamentally from those of PC games. For example, when using grid technology to store virtual props in PC games, due to the ample screen space, a large amount of storage space can be displayed on the same screen (usually up to 10 columns x 13 rows), and the number of grids for storing virtual props is also very large (usually up to 10 columns x 66 rows). In addition, because PCs also provide precise and efficient operation through the interaction of a mouse and keyboard, PC users can further expand the grid space by first storing virtual props in smaller containers and then placing the containers into the grid space.
[0056] However, mobile games do not have the operational characteristics of the aforementioned PC games. For example, the screen space on mobile devices is usually not as large as that on computer screens, and thus more storage space cannot be displayed on the same screen. This results in mobile games requiring more storage grids when facing the same storage space as PC games. However, blindly increasing the amount of storage grids for mobile games will usually affect the storage status of gridded virtual props. For this reason, relevant technologies are relatively conservative in managing spatial grids for mobile games. In addition, the screen space of mobile games is relatively small, and there is usually no mouse to provide precise operations. Therefore, if the aforementioned PC game expansion method for grid space is adopted, the first problem faced is the inconvenience of moving virtual props within the grid space caused by more storage grids. Secondly, the mobile terminal is limited by a smaller screen space and lacks mouse coordination, resulting in low operational efficiency.
[0057] Optionally, in this embodiment, space adjustment props can be, but are not limited to, distinguished from virtual props, or the storage method of space adjustment props can be, but are not limited to, not gridded, thereby reducing the storage pressure of the target grid space; in addition, the storage method of space adjustment props can be, but are not limited to, setting up a separate storage space, and the storage space is set with a space capacity upper limit; furthermore, space adjustment props can also be, but are not limited to, understood as consumable props. For example, when a space expansion request triggered by a space adjustment prop is obtained, the space adjustment prop can be, but is not limited to, set to consumption completion, and the display of the space adjustment prop in the above-mentioned separate storage space can be cancelled.
[0058] Optionally, in this embodiment, the target grid space may be, but is not limited to, composed of multiple storage grids of the same or different sizes, and in the process of using the target grid space to store virtual props, the virtual props may be, but is not limited to, first gridded, and the gridding processing result may be, but is not limited to, related to the prop type of the virtual props. For example, virtual prop A will be processed into a 3×3 grid, and virtual prop B will be processed into a 1×1 grid. Then, when using the target grid space to store virtual props A and virtual props B, virtual prop A will occupy a 3×3 storage grid in the target grid space, and virtual prop B will occupy a 1×1 storage grid in the target grid space.
[0059] Optionally, in this embodiment, the space adjustment prop may be, but is not limited to, configured to allow triggering of multiple types of space adjustment requests, wherein the multiple types of space adjustment requests include at least a space expansion request and a space splitting request;
[0060] Further examples illustrate the situation where space adjustment props are allowed to trigger space expansion requests or space split requests, such as Figure 3As shown, the display space adjustment props 304 and the target grid space 302 for storing virtual props (such as virtual shooting props, virtual throwing props, etc.) are displayed. Figure 3 As shown in (a) in FIG; further as Figure 3 As shown in (b), in response to the selection operation triggered on the space adjustment prop 304, a prompt message 306 is displayed, wherein the prompt message 306 is used to prompt that the selected space adjustment prop 304 is allowed to trigger a space expansion request or a space splitting request, and two virtual buttons are also displayed on the prompt message 306, and the two virtual buttons are respectively used to further trigger a space expansion request or a space splitting request.
[0061] Optionally, in this embodiment, the two storage subspaces may be, but are not limited to, grid subspaces of the target grid space, and the number of storage subspaces obtained by splitting the target grid space is not limited (at least two). Further, when a space splitting request triggered by a space adjustment prop is obtained, the target grid space is split to obtain, but is not limited to, multiple grid (storage) subspaces of the target grid space.
[0062] Optionally, in this embodiment, when a space adjustment prop has already triggered a space adjustment request (space expansion request or space splitting request), it can also trigger another space adjustment request (space expansion request or space splitting request) to replace the previous space adjustment request; for example, first responding to the space expansion request triggered by the space adjustment prop to obtain the expanded target grid space; then responding to the space splitting request triggered by the space adjustment prop to cancel the expansion of the target grid space, and then obtaining the first storage space and the second storage space;
[0063] Conversely, in response to the space splitting request triggered by the space adjustment prop, the first storage space and the second storage space are obtained; then in response to the space expansion request triggered by the space adjustment prop, the splitting of the target grid space is canceled, and the expanded target grid space is obtained.
[0064] Optionally, in this embodiment, multiple space adjustment props can be used in combination, but are not limited to. For example, in response to a space expansion request triggered by a first space adjustment prop, the target grid space is expanded to obtain an expanded target grid space; and then in response to a space splitting request triggered by a second space adjustment prop, the expanded target grid space is split to obtain multiple storage subspaces.
[0065] Conversely, in response to the space splitting request triggered by the first space adjustment prop, the first storage space and the second storage space are obtained; then in response to the space expansion request triggered by the second space adjustment prop, the expanded first storage space and / or second storage space are obtained.
[0066] Optionally, in this embodiment, the method of expanding the target grid space may have a higher degree of freedom. For example, when a space adjustment prop for the first target storage capacity of the expandable target grid space is obtained, the storage capacity of the target grid space to be expanded when the space adjustment prop is triggered can be flexibly set. For example, when a first target expansion request is obtained to trigger the space adjustment prop, the target grid space is expanded to obtain a target grid space with an expanded second target storage capacity, wherein the second target storage capacity is lower than the above-mentioned first target storage capacity; in addition, it is also possible but not limited to obtaining a space sub-adjustment prop for expanding a third target storage capacity, wherein the sum of the third target storage capacity and the second target storage capacity is equal to the above-mentioned first target storage capacity.
[0067] It should be noted that the display space adjustment props and the target grid space for storing virtual props, wherein the target grid space includes multiple storage grids, the storage capacity of the target grid space is the first storage capacity, and the storage capacity is used to indicate the number of storage grids in the target grid space that are allowed to be occupied by virtual props; when a space expansion request triggered by the space adjustment props is obtained, the target grid space is expanded to obtain the expanded target grid space, wherein the second storage capacity of the expanded target grid space is greater than the first storage capacity; when a space splitting request triggered by the space adjustment props is obtained, the target grid space is split to obtain at least two storage subspaces.
[0068] To further illustrate, the optional Figure 3 As shown, continue as Figure 4 As shown, the display space adjustment props 304 and the target grid space 302 for storing virtual props (such as virtual shooting props, virtual throwing props, etc.) are displayed. Figure 4 As shown in (a); when the space expansion request triggered by the space adjustment prop 304 is obtained, the target grid space 302 is expanded to obtain the expanded target grid space 402, as shown in FIG. Figure 4 As shown in (b), the second storage capacity of the target grid space 404 after expansion is greater than the first storage capacity of the target grid space 302 before expansion; when a space splitting request is received to adjust the props of the space 304, the target grid space 302 is split to obtain the first storage space 404-1 and the second storage space 404-2, as shown in FIG. Figure 4 As shown in (c), the at least two storage subspaces include a first storage space 404-1 and a second storage space 404-2.
[0069] Through the embodiments provided by the present application, a space adjustment prop and a target grid space for storing virtual props are displayed, wherein the target grid space includes multiple storage grids, the storage capacity of the target grid space is a first storage capacity, and the storage capacity is used to represent the number of storage grids in the target grid space that are allowed to be occupied by virtual props; when a space expansion request triggered by the space adjustment prop is obtained, the target grid space is expanded to obtain the expanded target grid space, wherein the second storage capacity of the expanded target grid space is greater than the first storage capacity; when a space splitting request triggered by the space adjustment prop is obtained, the target grid space is split to obtain at least two storage subspaces, and the multiple types of requests triggered by the control adjustment prop are used to provide diversified management methods for the management of the grid space, thereby achieving the purpose of flexible management of the grid space, thereby realizing the technical effect of improving the management flexibility of the grid space.
[0070] As an optional solution, after splitting the target grid space to obtain at least two storage subspaces, the following steps are included:
[0071] S1, displaying at least two space identifiers, wherein the space identifiers in the at least two space identifiers correspond to storage subspaces in the at least two storage subspaces respectively;
[0072] S2: When a selection operation is obtained for a target space identifier among the at least two space identifiers, storage subspaces corresponding to the at least two space identifiers are displayed.
[0073] Optionally, in this embodiment, the method of splitting the target grid space can be but is not limited to custom splitting, such as the number of storage subspaces obtained by custom splitting, the storage capacity of each storage subspace, the storage type of each storage subspace (such as a storage subspace for separately storing medicine-type props, a storage subspace for separately storing weapon-type props, a storage subspace for separately storing ammunition-type props), etc.
[0074] It should be noted that at least two space identifiers are displayed, wherein the space identifiers in the at least two space identifiers correspond to the storage subspaces in the at least two storage subspaces respectively; when a selection operation is triggered on the target space identifier in the at least two space identifiers, the storage subspaces corresponding to the at least two space identifiers are displayed, providing convenient operating conditions for the display of different storage spaces, and thereby improving the management efficiency of the target grid space.
[0075] To further illustrate, the optional Figure 5As shown, the first space identifier "1" corresponding to the first storage space 502, the second space identifier "2" corresponding to the second storage space 504, and the first storage space 502 are displayed. Figure 5 As shown in (a), the at least two storage subspaces include a first storage space 502 and a second storage space 504, and the at least two space identifiers include a first space identifier "1" and a second space identifier "2". Figure 5 As shown in (b) , when a selection operation triggered by the second space identifier “2” is obtained, the second storage space 504 is displayed.
[0076] Through the embodiment provided by the present application, at least two space identifiers are displayed, wherein the space identifiers in the at least two space identifiers correspond to storage subspaces in the at least two storage subspaces respectively; when a selection operation triggered by a target space identifier in the at least two space identifiers is obtained, the storage subspaces corresponding to the at least two space identifiers are displayed, thereby achieving the effect of improving the management efficiency of the target grid space.
[0077] As an optional solution, the target grid space is split to obtain a first storage space and a second storage space, including:
[0078] Splitting the expanded target grid space to obtain a first storage space and a second storage space, wherein the at least two storage subspaces include the first storage space and the second storage space, the storage capacity of the first storage space is equal to the first storage capacity, and the storage capacity of the second storage space is equal to the capacity difference between the first storage capacity and the second storage capacity; or,
[0079] The expanded target grid space is split to obtain at least two storage subspaces, wherein the sum of storage capacities of the at least two storage subspaces is equal to the second storage capacity.
[0080] Optionally, in this embodiment, the first storage space or the second storage space can be understood as, but not limited to, another grid space that is different from the target grid space; and then, when a space splitting request triggered by a space adjustment prop is obtained, the target grid space is split, and the target grid space (first storage space) and another grid space (second storage space) can be obtained, but not limited to.
[0081] It should be noted that the target grid space after expansion is split to obtain a first storage space and a second storage space, wherein the first storage space is the target grid space before expansion, and the storage capacity of the second storage space is equal to the capacity difference between the first storage capacity and the second storage capacity.
[0082] To further illustrate, the optional Figure 3The scenario shown, continuing with e.g. Figure 6 As shown, the display space adjustment props 304 and the target grid space 302 for storing virtual props (such as virtual shooting props, virtual throwing props, etc.) are displayed. Figure 6 As shown in (a); when the space expansion request triggered by the space adjustment prop 304 is obtained, the target grid space 302 is expanded to obtain the expanded target grid space 602, as shown in FIG. Figure 6 As shown in (b); further Figure 6 As shown in (c), when a space splitting request triggered by the space 304 adjustment prop is obtained (such as a selection operation is obtained on the virtual button "Split"), the target grid space 602 is split to obtain a first storage space 604 and a second storage space 606, where the first storage space 604 is the target grid space 302 before expansion, and the storage capacity of the second storage space 606 is equal to the capacity difference between the first storage capacity of the target grid space 302 and the second storage capacity of the target grid space 602.
[0083] Through the embodiments provided in the present application, the target grid space after expansion is split to obtain a first storage space and a second storage space, wherein at least two storage subspaces include the first storage space and the second storage space, the storage capacity of the first storage space is equal to the first storage capacity, and the storage capacity of the second storage space is equal to the capacity difference between the first storage capacity and the second storage capacity; or, the target grid space after expansion is split to obtain at least two storage subspaces, wherein the sum of the storage capacities of at least two storage subspaces is equal to the second storage capacity, thereby achieving the purpose of providing more diverse storage methods for the management of the target grid space and realizing the effect of improving the management flexibility of the target grid space.
[0084] As an optional solution, the target grid space is expanded to obtain the expanded target grid space, including:
[0085] Increase the number of storage grids included in the target grid space.
[0086] As an optional solution, when a space expansion request triggered by a space adjustment prop is obtained, the target grid space is expanded to obtain the expanded target grid space, including:
[0087] When a target storage grid included in the target grid space is selected and a space expansion request is obtained, the storage level of the target storage grid is increased, wherein the storage level is positively correlated with the amount of space allowed to be occupied by virtual items in the target storage grid.
[0088] Optionally, in this embodiment, the storage level of the target storage grid can be used, but is not limited to, to represent the storage capacity of the target storage grid, or in other words, the higher the storage level of the target storage grid, the stronger the storage capacity of the target storage grid; for example, the storage level of target storage grid A is 1, and the storage level of target storage grid B is 2. Then, when the storage level of target storage grid A is greater than the storage level of target storage grid B, target storage grid B can be used to store virtual props of a higher level, and compared with the target storage grid B with a higher storage level, target storage grid A is only allowed to store virtual props of a lower level.
[0089] Optionally, in this embodiment, in order to improve the realism of the grid storage method, when the storage level of the target storage grid changes, the display form of the target storage grid in the target grid space may, but is not limited to, also change. For example, the higher the storage level, the larger the display area of the target storage grid; conversely, the lower the storage level, the smaller the display area of the target storage grid; at the same time, in order to ensure the aesthetic appearance of the display of the target storage grid, the positions of the various storage grids in the target storage grid may, but is not limited to, be rearranged when the display area of the target storage grid changes.
[0090] To further illustrate, the optional Figure 7 As shown, when the target storage grid 704 included in the target grid space 702 is selected and a space expansion request is obtained, the storage level of the target storage grid 704 is increased, and the display form of the target storage grid 704 is changed to the display form of the target storage grid 706. At the same time, the various storage grids included in the target grid space 702 are adjusted to obtain an neatly arranged target grid space 702.
[0091] As an optional solution, it also includes:
[0092] S1, obtaining a space arrangement request triggered on a target grid space, wherein the space arrangement request is used to request adjustment of storage locations of N virtual props stored in the target grid space, where N is a natural number;
[0093] S2, responding to the space sorting request, adjusting the storage location of the N virtual props in the target grid space according to the prop information corresponding to each of the N virtual props.
[0094] Optionally, in this embodiment, the item information may be, but is not limited to, information associated with the virtual item that can be used as a reference for sorting, such as item type, item usage, item status, and the like.
[0095] It should be noted that while the target grid space provides users with a high degree of storage flexibility, this high degree of freedom also means that users can easily mess up the storage location of virtual props within the target grid space. This not only creates an aesthetic issue but also makes it difficult for users to find the virtual props they want within the cluttered target grid space, leading to a technical problem of low target grid space utilization. Therefore, this embodiment not only provides an automatic space-wide function, but also automatically organizes all or part of the virtual props within the target grid space when a space organization request is triggered for the target grid space.
[0096] To further illustrate, the optional Figure 8 As shown, multiple virtual props arranged in disorder in the target grid space 802 are displayed, such as Figure 8 As shown in (a) in FIG; further as Figure 8 As shown in (b) , in response to the space sorting request triggered on the target grid space, the virtual props in the target grid space 802 are sorted according to the prop information of the virtual props, thereby obtaining the target grid space 804 where the virtual props are arranged in an orderly manner.
[0097] Furthermore, it should be noted that the particularity of the grid storage method is that the number of storage grids occupied by each virtual item in the target grid space can be, but is not limited to, different. For example, virtual item A will occupy a 3×3 storage grid in the target grid space, while virtual item B will occupy a 1×1 storage grid in the target grid space. Consequently, there are often technical difficulties in automatically adjusting the positions of virtual items A and B in the target grid space, and display errors and other issues may easily occur due to conflicts in the storage grids occupied by virtual items.
[0098] Optionally, in this embodiment, an optional method to overcome the above technical difficulties is provided, such as sorting the number of storage grids occupied by virtual props as prop information, thereby reducing the probability of display errors and other problems caused by conflicts in the storage grids occupied by virtual props.
[0099] Through the embodiments provided by the present application, a space consolidation request triggered on a target grid space is obtained, wherein the space consolidation request is used to request adjustment of the storage positions of N virtual props stored in the target grid space, wherein N is a natural number; in response to the space consolidation request, the storage positions of the N virtual props in the target grid space are adjusted according to the prop information corresponding to each of the N virtual props, thereby achieving the purpose of efficiently managing the virtual props in the target grid space and realizing the effect of improving the management efficiency of the target grid space.
[0100] As an optional solution, according to the prop information corresponding to each of the N virtual props, the storage position of the N virtual props in the target grid space is adjusted, including:
[0101] S1, obtaining the prop priority corresponding to each virtual prop among N virtual props;
[0102] S2: Determine the storage sorting position of each virtual prop in the target grid space according to the prop priority.
[0103] Optionally, in this embodiment, M virtual props corresponding to prop information of first priority are obtained, wherein the N virtual props include M virtual props, and M is a natural number; a first storage position of each of the M virtual props in the target grid space is determined, wherein the M first storage positions constitute a first storage area; P virtual props corresponding to prop information of second priority are obtained, wherein the other virtual props in the N virtual props except the M virtual props include P virtual props, and P is a natural number; a second storage position of each of the P virtual props in the second storage area is determined, wherein the second storage area is a storage area in the target grid space except the first storage area.
[0104] It should be noted that the special feature of the grid storage method is that the number of storage grids occupied by each virtual item in the target grid space can be, but is not limited to, different. For example, virtual item A will occupy a 3×3 storage grid in the target grid space, and virtual item B will occupy a 1×1 storage grid in the target grid space. Consequently, there are often certain technical difficulties in automatically adjusting the positions of virtual items A and B in the target grid space, and it is easy to cause display errors and other problems due to conflicts in the storage grids occupied by virtual items.
[0105] Optionally, in this embodiment, an optional method for overcoming the above technical difficulties is provided. Figure 9 As shown, it is assumed that a first virtual item 904 (which can be understood as multiple virtual items of the first category) and a second virtual item 906 (which can be understood as multiple virtual items of the second category) included in a target grid space 902 are currently to be sorted and arranged; then, the first virtual item 904 and the second virtual item 906 are to be obtained first, and it is determined which of the first virtual item 904 and the second virtual item 906 has a relatively higher priority. Assuming that the sorting priority of the first virtual item 904 is higher than the sorting priority of the second virtual item 906, the first virtual item 904 is sorted and arranged first, and the first virtual item 904 is stored in order in the target grid space 902, thereby obtaining the target grid space 902 in which the first virtual item 904 is effectively arranged;
[0106] On this basis, the remaining available grid space 908 in the target grid space 902 excluding the grid space occupied by the first virtual prop 904 is obtained; and the available grid space 908 is used as the sorting basis for the second virtual prop 906. For example, the second virtual prop 906 is stored in order in the available grid space 908, and the target grid space 902 in which the second virtual prop 906 is effectively arranged is obtained, as well as the remaining available grid space 910 in the target grid space 902 excluding the grid space occupied by the first virtual prop 904 and the grid space occupied by the second virtual prop 906. The available grid space 910 is used for sorting the virtual props of the next sorting priority.
[0107] Through the embodiments provided in the present application, the prop priority corresponding to each of N virtual props is obtained; and the storage sorting position of each of the N virtual props in the target grid space is determined based on the prop priority, thereby achieving the purpose of reducing the probability of display errors and other problems caused by conflicts in the storage grids occupied by virtual props, and realizing the effect of improving the overall efficiency of the target grid space.
[0108] As an optional solution, the method further includes:
[0109] S1, obtaining a filtering display request triggered on a target grid space, wherein the filtering display request is used to request display of K virtual props stored in the target grid space that meet a filtering condition, where K is a natural number;
[0110] S2, responding to the filtering display request, displaying the prop view corresponding to each virtual prop of the K virtual props.
[0111] It should be noted that the virtual props in the target grid space are often of different sizes, and such virtual props of different sizes will cause obvious difficulties for users to find; in this embodiment, the prop view can be but is not limited to a view of the same display area, providing users with a more intuitive display of virtual objects.
[0112] To further illustrate, the optional Figure 10 As shown, the filtering display request triggered by the target grid space 1002 is obtained, such as Figure 10 As shown in (a), the filtering display request is used to request filtering of the virtual objects corresponding to the identifier "3" included in the target grid space 1002; in response to the filtering display request, the prop view corresponding to the virtual object corresponding to the identifier "3" is displayed, such as Figure 10 As shown in (b) in .
[0113] Through the embodiments provided by the present application, a filtering display request triggered on a target grid space is obtained, wherein the filtering display request is used to request the display of K virtual props stored in the target grid space that meet the filtering conditions, where K is a natural number; in response to the filtering display request, the prop view corresponding to each of the K virtual props is displayed, thereby achieving the purpose of providing the user with a more intuitive display object of the virtual object and realizing the effect of improving the intuitiveness of the display of the virtual props in the target grid space.
[0114] As an optional solution, it also includes:
[0115] S1, obtaining a target selection operation performed on Q virtual props stored in a target grid space, where Q is a natural number;
[0116] S2, when the number of virtual props belonging to the target prop type among the Q virtual props reaches a target threshold, displaying target prompt information, wherein the target prompt information is used to prompt the selection of all virtual props belonging to the target prop type stored in the target grid space;
[0117] S3, in response to the target selection request triggered by the target prompt information, all virtual props stored in the target grid space and belonging to the target prop type are selected.
[0118] Optionally, in this embodiment, the target selection operation may be, but is not limited to, a simple selection operation, and may also be, but is not limited to, a comprehensive operation with additional functions, such as a selection and sale operation, wherein the selection and sale operation may be, but is not limited to, an operation for selling the selected virtual props to obtain virtual resources.
[0119] Optionally, in this embodiment, after all virtual props belonging to the target prop type stored in the target grid space are selected, multiple types of prompt information may be displayed, but is not limited to, prompt information for prompting the user of the number of virtual props belonging to the target prop type still stored in the target grid space, prompt information for prompting the user to select more virtual props belonging to the target prop type stored in the above target grid space, etc.
[0120] It should be noted that the virtual props in the target grid space are often of different sizes, and it will be obvious that it is difficult for the user to select such virtual props of different sizes. In this embodiment, when the user selects multiple virtual props of the same prop type, it can be but not limited to automatically helping the user select all virtual props of the same prop type, thereby improving the processing efficiency of virtual props.
[0121] To further illustrate, the optional Figure 11As shown, the target selection operation performed on two virtual props belonging to the target prop type stored in the target grid space 1102 is obtained, such as Figure 11 As shown in (a) in FIG; further as Figure 11 As shown in (b) of FIG, target prompt information 1104 is displayed, wherein the target prompt information 1104 is used to prompt the selection of all virtual props belonging to the target prop type stored in the target grid space 1102; furthermore, in response to the target selection request triggered by the target prompt information 1104, all virtual props belonging to the target prop type stored in the target grid space 1102 are selected, as shown in FIG. Figure 11 As shown in (c) in .
[0122] Through the embodiments provided by the present application, a target selection operation is obtained for Q virtual props stored in a target grid space, where Q is a natural number. When the number of virtual props belonging to the target prop type among the Q virtual props reaches a target threshold, target prompt information is displayed, wherein the target prompt information is used to prompt the selection of all virtual props belonging to the target prop type stored in the target grid space. In response to a target selection request triggered by the target prompt information, all virtual props belonging to the target prop type stored in the target grid space are selected, thereby achieving the purpose of improving the processing efficiency of the virtual props stored in the target grid space and realizing the effect of improving the management efficiency of the target grid space.
[0123] As an optional solution, when a space expansion request is obtained, the method further includes:
[0124] S1, displaying the expanded target grid space and sending a space expansion request to the first server;
[0125] S2: When first target space information returned by the first server is received and the first target space information is different from the space information of the expanded target grid space, adjust the expanded target grid space according to the first target space information.
[0126] Optionally, in this embodiment, displaying the expanded target grid space and sending the space expansion request to the first server can be understood as, but not limited to, pre-displaying the game screen corresponding to the expanded target grid space in the client to reduce display delay on the user side; at the same time, the space expansion request is sent to the first server for the first server to respond and return the most accurate space information to the client; if the space information pre-displayed in the client is consistent with the space information returned by the first server, no processing is required; but if the space information pre-displayed in the client is inconsistent with the space information returned by the first server, the space information pre-displayed in the client needs to be corrected according to the space information returned by the first server.
[0127] As an optional solution, when a space splitting request is obtained, the method further includes:
[0128] S1,S1, displays at least two storage subspaces and sends a space splitting request to the second server;
[0129] S2: When second target space information returned by the second server is received and the second target space information is different from space information of at least two storage subspaces, adjust the at least two storage subspaces according to the second target space information.
[0130] Optionally, in this embodiment, displaying the expanded target grid space and sending the space expansion request to the second server can be understood as, but not limited to, pre-displaying the game screen corresponding to the expanded target grid space in the client to reduce display delay on the user side; at the same time, the space expansion request is sent to the second server for the second server to respond and return the most accurate space information to the client; if the space information pre-displayed in the client is consistent with the space information returned by the second server, no processing is required; but if the space information pre-displayed in the client is inconsistent with the space information returned by the second server, the space information pre-displayed in the client needs to be corrected according to the space information returned by the second server.
[0131] As an optional solution, it also includes:
[0132] S1, when any operation or request associated with the target grid space is obtained, obtaining difference data corresponding to the operation or request, where the difference data represents the difference between the response result of the operation or request and the original data. The operation or request includes a space expansion request and a space split request.
[0133] S2, integrates the difference data and the original data to obtain the response result.
[0134] Optionally, in this embodiment, operations in the target grid space often involve the display of a large number of virtual props. This is especially true when users frequently or in large quantities perform these operations (e.g., adjusting the position of virtual props within the target grid space). A full refresh can result in significant performance spikes. In this embodiment, the client can, but is not limited to, generate corresponding delta values (including prop attributes, position, etc.) based on the operation instructions. Each frame, the client will tally all current incremental updates, merge them, and then update the corresponding performance based on the incremental updates, thereby improving client response efficiency.
[0135] As an optional solution, for ease of illustration, the aforementioned grid space management method is applied to a mobile game scenario that uses grid technology to store virtual props. Specifically, the game's warehouse (target grid space) or item management interface is used to manage storage space and store and manage gridded items.
[0136] It should be noted that the use of grid processing for virtual props in mobile games will bring great inconvenience to common operations such as item storage, sorting, and searching, which requires a special solution. In this embodiment, a customized expansion method is innovatively adopted, automatic organization and automatic sorting, as well as a global list filtering function, to provide an overall solution for grid storage and management of mobile virtual props.
[0137] Optionally, in this embodiment, the item storage and warehouse expansion scheme of the mobile terminal is adapted, and players are supported to independently select the expansion method;
[0138] To further illustrate, the optional expansion method is different from adding containers to the warehouse. This solution introduces a warehouse expansion box. Using the warehouse expansion box, you can choose to increase the space of the main warehouse or split it into a new warehouse to achieve warehouse expansion. For the expansion box that has been used, you can adjust the expansion method through the expansion management interface. Specifically, if the user selects an expansion item from the warehouse and clicks Install, if there is an available slot, it will be automatically installed in the first installable slot. When the installation is successful, it can be displayed but not limited to a feedback screen, such as a corresponding prompt message, a slot highlight flashing for a certain time, etc.; In addition, when all available operations have been installed, a replacement can be prompted; Furthermore, after manually splitting the first sub-warehouse, the interface can display the corresponding tab; After the warehouse is successfully split, the number of sub-warehouse tabs increases by one, and the number of available expansion slots in the main warehouse decreases by one; the sub-warehouse page that has just been split is automatically selected, the tab field is highlighted and flashes, and a pop-up window prompts that the split is successful; Correspondingly, a custom type mark can be displayed when the warehouse page is checked out.
[0139] Specifically, refer to Figure 12 In the expansion management interface 1202 shown, the expansion column of warehouse No. 1 will be reduced according to the number of sub-warehouses that have been split, and the two together constitute the upper limit of the expandable capacity; furthermore, after the merger is completed, the number of sub-warehouse tabs will be reduced by one, and the available expansion slots of warehouse No. 1 will be increased by 1; when the warehouse No. 1 tab is selected, the tab and expansion slot will be highlighted for deletion, the list will be located at the newly added expansion location, and a pop-up window will prompt that the merger is successful.
[0140] Optionally, in this embodiment, the item storage and warehouse expansion scheme of the mobile terminal is adapted, and players are supported to independently select the expansion method;
[0141] To further illustrate, an optional feature, such as providing an automatic sorting switch in the settings interface, is available. Once the player turns on automatic sorting, the virtual items in the warehouse will no longer support manual repositioning. Every time items are added or removed from the warehouse, the system will rationally sort all items according to a predetermined algorithm. Players do not need to perform any operations to arrange items neatly and orderly in the warehouse. When the player turns off automatic sorting, a one-click sorting function button is provided on the warehouse interface. Each click triggers the system to re-sort all items in the warehouse. The sorting algorithm is the same as when the automatic sorting function is turned on, and two options are provided for players to choose from: one is the optimal solution for neat arrangement, and the other is to maximize space utilization. For specific algorithms, please refer to the technical section.
[0142] Optionally, in this embodiment, a more efficient and intuitive filtering function is provided by introducing a list view;
[0143] For example, after clicking a filter, you can switch to list view. List view breaks away from the grid display and selects all items that meet the criteria, arranging them in a list format according to established rules. This makes it easier for players to find specific items and perform operations.
[0144] Optionally, in this embodiment, the selling link can quickly select all similar items to facilitate batch selling operations;
[0145] To further illustrate, after the selling mode is activated, not only can multiple selections be made by clicking, but after clicking on multiple similar items in succession, a dialog box will pop up asking whether all such items are selected, making it convenient for players to perform all operations on specific items in the inventory.
[0146] Optionally, in this embodiment, the above-mentioned grid space management method can be implemented through, but not limited to, a warehouse module. In the design of the warehouse module, the most typical microservice-based grid approach can be adopted, but not limited to. A typical warehouse request processing process is as follows: Figure 13 The specific steps are as follows:
[0147] Step S1302 , the client 1302 requests to operate the warehouse, pre-displays the corresponding response screen, and sends the request to the server 1304 ;
[0148] To support pre-rendering and backtracking after data inconsistencies, the warehouse operation request initiated by client 1302 needs to be encapsulated into an instruction that supports Undo. Any item operation by the client is organized into an instruction structure and assigned a unique gid. The client organizes all instructions for the current frame into a single instruction set and sends it to server 1304 for processing. Simultaneously, client 1302 performs some pre-rendering of the corresponding operation. This means that before server 1304 responds, the results of the item operation are displayed in advance, along with sound effects and animations.
[0149] After receiving the reply from the server 1304, the status of the instruction set will be updated based on the result of the reply. If there is an inconsistent result or data for some reason (such as inconsistent calculation results between the client 1302 and the server 1304), the instruction will be revoked or modified.
[0150] Step S1304, the server 1304 requests to retrieve the player's warehouse information from the database 1306;
[0151] Step S1306, the database 1306 sends the warehouse information to the server 1304;
[0152] Step S1308, server 1304 processes warehouse operations;
[0153] Step S1310 , the server 1304 writes the warehouse changes to the database 1306 ;
[0154] Step S1312, the database 1306 returns a message indicating that the writing is successful;
[0155] Step S1314, server 1304 notifies client 1302 of warehouse change details;
[0156] Step S1316, client 1302 presents the final display;
[0157] Optionally, in this embodiment, because changes in warehouse item locations, container expansion and contraction, and other information require real-time recording and preservation, the server performs database data reads and writes for all warehouse request operations, implementing all warehouse operation logic. Ultimately, warehouse change information is sent to the client for processing via structured warehouse change records. A typical warehouse operation takes approximately 10ms + the client-server latency. In poor client-side network conditions, a simple item move operation could experience a latency of 2s+, necessitating client-side pre-rendering.
[0158] Optionally, in this embodiment, the warehouse expansion and contraction are achieved by loading and unloading expansion items. This is similar to equipping an item to gain additional space, and this design is intuitive for players. In terms of implementation, the basic idea of the server is that expansion items have separate equipment slots, and the installation and removal of equipment items trigger changes in warehouse capacity.
[0159] To further illustrate, the expansion item is equipped -> triggering capacity increase -> warehouse capacity expansion (expansion does not cause sudden changes in equipment positions) -> notifying the client of capacity changes; the expansion item is removed -> triggering capacity reduction -> warehouse capacity reduction operation (items that cannot be placed due to the reduction are moved upwards) -> notifying the client of capacity and item position changes.
[0160] Optionally, in this embodiment, for automatic sorting and one-click sorting, the warehouse sorting function is dominated by the server, because the server needs to strictly verify whether the warehouse can be placed. When the player clicks on automatic sorting, the server will be requested to sort, and the server will synchronize the sorted content to the client for display. In the case of automatic sorting, considering the server performance overhead and sorting effect, it is not that the warehouse will be sorted when there is a change, but the client will sort on the display, and the data level (information such as the location of props saved by the server) will still be retained. When the server thinks that there is no room at the moment (at this time, the client may think that it can be placed because the compact structure after sorting is displayed), the server sorting will be automatically triggered;
[0161] To illustrate further, first sort the props in a certain order. As the props are gradually placed, horizontal lines of inconsistent height will be generated (thick black lines in the figure). Starting from these black lines, we can plan new spaces, such as Figure 2 This becomes the reference for placing the next item. The next item is placed at the topmost, leftmost horizontal line that can accommodate it. After placing it, a new horizontal line is calculated and the process continues. This algorithm is relatively efficient, resulting in a compact sorted result that fully utilizes space. It is the preferred sorting algorithm.
[0162] Optionally, in this embodiment, for process processing, the client repackages the warehouse-related server data and stores it in the warehouse data center. Any user item operations (including equipping, unequipping, swapping, moving, etc.) are cached and then packaged and sent to the server at the end of each frame. Upon receiving the server's response, the data and presentation are incrementally updated based on the results of the operation.
[0163] Optionally, in this embodiment, for performance optimization, warehouse operations often involve the display of a large number of props. This is especially true when users frequently operate or perform large-scale operations (for example, sorting warehouse props). A full refresh can result in significant performance spikes. The client generates corresponding delta values (including prop properties, position, etc.) based on the operation instructions. Each frame, the client counts all current incremental updates, merges them, and then updates the corresponding performance based on the incremental updates. Prop blueprints often have a large number of performance-related sub-controls. These sub-controls are numerous, but many are only displayed if certain conditions are met. If placed directly on the blueprint, creating a prop control will incur significant control creation overhead and layout calculation (prepass) overhead. The client handles these sub-controls based on the principle of lazy loading. A sub-control is actually created only when it is not cached and needs to be displayed, thereby reducing the peak control creation overhead and improving the average frame rate. For the blueprint itself, the client also manages an object pool to reduce the repeated creation and destruction of blueprints.
[0164] It is understandable that in the specific implementation of this application, related data such as user information is involved. When the above embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.
[0165] It should be noted that for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that this application is not limited by the order of the actions described, because according to this application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by this application.
[0166] According to another aspect of the embodiments of the present application, a grid space management device for implementing the above-mentioned grid space management method is also provided. Figure 14 As shown, the device includes:
[0167] A first display unit 1402 is configured to display a space adjustment item and a target grid space for storing virtual items, wherein the target grid space includes a plurality of storage grids, and the storage capacity of the target grid space is a first storage capacity, which represents the number of storage grids in the target grid space that are allowed to be occupied by virtual items.
[0168] The first processing unit 1404 is configured to, upon receiving a space expansion request triggered by a space adjustment item, expand the target grid space to obtain an expanded target grid space, wherein the second storage capacity of the expanded target grid space is greater than the first storage capacity;
[0169] The second processing unit 1406 is configured to split the target grid space into at least two storage subspaces when a space splitting request triggered by the space adjustment prop is obtained.
[0170] Optionally, in this embodiment, the grid space management device can be applied, but is not limited to, to scenarios in which grid technology is used to store virtual props in mobile games. For example, a space storage interface of the virtual game is displayed on the mobile client, and the space storage interface also displays a target grid space for space adjustment props and storage of virtual props. Then, when a space expansion request or space splitting request triggered by the space adjustment props is obtained on the mobile client, the space expansion request or space splitting request is responded to and the target grid space is adjusted accordingly.
[0171] It should be noted that the operational characteristics of mobile games differ fundamentally from those of PC games. For example, when using grid technology to store virtual props in PC games, due to the ample screen space, a large amount of storage space can be displayed on the same screen (usually up to 10 columns x 13 rows), and the number of grids for storing virtual props is also very large (usually up to 10 columns x 66 rows). In addition, because PCs also provide precise and efficient operation through the interaction of a mouse and keyboard, PC users can further expand the grid space by first storing virtual props in smaller containers and then placing the containers into the grid space.
[0172] However, mobile games do not have the operational characteristics of the aforementioned PC games. For example, the screen space on mobile devices is usually not as large as that on computer screens, and thus more storage space cannot be displayed on the same screen. This results in mobile games requiring more storage grids when facing the same storage space as PC games. However, blindly increasing the amount of storage grids for mobile games will usually affect the storage status of gridded virtual props. For this reason, relevant technologies are relatively conservative in managing spatial grids for mobile games. In addition, the screen space of mobile games is relatively small, and there is usually no mouse to provide precise operations. Therefore, if the aforementioned PC game expansion method for grid space is adopted, the first problem faced is the inconvenience of moving virtual props within the grid space caused by more storage grids. Secondly, the mobile terminal is limited by a smaller screen space and lacks mouse coordination, resulting in low operational efficiency.
[0173] Optionally, in this embodiment, space adjustment props can be, but are not limited to, distinguished from virtual props, or the storage method of space adjustment props can be, but are not limited to, not gridded, thereby reducing the storage pressure of the target grid space; in addition, the storage method of space adjustment props can be, but are not limited to, setting up a separate storage space, and the storage space is set with a space capacity upper limit; furthermore, space adjustment props can also be, but are not limited to, understood as consumable props. For example, when a space expansion request triggered by a space adjustment prop is obtained, the space adjustment prop can be, but is not limited to, set to consumption completion, and the display of the space adjustment prop in the above-mentioned separate storage space can be cancelled.
[0174] Optionally, in this embodiment, the target grid space may be, but is not limited to, composed of multiple storage grids of the same or different sizes, and in the process of using the target grid space to store virtual props, the virtual props may be, but is not limited to, first gridded, and the gridding processing result may be, but is not limited to, related to the prop type of the virtual props. For example, virtual prop A will be processed into a 3×3 grid, and virtual prop B will be processed into a 1×1 grid. Then, when using the target grid space to store virtual props A and virtual props B, virtual prop A will occupy a 3×3 storage grid in the target grid space, and virtual prop B will occupy a 1×1 storage grid in the target grid space.
[0175] Optionally, in this embodiment, the space adjustment prop may be, but is not limited to, configured to allow triggering of multiple types of space adjustment requests, wherein the multiple types of space adjustment requests include at least a space expansion request and a space splitting request;
[0176] Optionally, in this embodiment, the two storage subspaces may be, but are not limited to, grid subspaces of the target grid space, and the number of storage subspaces obtained by splitting the target grid space is not limited (at least two). Further, when a space splitting request triggered by a space adjustment prop is obtained, the target grid space is split to obtain, but is not limited to, multiple grid (storage) subspaces of the target grid space.
[0177] Optionally, in this embodiment, when a space adjustment prop has already triggered a space adjustment request (space expansion request or space splitting request), it can also trigger another space adjustment request (space expansion request or space splitting request) to replace the previous space adjustment request; for example, first responding to the space expansion request triggered by the space adjustment prop to obtain the expanded target grid space; then responding to the space splitting request triggered by the space adjustment prop to cancel the expansion of the target grid space, and then obtaining the first storage space and the second storage space;
[0178] Conversely, in response to the space splitting request triggered by the space adjustment prop, the first storage space and the second storage space are obtained; then in response to the space expansion request triggered by the space adjustment prop, the splitting of the target grid space is canceled, and the expanded target grid space is obtained.
[0179] Optionally, in this embodiment, multiple space adjustment props can be used in combination, but are not limited to. For example, in response to a space expansion request triggered by a first space adjustment prop, the target grid space is expanded to obtain an expanded target grid space; and then in response to a space splitting request triggered by a second space adjustment prop, the expanded target grid space is split to obtain multiple storage subspaces.
[0180] Conversely, in response to the space splitting request triggered by the first space adjustment prop, the first storage space and the second storage space are obtained; then in response to the space expansion request triggered by the second space adjustment prop, the expanded first storage space and / or second storage space are obtained.
[0181] Optionally, in this embodiment, the method of expanding the target grid space may have a higher degree of freedom. For example, when a space adjustment prop for the first target storage capacity of the expandable target grid space is obtained, the storage capacity of the target grid space to be expanded when the space adjustment prop is triggered can be flexibly set. For example, when a first target expansion request is obtained to trigger the space adjustment prop, the target grid space is expanded to obtain a target grid space with an expanded second target storage capacity, wherein the second target storage capacity is lower than the above-mentioned first target storage capacity; in addition, it is also possible but not limited to obtaining a space sub-adjustment prop for expanding a third target storage capacity, wherein the sum of the third target storage capacity and the second target storage capacity is equal to the above-mentioned first target storage capacity.
[0182] It should be noted that the display space adjustment props and the target grid space for storing virtual props, wherein the target grid space includes multiple storage grids, the storage capacity of the target grid space is the first storage capacity, and the storage capacity is used to indicate the number of storage grids in the target grid space that are allowed to be occupied by virtual props; when a space expansion request triggered by the space adjustment props is obtained, the target grid space is expanded to obtain the expanded target grid space, wherein the second storage capacity of the expanded target grid space is greater than the first storage capacity; when a space splitting request triggered by the space adjustment props is obtained, the target grid space is split to obtain at least two storage subspaces.
[0183] For specific embodiments, reference may be made to the example shown in the above-mentioned grid space management device, which will not be described in detail in this example.
[0184] Through the embodiments provided by the present application, a space adjustment prop and a target grid space for storing virtual props are displayed, wherein the target grid space includes multiple storage grids, the storage capacity of the target grid space is a first storage capacity, and the storage capacity is used to represent the number of storage grids in the target grid space that are allowed to be occupied by virtual props; when a space expansion request triggered by the space adjustment prop is obtained, the target grid space is expanded to obtain the expanded target grid space, wherein the second storage capacity of the expanded target grid space is greater than the first storage capacity; when a space splitting request triggered by the space adjustment prop is obtained, the target grid space is split to obtain at least two storage subspaces, and the multiple types of requests triggered by the control adjustment prop are used to provide diversified management methods for the management of the grid space, thereby achieving the purpose of flexible management of the grid space, thereby realizing the technical effect of improving the management flexibility of the grid space.
[0185] As an optional solution, it includes:
[0186] a second display unit, configured to display at least two space identifiers after splitting the target grid space to obtain at least two storage subspaces, wherein a space identifier in the at least two space identifiers corresponds to a storage subspace in the at least two storage subspaces;
[0187] a third display unit, configured to, after splitting the target grid space to obtain at least two storage subspaces, display the first storage space in a case where a first selection operation triggered by the first space identifier is obtained;
[0188] The fourth display unit is used to display the storage subspaces corresponding to the at least two space identifiers after splitting the target grid space to obtain at least two storage subspaces and obtaining a selection operation triggered by the target space identifier among the at least two space identifiers.
[0189] For a specific embodiment, reference may be made to the example shown in the above-mentioned grid space management method, which will not be described in detail in this example.
[0190] As an optional solution, the second processing unit 1406 includes:
[0191] a first processing module, configured to split the expanded target grid space to obtain a first storage space and a second storage space, wherein the at least two storage subspaces include the first storage space and the second storage space, the storage capacity of the first storage space is equal to the first storage capacity, and the storage capacity of the second storage space is equal to the capacity difference between the first storage capacity and the second storage capacity; or
[0192] The second processing module is configured to split the expanded target grid space to obtain at least two storage subspaces, wherein the sum of the storage capacities of the at least two storage subspaces is equal to the second storage capacity.
[0193] For a specific embodiment, reference may be made to the example shown in the above-mentioned grid space management method, which will not be described in detail in this example.
[0194] As an optional solution, the first processing unit 1404 includes:
[0195] The increasing module is used to increase the number of storage grids included in the target grid space.
[0196] For a specific embodiment, reference may be made to the example shown in the above-mentioned grid space management method, which will not be described in detail in this example.
[0197] As an optional solution, the first processing unit 1404 includes:
[0198] The improvement module is used to improve the storage level of the target storage grid when the target storage grid included in the target grid space is selected and a space expansion request is obtained, wherein the storage level is positively correlated with the amount of space allowed to be occupied by virtual props in the target storage grid.
[0199] For a specific embodiment, reference may be made to the example shown in the above-mentioned grid space management method, which will not be described in detail in this example.
[0200] As an optional solution, the device further includes:
[0201] A first acquiring unit is configured to acquire a space arrangement request triggered on a target grid space, wherein the space arrangement request is configured to request adjustment of storage positions of N virtual props stored in the target grid space, wherein N is a natural number;
[0202] The first adjustment unit is configured to respond to the space organization request and adjust the storage location of the N virtual props in the target grid space according to the prop information corresponding to each of the N virtual props.
[0203] For a specific embodiment, reference may be made to the example shown in the above-mentioned grid space management method, which will not be described in detail in this example.
[0204] As an optional solution, the first adjustment unit includes:
[0205] An acquisition module is used to obtain the prop priority corresponding to each virtual prop in N virtual props;
[0206] The determination module is used to determine the storage sorting position of each virtual prop in the target grid space according to the prop priority.
[0207] For a specific embodiment, reference may be made to the example shown in the above-mentioned grid space management method, which will not be described in detail in this example.
[0208] As an optional solution, the device further includes:
[0209] A second acquiring unit is configured to acquire a filtering display request triggered on a target grid space, wherein the filtering display request is configured to request display of K virtual props stored in the target grid space that meet a filtering condition, where K is a natural number;
[0210] The fifth display unit is configured to respond to the filtering display request and display a prop view corresponding to each virtual prop of the K virtual props.
[0211] For a specific embodiment, reference may be made to the example shown in the above-mentioned grid space management method, which will not be described in detail in this example.
[0212] As an optional solution, the device further includes:
[0213] A third obtaining unit is configured to obtain a target selection operation performed on Q virtual props stored in the target grid space, where Q is a natural number;
[0214] a sixth display unit, configured to display target prompt information when the number of virtual props belonging to the target prop type among the Q virtual props reaches a target threshold, wherein the target prompt information is configured to prompt the selection of all virtual props belonging to the target prop type stored in the target grid space;
[0215] The selection unit is configured to select all virtual props of the target prop type stored in the target grid space in response to a target selection request triggered by the target prompt information.
[0216] For a specific embodiment, reference may be made to the example shown in the above-mentioned grid space management method, which will not be described in detail in this example.
[0217] As an optional solution, the device further includes:
[0218] a seventh display unit, configured to display at least two storage subspaces when a space expansion request is obtained, and send a space splitting request to the second server;
[0219] The second adjustment unit is configured to adjust the at least two storage subspaces according to the second target space information when a space expansion request is obtained and when second target space information returned by the second server is received, and when the second target space information is different from the space information of the at least two storage subspaces.
[0220] For a specific embodiment, reference may be made to the example shown in the above-mentioned grid space management method, which will not be described in detail in this example.
[0221] As an optional solution, the device further includes:
[0222] an eighth display unit, configured to display the first storage space and the second storage space when a space splitting request is obtained, and send the space splitting request to the second server;
[0223] The third adjustment unit is configured to adjust the first storage space and the second storage space according to the second target space information when a space splitting request is obtained and when second target space information returned by the second server is received, and the second target space information is different from the space information of the first storage space and the second storage space.
[0224] For a specific embodiment, reference may be made to the example shown in the above-mentioned grid space management method, which will not be described in detail in this example.
[0225] As an optional solution, the device further includes:
[0226] a fourth acquiring unit, configured to, upon acquiring any operation or request associated with the target grid space, acquire difference data corresponding to the operation or request, wherein the difference data represents a difference between a response result of the operation or request and the original data, wherein the operation or request includes a space expansion request and a space split request;
[0227] The integration unit is used to integrate the difference data and the original data to obtain a response result.
[0228] For a specific embodiment, reference may be made to the example shown in the above-mentioned grid space management method, which will not be described in detail in this example.
[0229] According to another aspect of the embodiment of the present application, an electronic device for implementing the above-mentioned grid space management method is also provided. Figure 14 As shown, the electronic device includes a memory 1402 and a processor 1404. The memory 1402 stores a computer program, and the processor 1404 is configured to execute the steps in any of the above method embodiments through the computer program.
[0230] Optionally, in this embodiment, the electronic device may be located in at least one network device among a plurality of network devices of a computer network.
[0231] Optionally, in this embodiment, the processor may be configured to execute the following steps through a computer program:
[0232] S1, displaying a space adjustment prop and a target grid space for storing virtual props, wherein the target grid space includes a plurality of storage grids, and the storage capacity of the target grid space is a first storage capacity, which is used to represent the number of storage grids in the target grid space that are allowed to be occupied by virtual props;
[0233] S2, when a space expansion request triggered by a space adjustment item is obtained, expanding the target grid space to obtain an expanded target grid space, wherein a second storage capacity of the expanded target grid space is greater than the first storage capacity;
[0234] S3: When a space splitting request triggered by a space adjustment item is obtained, the target grid space is split to obtain at least two storage subspaces.
[0235] Alternatively, those skilled in the art will appreciate that Figure 14 The structure shown is for illustration only, and the electronic device may also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a PDA, a mobile Internet device (MID), a PAD, or other terminal devices. Figure 14 It does not limit the structure of the above electronic device. For example, the electronic device may also include Figure 14 More or fewer components (such as network interfaces, etc.) as shown in, or with Figure 14 Different configurations shown.
[0236] Among them, the memory 1402 can be used to store software programs and modules, such as the program instructions / modules corresponding to the grid space management method and device in the embodiment of the present application. The processor 1404 executes various functional applications and data processing by running the software programs and modules stored in the memory 1402, that is, realizing the above-mentioned grid space management method. The memory 1402 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 1402 may further include a memory remotely located relative to the processor 1404, and these remote memories may be connected to the terminal via a network. Examples of the above-mentioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof. Among them, the memory 1402 can be used specifically, but not limited to, to store information such as space adjustment props, target grid space, and virtual props. As an example, if Figure 14 As shown, the memory 1402 may include, but is not limited to, the first display unit 1402, the first processing unit 1404, and the second processing unit 1406 of the grid space management device. Furthermore, the memory 1402 may also include, but is not limited to, other module units of the grid space management device, which will not be described in detail in this example.
[0237] Optionally, the transmission device 1406 is configured to receive or send data via a network. Specific examples of the network may include a wired network and a wireless network. In one embodiment, the transmission device 1406 includes a network interface controller (NIC), which can be connected to other network devices and a router via a network cable to communicate with the Internet or a local area network. In one embodiment, the transmission device 1406 is a radio frequency (RF) module, which is configured to communicate with the Internet wirelessly.
[0238] In addition, the electronic device further includes: a display 1408 for displaying information such as the space adjustment props, target grid space, and virtual props; and a connection bus 1410 for connecting various module components in the electronic device.
[0239] In other embodiments, the terminal device or server may be a node in a distributed system, wherein the distributed system may be a blockchain system, and the blockchain system may be a distributed system formed by connecting multiple nodes via network communication. The nodes may form a peer-to-peer (P2P) network, and any computing device, such as a server, terminal, or other electronic device, may become a node in the blockchain system by joining the peer-to-peer network.
[0240] According to one aspect of the present application, a computer program product is provided, comprising a computer program / instructions containing program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via a communication component and / or installed from a removable medium. When the computer program is executed by a central processing unit, the various functions provided in the embodiments of the present application are performed.
[0241] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0242] It should be noted that the computer system of the electronic device is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0243] A computer system includes a central processing unit (CPU), which can perform various appropriate actions and processes based on programs stored in read-only memory (ROM) or programs loaded from the storage unit into random access memory (RAM). The RAM also stores various programs and data required for system operation. The CPU, the ROM, and the RAM are connected to each other via a bus. Input / output interfaces (I / O interfaces) are also connected to the bus.
[0244] The following components are connected to the input / output interface: an input section including a keyboard, mouse, etc.; an output section including a cathode ray tube (CRT), a liquid crystal display (LCD), and a speaker; a storage section including a hard disk; and a communication section including a network interface card such as a local area network card and a modem. The communication section performs communication processing via a network such as the Internet. A drive is also connected to the input / output interface as needed. Removable media such as magnetic disks, optical disks, magneto-optical disks, semiconductor memories, etc. are installed in the drive as needed so that computer programs read from them can be installed into the storage section as needed.
[0245] In particular, according to an embodiment of the present application, the processes described in the various method flow charts can be implemented as computer software programs. For example, an embodiment of the present application includes a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for executing the methods shown in the flow charts. In such an embodiment, the computer program can be downloaded and installed from a network via a communication portion, and / or installed from a removable medium. When the computer program is executed by a central processing unit, the various functions defined in the system of the present application are performed.
[0246] According to one aspect of the present application, a computer-readable storage medium is provided, and a processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the methods provided in the various optional implementations described above.
[0247] Optionally, in this embodiment, the computer-readable storage medium may be configured to store a computer program for performing the following steps:
[0248] S1, displaying a space adjustment prop and a target grid space for storing virtual props, wherein the target grid space includes a plurality of storage grids, and the storage capacity of the target grid space is a first storage capacity, which is used to represent the number of storage grids in the target grid space that are allowed to be occupied by virtual props;
[0249] S2, when a space expansion request triggered by a space adjustment item is obtained, expanding the target grid space to obtain an expanded target grid space, wherein a second storage capacity of the expanded target grid space is greater than the first storage capacity;
[0250] S3: When a space splitting request triggered by a space adjustment item is obtained, the target grid space is split to obtain at least two storage subspaces.
[0251] Optionally, in this embodiment, a person of ordinary skill in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by instructing the hardware related to the terminal device through a program, and the program may be stored in a computer-readable storage medium, which may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0252] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0253] If the integrated units in the above embodiments are implemented in the form of software functional units and sold or used as independent products, they can be stored in the above-mentioned computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling one or more computer devices (which can be personal computers, servers, or network devices, etc.) to execute all or part of the steps of the methods of each embodiment of the present application.
[0254] In the above embodiments of the present application, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0255] In the several embodiments provided in this application, it should be understood that the disclosed client can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of units is merely a logical functional division. In actual implementation, there may be other division methods, such as combining or integrating multiple units or components into another system, or ignoring or not implementing some features. Furthermore, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interface, indirect coupling or communication connection of units or modules, and may be electrical or other forms.
[0256] Units described as separate components may or may not be physically separate, and components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0257] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0258] The above is only a preferred embodiment of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A method for managing a grid space, characterized in that: include: Displaying a space adjustment prop and a target grid space for storing virtual props, wherein the target grid space includes a plurality of storage grids, and the storage capacity of the target grid space is a first storage capacity, and the storage capacity is used to represent the number of the storage grids in the target grid space that are allowed to be occupied by the virtual props; When the space adjustment item is equipped and a space expansion request triggered by the space adjustment item is obtained, the target grid space is expanded to obtain an expanded target grid space, wherein the second storage capacity of the expanded target grid space is greater than the first storage capacity; After obtaining the expanded target grid space and removing the space adjustment tool, reducing the expanded target grid space to obtain a reduced grid space, wherein a third storage capacity of the reduced grid space is smaller than the second storage capacity; When the expanded target grid space is reduced in size, resulting in virtual props that cannot be stored in the reduced target grid space, the virtual props that cannot be stored are shifted upward in the reduced target grid space, and sorting is automatically triggered; When a space splitting request triggered by the space adjustment prop is obtained, the target grid space is split to obtain at least two storage subspaces.
2. The method according to claim 1, characterized in that After the target grid space is split to obtain at least two storage subspaces, the method includes: Displaying at least two space identifiers, wherein a space identifier in the at least two space identifiers corresponds to a storage subspace in the at least two storage subspaces respectively; When a selection operation triggered on a target space identifier among the at least two space identifiers is obtained, storage subspaces corresponding to the at least two space identifiers are displayed.
3. The method according to claim 1, characterized in that The target grid space is split to obtain at least two storage subspaces, including: Splitting the expanded target grid space to obtain a first storage space and a second storage space, wherein the at least two storage subspaces include the first storage space and the second storage space, the storage capacity of the first storage space is equal to the first storage capacity, and the storage capacity of the second storage space is equal to the capacity difference between the first storage capacity and the second storage capacity; or, The expanded target grid space is split to obtain the at least two storage subspaces, wherein the sum of the storage capacities of the at least two storage subspaces is equal to the second storage capacity.
4. The method according to claim 1, wherein The expanding the target grid space to obtain the expanded target grid space includes: The number of the storage grids included in the target grid space is increased.
5. The method according to claim 1, wherein When the space adjustment item is equipped and a space expansion request triggered by the space adjustment item is obtained, the target grid space is expanded to obtain the expanded target grid space, including: When a target storage grid included in the target grid space is selected and the space expansion request is obtained, the storage level of the target storage grid is increased, wherein the storage level is positively correlated with the amount of space allowed to be occupied by the virtual item in the target storage grid.
6. The method according to claim 1, characterized in that The method further comprises: Obtaining a space arrangement request triggered on the target grid space, wherein the space arrangement request is used to request adjustment of storage positions of N virtual props stored in the target grid space in the target grid space, where N is a natural number; In response to the space organization request, the storage location of the N virtual props in the target grid space is adjusted according to the prop information corresponding to each of the N virtual props.
7. The method according to claim 6, characterized in that The adjusting the storage position of the N virtual props in the target grid space according to the prop information corresponding to each virtual prop in the N virtual props includes: Obtaining the prop priority corresponding to each virtual prop in the N virtual props; A storage sorting position of each virtual prop in the N virtual props in the target grid space is determined according to the prop priority.
8. The method according to claim 1, characterized in that The method further comprises: Obtaining a filtering and displaying request triggered on the target grid space, wherein the filtering and displaying request is used to request display of K virtual props stored in the target grid space that meet a filtering condition, where K is a natural number; In response to the filtering and displaying request, a prop view corresponding to each virtual prop in the K virtual props is displayed.
9. The method according to claim 1, characterized in that The method further comprises: Obtaining a target selection operation performed on Q virtual props stored in the target grid space, where Q is a natural number; When the number of virtual props belonging to the target prop type among the Q virtual props reaches a target threshold, displaying target prompt information, wherein the target prompt information is used to prompt selection of all virtual props belonging to the target prop type stored in the target grid space; In response to a target selection request triggered by the target prompt information, all virtual props stored in the target grid space and belonging to the target prop type are selected.
10. The method according to any one of claims 1 to 9, characterized in that When the space expansion request is obtained, the method further includes: Displaying the expanded target grid space and sending the space expansion request to the first server; When first target space information returned by the first server is received and the first target space information is different from the space information of the expanded target grid space, the expanded target grid space is adjusted according to the first target space information.
11. The method according to any one of claims 1 to 9, characterized in that In the case where the space splitting request is obtained, the method further includes: displaying the at least two storage subspaces, and sending the space splitting request to the second server; When the second target space information returned by the second server is received and the second target space information is different from the space information of the at least two storage subspaces, the at least two storage subspaces are adjusted according to the second target space information.
12. The method according to any one of claims 1 to 9, characterized in that The method further comprises: When any operation or request associated with the target grid space is obtained, obtaining difference data corresponding to the operation or request, wherein the difference data is used to represent a difference between a response result of the operation or request and original data, the operation or request including the space expansion request and the space splitting request; The difference data and the original data are integrated to obtain the response result.
13. A computer-readable storage medium, characterized in that The computer-readable storage medium includes a stored program, wherein the method according to any one of claims 1 to 12 is executed when the program is executed.
14. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the steps of the method according to any one of claims 1 to 12 are implemented.
15. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to execute the method according to any one of claims 1 to 12 through the computer program.
Citation Information
Patent Citations
Method and device of storing objects and terminal
CN103164340A
Game resource sorting method, apparatus and system
CN108804680A