CN114416371A - Grid space management method, storage medium and electronic device - Google Patents

Grid space management method, storage medium and electronic device Download PDF

Info

Publication number
CN114416371A
CN114416371A CN202210074881.6A CN202210074881A CN114416371A CN 114416371 A CN114416371 A CN 114416371A CN 202210074881 A CN202210074881 A CN 202210074881A CN 114416371 A CN114416371 A CN 114416371A
Authority
CN
China
Prior art keywords
space
storage
target
target grid
grid space
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210074881.6A
Other languages
Chinese (zh)
Inventor
张文杰
李含笑
林畅
黄科立
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202210074881.6A priority Critical patent/CN114416371A/en
Publication of CN114416371A publication Critical patent/CN114416371A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5061Partitioning or combining of resources
    • G06F9/5072Grid computing
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/70Game security or game management aspects
    • A63F13/77Game security or game management aspects involving data related to game devices or game servers, e.g. configuration data, software version or amount of memory

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Mathematical Physics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Computer Security & Cryptography (AREA)
  • General Business, Economics & Management (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a grid space management method, a storage medium and an electronic device. Wherein, the method comprises the following steps: the method comprises the steps that a space adjustment prop and a target grid space used for storing virtual props are displayed, wherein the target grid space comprises a plurality of storage grids, the storage capacity of the target grid space is a first storage capacity, and the storage capacity is used for representing the number of the storage grids allowed to be occupied by the virtual props in the target grid space; under the condition that a space expansion request triggered by a space adjustment prop is obtained, carrying out expansion processing on a target grid space to obtain an expanded target grid space; and under the condition of acquiring a space splitting request triggered by the space adjusting prop, splitting the target grid space to obtain at least two storage subspaces. The method and the device solve the technical problem that the management flexibility of the grid space is low.

Description

Grid space management method, storage medium and electronic device
Technical Field
The present application relates to the field of computers, and in particular, to a method for managing a grid space, a storage medium, and an electronic device.
Background
The virtual props are subjected to gridding processing in the virtual game, the processed virtual props are stored in the grid space, but the grid quantity occupied by each type of virtual props is different, and further the gridding storage mode improves the management difficulty of the grid space, so that the management mode of the grid space by the related technology is often fixed and single and is not flexible enough, and the increasing game experience of users cannot be met. Therefore, there is a problem that the management flexibility of the grid space is low.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the application provides a grid space management method, a storage medium and electronic equipment, so as to at least solve the technical problem of low management flexibility of the grid space.
According to an aspect of an embodiment of the present application, there is provided a method for managing a grid space, including: the method comprises the steps of displaying a space adjustment prop and a target grid space for storing virtual props, wherein the target grid space comprises a plurality of storage grids, the storage capacity of the target grid space is a first storage capacity, and the storage capacity is used for representing the number of the storage grids allowed to be occupied by the virtual props in the target grid space; under the condition that a space expansion request triggered by the space adjustment prop is acquired, carrying out expansion processing on the target grid space to obtain an expanded target grid space, wherein the second storage capacity of the expanded target grid space is larger than the first storage capacity; and under the condition of acquiring a space splitting request triggered by the space adjusting prop, splitting the target grid space to obtain at least two storage subspaces.
According to another aspect of the embodiments of the present application, there is also provided a management apparatus for a grid space, including: the system comprises a first display unit, a second display unit and a third display unit, wherein the first display unit is used for displaying a space adjustment prop and a target grid space used for storing virtual props, the target grid space comprises a plurality of storage grids, the storage capacity of the target grid space is a first storage capacity, and the storage capacity is used for indicating the number of the storage grids allowed to be occupied by the virtual props in the target grid space; the first processing unit is configured to, in a case where a space expansion request triggered by the space adjustment prop is acquired, perform expansion processing on the target grid space to obtain an expanded target grid space, where a second storage capacity of the expanded target grid space is greater than the first storage capacity; and the second processing unit is used for splitting the target grid space to obtain at least two storage subspaces under the condition of acquiring a space splitting request triggered by the space adjusting prop.
As an alternative, the method comprises the following steps: a second display unit, configured to display at least two space identifiers after the target grid space is split to obtain at least two storage subspaces, where a space identifier in the at least two space identifiers corresponds to a storage subspace in the at least two storage subspaces, respectively; a third display unit, configured to display the first storage space when a first selection operation triggered by the first space identifier is obtained after the target grid space is split to obtain at least two storage subspaces; and the fourth display unit is used for displaying the storage sub-spaces corresponding to the at least two space identifiers under the condition of acquiring the selection operation triggered by the target space identifier in the at least two space identifiers after the target grid space is split to obtain the at least two storage sub-spaces.
As an optional solution, the second processing unit includes: a first processing module, configured to split the expanded target grid space to obtain a first storage space and a second storage space, where the at least two storage sub-spaces include the first storage space and the second storage space, a storage capacity of the first storage space is equal to the first storage capacity, and a storage capacity of the second storage space is equal to a capacity difference between the first storage capacity and the second storage capacity; or the second processing module is configured to split the expanded target grid space to obtain the at least two storage subspaces, where a sum of storage capacities of the at least two storage subspaces is equal to the second storage capacity.
As an optional solution, the first processing unit includes: and an increasing module for increasing the number of the storage grids included in the target grid space.
As an optional solution, the first processing unit includes: and the improving module is used for improving the storage grade of the target storage grid under the condition that the target storage grid included in the target grid space is selected and the space expansion request is obtained, wherein the storage grade and the space amount allowed to be occupied by the virtual prop by the target storage grid are in positive correlation.
As an optional solution, the apparatus further includes: a first obtaining unit, configured to obtain a space arrangement request triggered for the target grid space, where the space arrangement request is used to request to adjust storage locations of N virtual items stored in the target grid space, where N is a natural number; and a first adjusting unit, configured to respond to the space arrangement request, and adjust storage locations of the N virtual items in the target grid space according to item information corresponding to each of the N virtual items.
As an optional solution, the first adjusting unit includes: an obtaining module, configured to obtain a prop priority corresponding to each virtual prop in the N virtual props; and the determining module is used for determining the storage sequencing position of each virtual item in the N virtual items in the target grid space according to the item priority.
As an optional solution, the apparatus further includes: a second obtaining unit, configured to obtain a screening display request triggered by the target grid space, where the screening display request is used to request to display K virtual properties that are stored in the target grid space and meet a screening condition, where K is a natural number; and the fifth display unit is used for responding to the screening display request and displaying a prop view corresponding to each virtual prop in the K virtual props.
As an optional solution, the apparatus further includes: a third obtaining unit, configured to obtain a target selection operation performed on Q virtual items 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 items belonging to a target item type in the Q virtual items reaches a target threshold, where the target prompt information is used to prompt that all virtual items belonging to the target item type and stored in the target grid space are selected; and the selecting unit is used for responding to a target selecting request triggered on the target prompt message and selecting all the virtual props which are stored in the target grid space and belong to the types of the target props.
As an optional solution, the apparatus further includes: a seventh display unit, configured to display the at least two storage subspaces under the condition that the space expansion request is obtained, and send the space splitting request to a second server; and a second adjusting unit, configured to, when the space expansion request is acquired, receive second target space information returned by the second server, where the second target space information is different from the space information of the at least two storage subspaces, and adjust the at least two storage subspaces according to the second target space information.
As an optional solution, the apparatus further includes: an eighth display unit, configured to display the first storage space and the second storage space and send the space splitting request to a second server when the space splitting request is obtained; and a third adjusting unit, configured to, when the space splitting request is acquired, receive second target space information returned by the second server, where the second target space information is different from space information of the first storage space and the second storage space, and adjust the first storage space and the second storage space according to the second target space information.
As an optional solution, the apparatus further includes: a fourth obtaining unit, configured to obtain difference data corresponding to any operation or request associated with the target grid space, where the difference data is used to indicate a difference between a response result of the operation or request and original data, and the operation or request includes the space expansion request and the space splitting request; and an integration unit for integrating the difference data and the original data to obtain the response result.
According to yet another aspect of embodiments herein, there is provided a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, causing the computer device to perform the management method of the grid space as above.
According to another aspect of the embodiments of the present application, there is also provided an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the method for managing a grid space through the computer program.
In this embodiment of the present application, a display space adjustment item and a target grid space for storing a virtual item are displayed, where the target grid space includes a plurality of storage grids, a storage capacity of the target grid space is a first storage capacity, and the storage capacity is used to indicate a number of the storage grids allowed to be occupied by the virtual item in the target grid space; under the condition that a space expansion request triggered by the space adjustment prop is acquired, carrying out expansion processing on the target grid space to obtain an expanded target grid space, wherein the second storage capacity of the expanded target grid space is larger than the first storage capacity; under the condition that a space splitting request triggered by the space adjusting prop is acquired, the target grid space is split to obtain at least two storage subspaces, and various types of requests triggered by the control adjusting prop are utilized to provide diversified management modes for management of the grid space, so that the purpose of flexibly managing the grid space is achieved, the technical effect of improving management flexibility of the grid space is achieved, and the technical problem of low management flexibility of the grid space is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
FIG. 1 is a schematic diagram of an application environment of an alternative grid space management method according to an embodiment of the present application;
FIG. 2 is a schematic diagram illustrating an alternative method for managing a grid space according to an embodiment of the present application;
FIG. 3 is a schematic diagram of an alternative grid space management method according to an embodiment of the present application;
FIG. 4 is a schematic diagram of an alternative grid space management method according to an embodiment of the present application;
FIG. 5 is a schematic diagram of an alternative grid space management method according to an embodiment of the present application;
FIG. 6 is a schematic diagram of an alternative grid space management method according to an embodiment of the present application;
FIG. 7 is a schematic diagram of an alternative grid space management method according to an embodiment of the present application;
FIG. 8 is a schematic diagram of an alternative grid space management method according to an embodiment of the present application;
FIG. 9 is a schematic diagram of an alternative grid space management method according to an embodiment of the present application;
FIG. 10 is a schematic diagram of an alternative grid space management method according to an embodiment of the present application;
FIG. 11 is a schematic diagram of an alternative grid space management method according to an embodiment of the present application;
FIG. 12 is a schematic diagram of an alternative grid space management method according to an embodiment of the present application;
FIG. 13 is a schematic diagram of an alternative grid space management method according to an embodiment of the present application;
FIG. 14 is a schematic diagram of an alternative grid space management apparatus according to an embodiment of the present application;
fig. 15 is a schematic structural diagram of an alternative electronic device according to an embodiment of the application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
For convenience of understanding, the following terms are to be construed:
a mobile terminal: generally referred to as the handset side, including but not limited to all handheld portable game devices.
Virtual props: all kinds of props in game
Gridding: the size of the virtual prop is represented by the number of occupied grids, and the capacity of a container for storing the virtual prop is represented by the grids, namely, the grids are used for simulating the space sense of the virtual prop.
According to an aspect of the embodiments of the present application, a method for managing a grid space is provided, and optionally, as an optional implementation, the method for managing a grid space may be applied to, but is not limited to, an environment as shown in fig. 1. The system may include, but is not limited to, a user equipment 102, a network 110, and a server 112, wherein the user equipment 102 may include, but is not limited to, a display 108, a processor 106, and a memory 104.
The specific process comprises the following steps:
step S102, the user equipment 102 obtains a space expansion request triggered by the space adjustment prop 1024, where the space expansion request is used to request expansion of the target grid space 1022;
step S104-S106, the user device 102 sends a space expansion request to the server 112 through the network 110;
step S108, the server 112 searches the current stored data of the target grid space 1022 through the database 114, and processes the current spatial data through the processing engine 116, so as to generate a response result of the space expansion request, where the response result may be, but is not limited to, indicate the space data of the expanded target grid space 1022;
in steps S110-S114, the server 112 sends the response result to the user device 102 through the network 110, and 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.
In addition to the example shown in fig. 1, the above steps may be performed by the user device 102 independently, that is, the user device 102 performs the steps of processing the spatial data, generating a response result of the spatial expansion request, and the like, so as to relieve the processing pressure of the server. The user equipment 102 includes, but is not limited to, a handheld device (e.g., a mobile phone), a notebook computer, a desktop computer, a vehicle-mounted device, and the like, and the application does not limit the specific implementation manner of the user equipment 102.
Optionally, as an optional implementation, as shown in fig. 2, the method for managing a grid space includes:
s202, displaying the space adjustment prop and a target grid space for storing the virtual prop, wherein the target grid space comprises a plurality of storage grids, the storage capacity of the target grid space is a first storage capacity, and the storage capacity is used for representing the number of the storage grids allowed to be occupied by the virtual prop in the target grid space;
s204, under the condition that a space expansion request triggered by the space adjustment prop is obtained, carrying out expansion processing on the target grid space to obtain an expanded target grid space, wherein the second storage capacity of the expanded target grid space is larger than the first storage capacity;
s206, under the condition that a space splitting request triggered by the space adjusting prop is obtained, splitting is carried out on the target grid space, and at least two storage subspaces are obtained.
Optionally, in this embodiment, the management method of the grid space may be applied, but not limited to, in a scene where a virtual item is stored in a mobile game by using a grid technology; for example, a space storage interface of a virtual game is displayed on a mobile client, and a target grid space for spatially adjusting the props and storing the virtual props is also displayed in the space storage interface; under the condition that a space expansion request or a space splitting request triggered by the space adjusting prop on the mobile client is obtained, responding to the space expansion request or the space splitting request, and correspondingly adjusting the target grid space;
it should be noted that there is a substantial difference between the operation characteristics of the mobile terminal game and the operation characteristics of the PC terminal game, for example, when the virtual items are stored in the PC terminal game by using the grid technology, because the computer screen space is enough, the storage space displayed on the same screen is large (usually 10 columns × 13 rows), and the space grid for storing the virtual items is also large (usually 10 columns × 66 rows); in addition, the PC end also provides accurate and efficient operation of mutual matching of the mouse and the keyboard, so that a user at the PC end can further expand the grid space by storing the virtual prop in a container box with a small occupation space and then putting the container box into the grid space;
however, the mobile game does not have the operating characteristics of the PC game, and if the screen space of the mobile game is not enough as the space of a computer screen, more storage spaces can not be displayed on the same screen, which results in that the mobile game needs more storage grids facing the same storage space compared with the PC game; however, if the amount of the storage grid of the mobile-end game is increased, the storage state of the virtual items that are already gridded is usually affected, and for this reason, the related art is relatively conservative for managing the space grid of the mobile-end game; in addition, the screen space of the mobile terminal game is small, and no mouse provides accurate operation generally, so that if the expansion mode of the PC terminal game to the grid space is adopted, the problem that the operation of the mobile virtual prop in the grid space is inconvenient due to the fact that more storage grids are directly used is faced firstly, and the problem that the operation efficiency is low due to the fact that the mobile terminal is limited by the small screen space and lack of mouse cooperation is faced secondly.
Optionally, in this embodiment, the space adjustment prop may be, but is not limited to be, distinguished from a virtual prop, or a storage manner of the space adjustment prop may be, but is not limited to be, not meshed, so that a storage pressure of a target mesh space is also reduced; in addition, the storage mode of the space adjustment prop can be, but is not limited to, setting a separate storage space, and the storage space is set with an upper limit of space capacity; furthermore, the space adjustment prop may also be, but is not limited to, be understood as a consumed prop, for example, in the case of acquiring a space expansion request triggered by the space adjustment prop, the space adjustment prop may be set to be consumed and completed, and display of the space adjustment prop in the above-mentioned separate storage space may be cancelled.
Optionally, in this embodiment, the target grid space may be, but is not limited to, composed of a plurality of storage grids with the same size or different sizes, and in the process of storing the virtual item by using the target grid space, the virtual item may be, but is not limited to, firstly subjected to gridding processing, and a result of the gridding processing may be, but is not limited to, related to the item type of the virtual item, for example, the virtual item a is processed into a grid of 3 × 3, and the virtual item B is processed into a grid of 1 × 1, and further, when the virtual item a and the virtual item B are stored by using the target grid space, the virtual item a occupies the storage grid of 3 × 3 in the target grid space, and the virtual item B occupies the storage grid of 1 × 1 in the target grid space.
Optionally, in this embodiment, the space adjustment prop may be, but is not limited to, set to allow triggering of multiple types of space adjustment requests, where the multiple types of space adjustment requests at least include a space expansion request and a space splitting request;
further illustrating the case that the space adjustment prop is allowed to trigger a space expansion request or a space splitting request, as shown in fig. 3, a space adjustment prop 304 and a target grid space 302 for storing virtual props (such as virtual shooting props, virtual throwing props, etc.) are displayed, as shown in (a) of fig. 3; as further shown in (b) of fig. 3, in response to a selection operation triggered on the space adjustment prop 304, a prompt message 306 is displayed, where the prompt message 306 is used to prompt that the selection of the space adjustment prop 304 is allowed to trigger a space expansion request or a space splitting request, and two virtual buttons are further displayed on the prompt message 306, and the two virtual buttons are used to further trigger a space expansion request or a space splitting request, respectively.
Optionally, in this embodiment, the two storage subspaces may be, but are not limited to, mesh subspaces understood as a target mesh space, and the number of the storage subspaces obtained by splitting the target mesh space is not limited (at least two); further, under the condition that a space splitting request triggered by the space adjustment prop is obtained, splitting is carried out on the target grid space, and a plurality of grid (storage) subspaces of the target grid space can be obtained but not limited;
optionally, in this embodiment, when the space adjustment prop has triggered one space adjustment request (a space expansion request or a space splitting request), another space adjustment request (a space expansion request or a space splitting request) may be triggered to replace the previous space adjustment request; if a space expansion request triggered by the space adjustment prop is responded, a target grid space after expansion is obtained; in response to a space splitting request triggered by the space adjusting prop, canceling the expansion of a target grid space, and obtaining a first storage space and a second storage space;
otherwise, in the same way, a space splitting request triggered by the space adjusting prop is responded to obtain a first storage space and a second storage space; and then responding to a space expansion request triggered by the space adjustment prop, canceling the splitting of the target grid space, and obtaining the expanded target grid space.
Optionally, in this embodiment, the multiple spatial adjustment props may be used in combination, but are not limited to be used in combination, for example, in a case of responding to a spatial expansion request triggered by the first spatial adjustment prop, performing expansion processing on the target grid space to obtain an expanded target grid space; then responding to a space splitting request triggered by a second space adjusting prop, and splitting the expanded target grid space to obtain a plurality of storage sub-spaces;
otherwise, in the same way, a space splitting request triggered by the first space adjusting prop is responded to obtain a first storage space and a second storage space; and responding to a space expansion request triggered by the second space adjustment prop to obtain the expanded first storage space and/or the expanded second storage space.
Optionally, in this embodiment, a manner of performing capacity expansion processing on the target grid space may have a higher degree of freedom, for example, when a space adjustment item of a first target storage amount of the target grid space that can be expanded is acquired, but a storage capacity of the target grid space that is expanded when the space adjustment item is triggered may be flexibly set, and when a first target capacity expansion request that is triggered to the space adjustment item is acquired, capacity expansion processing is performed on the target grid space to obtain a target grid space that is expanded by a second target storage amount, where the second target storage amount is lower than the first target storage amount; in addition, the method may also be, but is not limited to, obtaining a space sub-adjustment prop that may be expanded by a third target storage amount, where a sum of the third target storage amount and the second target storage amount is equal to the first target storage amount.
The method includes the steps that a display space adjusting item and a target grid space used for storing a virtual item are displayed, wherein the target grid space comprises a plurality of storage grids, the storage capacity of the target grid space is a first storage capacity, and the storage capacity is used for representing the number of the storage grids allowed to be occupied by the virtual item in the target grid space; under the condition that a space expansion request triggered by a space adjustment prop is obtained, carrying out expansion processing on a target grid space to obtain an expanded target grid space, wherein the second storage capacity of the expanded target grid space is larger than the first storage capacity; and under the condition of acquiring a space splitting request triggered by the space adjusting prop, splitting the target grid space to obtain at least two storage subspaces.
By way of further example, and optionally based on the illustration of fig. 3, continuing with the illustration of fig. 4, display space adjustment prop 304 and target grid space 302 for storing virtual props (e.g., virtual shooting props, virtual throwing props, etc.), as illustrated in fig. 4 (a); under the condition that a space expansion request triggered by the space adjustment prop 304 is acquired, performing expansion processing on the target grid space 302 to obtain an expanded target grid space 402, as shown in (b) in fig. 4, where a second storage capacity of the expanded target grid space 404 is greater than a first storage capacity of the target grid space 302 before expansion; when a space splitting request triggered by adjusting a prop for the space 304 is acquired, the target grid space 302 is split to obtain a first storage space 404-1 and a second storage space 404-2, as shown in (c) of fig. 4, where at least two storage subspaces include the first storage space 404-1 and the second storage space 404-2.
According to the embodiment provided by the application, the display space adjustment prop and the target grid space used for storing the virtual prop are displayed, wherein the target grid space comprises a plurality of storage grids, the storage capacity of the target grid space is a first storage capacity, and the storage capacity is used for representing the number of the storage grids allowed to be occupied by the virtual prop in the target grid space; under the condition that a space expansion request triggered by a space adjustment prop is obtained, carrying out expansion processing on a target grid space to obtain an expanded target grid space, wherein the second storage capacity of the expanded target grid space is larger than the first storage capacity; under the condition that a space splitting request triggered by a space adjusting prop is obtained, splitting processing is carried out on a target grid space to obtain at least two storage subspaces, and various types of requests triggered by the space adjusting prop are utilized to provide diversified management modes for management of the grid space, so that the purpose of flexibly managing the grid space is achieved, and the technical effect of improving management flexibility of the grid space is achieved.
As an optional scheme, after the splitting process is performed on the target grid space to obtain at least two storage subspaces, the method includes:
s1, displaying at least two space identifiers, wherein the space identifiers in the at least two space identifiers correspond to the storage subspaces in the at least two storage subspaces respectively;
and S2, displaying the storage subspaces corresponding to the at least two space identifiers under the condition of acquiring the selection operation triggered by the target space identifier in the at least two space identifiers.
Optionally, in this embodiment, the target grid space may be split by a method that is not limited to a custom splitting process, such as the number of storage subspaces obtained by splitting the custom splitting process, the storage capacity of each storage subspace, and the storage type of each storage subspace (e.g., a storage subspace for separately storing a medicine type item, a storage subspace for separately storing a weapon type item, a storage subspace for separately storing an ammunition type item), and the like.
It should be noted that at least two space identifiers are displayed, wherein a space identifier in the at least two space identifiers corresponds to a storage subspace in the at least two storage subspaces; and under the condition that the selected operation triggered by the target space identifier in the at least two space identifiers is acquired, displaying the storage subspaces corresponding to the at least two space identifiers, providing convenient operating conditions for displaying different storage spaces, and thus improving the management efficiency of the target grid space.
For further example, optionally, as shown in fig. 5, a first space identifier "1" corresponding to the first storage space 502, a second space identifier "2" corresponding to the second storage space 504, and the first storage space 502 are displayed, as shown in (a) in fig. 5, where at least two storage subspaces include the first storage space 502 and the second storage space 504, and at least two space identifiers include the first space identifier "1" and the second space identifier "2"; as further shown in (b) in fig. 5, in the case where the selected operation triggered on the second space identification "2" is acquired, the second storage space 504 is displayed.
According to the embodiment provided by the application, at least two space identifications are displayed, wherein the space identifications in the at least two space identifications correspond to the storage subspaces in the at least two storage subspaces respectively; under the condition that the selection operation triggered by the 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, and the effect of improving the management efficiency of the target grid space is achieved.
As an optional scheme, splitting the target grid space to obtain a first storage space and a second storage space includes:
splitting the expanded target grid space to obtain a first storage space and a second storage space, wherein the at least two storage subspaces comprise a first storage space and a 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 like, or, alternatively,
and splitting 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.
Optionally, in the present embodiment, the first storage space or the second storage space may be, but is not limited to, another mesh space understood to be distinguished from the target mesh space; and then, under the condition that a space splitting request triggered by the space adjustment prop is acquired, splitting the target grid space, which can be but is not limited to acquiring the target grid space (first storage space) and another grid space (second storage space).
It should be noted that, the expanded target grid space is split to obtain a first storage space and a second storage space, where the first storage space is the target grid space before expansion, and the storage capacity of the second storage space is equal to a capacity difference between the first storage capacity and the second storage capacity.
By way of further example, and optionally based on the scenario shown in fig. 3, continuing for example as shown in fig. 6, display space adjustment prop 304 and target grid space 302 for storing virtual props (e.g., virtual shooting props, virtual throwing props, etc.), as shown in fig. 6 (a); under the condition that a space expansion request triggered by the space adjustment prop 304 is acquired, performing expansion processing on the target grid space 302 to obtain an expanded target grid space 602, as shown in (b) in fig. 6; further, the method can be used for preparing a novel material
Figure BDA0003483484720000141
As shown in fig. 6 (c), when a space splitting request triggered by adjusting a property for the space 304 is obtained (for example, a selected operation is obtained on a 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 first storage capacity of the target grid space 302 and the target storage capacity of the target grid space 302A capacity difference between the second storage capacities of the grid spaces 602.
According to the embodiment provided by the application, the expanded target grid space is split to obtain a first storage space and a second storage space, wherein at least two storage subspaces comprise a first storage space and a 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 splitting the expanded target grid space to obtain at least two storage sub-spaces, wherein the sum of the storage capacities of the at least two storage sub-spaces is equal to the second storage capacity, so that the purpose of providing more various storage modes for the management of the target grid space is achieved, and the effect of improving the management flexibility of the target grid space is realized.
As an optional scheme, performing capacity expansion processing on the target grid space to obtain a target grid space after capacity expansion includes:
the number of storage grids included in the target grid space is increased.
As an optional scheme, in a case where a space expansion request triggered by the space adjustment prop is obtained, performing expansion processing on the target grid space to obtain an expanded target grid space, includes:
and under the condition that a target storage grid included in the target grid space is selected and a space expansion request is obtained, improving the storage grade of the target storage grid, wherein the storage grade and the space amount allowed to be occupied by the virtual prop by the target storage grid are in a positive correlation relationship.
Optionally, in this embodiment, the storage rank of the target storage grid may be, but is not limited to, representing the storage capacity of the target storage grid, or the higher the storage rank of the target storage grid is, the stronger the storage capacity of the target storage grid is; for example, the storage rank of target storage grid a is 1, the storage rank of target storage grid B is 2, and further, when the storage rank of target storage grid B is greater than that of target storage grid B, virtual items with higher storage ranks of target storage grid B may be used, whereas target storage grid a is only allowed to store virtual items with lower storage ranks compared to target storage grid B with higher storage ranks.
Optionally, in this embodiment, in order to improve the degree of reality of the gridding storage manner, when the storage level of the target storage grid changes, the display form of the target storage grid in the target grid space may be, but is not limited to, also changing, for example, the higher the storage level is, the larger the display area of the target storage grid is; conversely, the lower the storage grade is, the smaller the display area of the target storage grid is; meanwhile, in order to ensure the display attractiveness of the target storage grid, the positions of the storage grids in the target storage grid can be arranged at one time when the display area of the target storage grid is changed.
For further example, optionally, as shown in fig. 7, when a 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, the display form of the target storage grid 704 is changed to the display form of the target storage grid 706, and meanwhile, each storage grid included in the target grid space 702 is adjusted, so as to obtain the target grid space 702 arranged in order.
As an optional scheme, the method further comprises the following steps:
s1, acquiring a space arrangement request triggered by a target grid space, wherein the space arrangement request is used for requesting to adjust the storage positions of N virtual props stored in the target grid space, and N is a natural number;
and S2, responding to the space arrangement request, and adjusting the storage positions of the N virtual props in the target grid space according to prop information corresponding to each virtual prop in the N virtual props.
Optionally, in this embodiment, the property information may be, but is not limited to, information that is associated with the virtual property and can be used as a reference for ranking, such as property type, property usage, property state, and other information.
It should be noted that although the target grid space provides a storage manner with a higher degree of freedom for the user, the higher degree of freedom also means that the user easily disarranges the storage location of the virtual item in the target grid space, which not only is not beautiful, but also causes the user to find the virtual item that the user wants to use currently in the disarranged target grid space, and further, the utilization rate of the target grid space is low. Therefore, in this embodiment, not only is the function of automatically arranging the whole space provided, but also all or part of the virtual items in the target grid space can be automatically arranged under the condition that the space arrangement request triggered by the target grid space is obtained.
For further illustration, optionally, for example, as shown in fig. 8, a plurality of virtual props arranged in a target grid space 802 out of order are displayed, as shown in (a) of fig. 8; as further shown in fig. 8 (b), in response to the space arrangement request triggered to the target grid space, the virtual items in the target grid space 802 are arranged according to the item information of the virtual items, and then the target grid space 804 in which the virtual items are arranged in order is obtained.
In addition, it should be noted that the particularity of the grid storage manner is that the number of storage grids in the target grid space occupied by each virtual item may be different, but is not limited to different numbers, for example, the virtual item a occupies a 3 × 3 storage grid in the target grid space, and the virtual item B occupies a 1 × 1 storage grid in the target grid space, so that when the positions of the virtual item a and the virtual item B in the target grid space are automatically adjusted, there are often certain technical difficulties, and problems such as display errors and the like caused by conflict of the storage grids occupied by the virtual items easily occur;
optionally, in this embodiment, an optional manner for overcoming the technical difficulties is provided, for example, the number of storage grids occupied by the virtual item is used as item information for sorting, so that the occurrence probability of problems such as display errors caused by conflict between storage grids occupied by the virtual item is reduced.
According to the embodiment provided by the application, a space arrangement request triggered by a target grid space is obtained, wherein the space arrangement request is used for requesting to adjust the storage positions of N virtual props stored in the target grid space, and N is a natural number; and responding to the space arrangement request, and adjusting the storage positions of the N virtual props in the target grid space according to prop information corresponding to each virtual prop in the N virtual props, so that the aim of efficiently managing the virtual props in the target grid space is fulfilled, and the effect of improving the management efficiency of the target grid space is realized.
As an optional scheme, adjusting storage positions of the N virtual props in the target grid space according to prop information corresponding to each of the N virtual props includes:
s1, obtaining the prop priority corresponding to each virtual prop in the N virtual props;
and S2, determining the storage sequencing position of each virtual item in the N virtual items in the target grid space according to the item priority.
Optionally, in this embodiment, M virtual props corresponding to the prop information of the first priority are obtained, where N virtual props include M virtual props, and M is a natural number; determining a first storage position of each virtual item in the M virtual items in a target grid space, wherein the M first storage positions form a first storage area; acquiring P virtual props corresponding to prop information of a second priority, wherein the other virtual props except the M virtual props in the N virtual props comprise P virtual props, and P is a natural number; and determining a second storage position of each virtual item in the P virtual items in a second storage area, wherein the second storage area is a storage area except the first storage area in the target grid space.
It should be noted that the particularity of the grid storage manner is that the number of storage grids in the target grid space occupied by each virtual item may be different, but is not limited to different numbers, for example, the virtual item a occupies a storage grid of 3 × 3 in the target grid space, and the virtual item B occupies a storage grid of 1 × 1 in the target grid space, and further, when positions of the virtual item a and the virtual item B in the target grid space are automatically adjusted, there are often certain technical difficulties, and problems such as display errors and the like caused by conflicts of the storage grids occupied by the virtual items easily occur;
alternatively, in the present embodiment, an alternative way of overcoming the technical difficulties described above is provided. To further illustrate, optionally, for example, as shown in fig. 9, assume that first virtual item 904 (which may be understood as a plurality of virtual items of a first type) and second virtual item 906 (which may be understood as a plurality of virtual items of a second type) included in target grid space 902 are currently sorted; further, first, a first virtual item 904 and a second virtual item 906 are to be obtained, and it is determined which of the first virtual item 904 and the second virtual item 906 has a higher priority, and if the first virtual item 904 has a higher priority than the second virtual item 906, the first virtual item 904 is sorted and sorted first, and the first virtual item 904 is stored in a target grid space 902 in sequence, so as to obtain a target grid space 902 in which the first virtual item 904 is effectively arranged;
on this basis, the remaining available grid space 908 in target grid space 902 is obtained, except for the grid space already occupied by first virtual item 904; and sorting the available grid space 908 as a sorting basis of the second virtual item 906, for example, storing the second virtual item 906 into the available grid space 908 in sequence to obtain a target grid space 902 in which the second virtual item 906 is effectively arranged, and a remaining available grid space 910 in the target grid space 902 except for the grid space occupied by the first virtual item 904 and the grid space occupied by the second virtual item 906, where the available grid space 910 is used for sorting the virtual items of the next sorting priority.
According to the embodiment provided by the application, the prop priority corresponding to each virtual prop in the N virtual props is obtained; the storage sequencing position of each virtual prop in the N virtual props in the target grid space is determined according to the prop priority, the purpose of reducing the probability of occurrence of problems such as display errors and the like caused by conflict of the storage grids occupied by the virtual props is achieved, and the effect of improving the overall efficiency of the target grid space is achieved.
As an optional scheme, the method further comprises:
s1, acquiring a screening display request triggered by a target grid space, wherein the screening display request is used for requesting to display K virtual props which are stored in the target grid space and meet screening conditions, and K is a natural number;
and S2, responding to the screening display request, and displaying a prop view corresponding to each virtual prop in the K virtual props.
It should be noted that the virtual properties in the target grid space are often different in size, and the virtual properties with different sizes are obviously difficult to find by the user; in this embodiment, the prop view may be, but is not limited to, a view with the same display area, so as to provide a more intuitive display object of the virtual object for the user.
Further by way of example, optionally, for example, as shown in fig. 10, a filtering display request triggered by the target grid space 1002 is obtained, as shown in (a) in fig. 10, where the filtering display request is used to request to filter a virtual object corresponding to an identifier "3" included in the target grid space 1002; in response to the filtering display request, a prop view corresponding to the virtual object corresponding to the identifier "3" is displayed, as shown in (b) in fig. 10.
By the embodiment provided by the application, a screening display request triggered by a target grid space is obtained, wherein the screening display request is used for requesting to display K virtual properties which are stored in the target grid space and meet screening conditions, and K is a natural number; and responding to the screening display request, and displaying a prop view corresponding to each virtual prop in the K virtual props, so that the aim of providing a more visual display object of the virtual object for a user is fulfilled, and the effect of improving the display intuitiveness of the virtual props in the target grid space is realized.
As an optional scheme, the method further comprises the following steps:
s1, acquiring target selection operations executed on Q virtual props stored in a target grid space, wherein Q is a natural number;
s2, displaying target prompt information under the condition that the number of the virtual props belonging to the target prop type in the Q virtual props reaches a target threshold value, wherein the target prompt information is used for prompting all the virtual props which are stored in the selected target grid space and belong to the target prop type;
and S3, responding to the target selection request triggered by the target prompt message, and selecting all virtual props which are stored in the target grid space and belong to the target prop type.
Optionally, in this embodiment, the target selection operation may be, but is not limited to, a pure selection operation, or may also be, but is not limited to, a comprehensive operation of adding other functions, such as a selection selling operation, where the selection selling operation may be, but is not limited to, an operation of selling the selected virtual item to obtain the virtual resource.
Optionally, in this embodiment, after all the virtual items belonging to the target item types and stored in the target grid space are selected, but not limited to, multiple types of prompt information may be displayed, for example, prompt information for prompting the user that the number of the virtual items belonging to the target item types is also stored in the target grid space, prompt information for prompting the user to allow the user to reselect the virtual item belonging to the target item types also stored in the target grid space, and the like.
It should be noted that the virtual properties in the target grid space are often different in size, and the virtual properties with different sizes are obviously difficult to select by the user; in this embodiment, when the user selects a plurality of virtual props belonging to the same prop type, the user can be automatically assisted in selecting all virtual props belonging to the same prop type, so that the efficiency of improving the processing efficiency of the virtual props is improved.
For further example, optionally, as shown in fig. 11, a target selection operation performed on 2 virtual items belonging to a target item type stored in target grid space 1102 is obtained, as shown in (a) in fig. 11; as further shown in fig. 11 (b), target prompt information 1104 is displayed, where target prompt information 1104 is used to prompt selection of all virtual items belonging to the target item type stored in target grid space 1102; further, in response to a target selection request triggered on target prompt 1104, all virtual items belonging to the target item type stored in target grid space 1102 are selected, as shown in fig. 11 (c).
According to the embodiment provided by the application, the target selection operation executed on Q virtual props stored in a target grid space is obtained, wherein Q is a natural number; under the condition that the number of the virtual props belonging to the target prop type in the Q virtual props reaches a target threshold value, target prompt information is displayed, wherein the target prompt information is used for prompting all the virtual props which are stored in the selected target grid space and belong to the target prop type; and responding to a target selection request triggered on the target prompt message, and selecting all the virtual props which are stored in the target grid space and belong to the types of the target props, so that the aim of improving the processing efficiency of the virtual props stored in the target grid space is fulfilled, and the effect of improving the management efficiency of the target grid space is realized.
As an optional scheme, in the case of obtaining the space expansion request, the method further includes:
s1, displaying the target grid space after capacity expansion, and sending a space capacity expansion request to a first server;
and S2, when the 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, adjusting the expanded target grid space according to the first target space information.
Optionally, in this embodiment, displaying the expanded target grid space, and sending the space expansion request to the first server may be, but is not limited to be, understood as pre-displaying a game picture corresponding to the expanded target grid space in the client, so as to reduce display delay at the user side; meanwhile, the space expansion request is sent to the first server for the first server to respond, and the most accurate space information is returned to the client; if the spatial information pre-displayed in the client is consistent with the spatial information returned by the first server, no processing is needed; if the spatial information pre-displayed in the client is inconsistent with the spatial information returned by the first server, the spatial information pre-displayed in the client needs to be corrected according to the spatial information returned by the first server.
As an optional scheme, in the case of obtaining the space splitting request, the method further includes:
s1, S1, displaying at least two storage subspaces, and sending the space splitting request to a second server;
and S2, 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, adjusting the at least two storage subspaces according to the second target space information.
Optionally, in this embodiment, displaying the expanded target grid space, and sending the space expansion request to the second server may be, but is not limited to be, understood as pre-displaying a game picture corresponding to the expanded target grid space in the client, so as to reduce display delay at the user side; meanwhile, the space expansion request is sent to the second server for the second server to respond, and the most accurate space information is returned to the client; if the spatial information pre-displayed in the client is consistent with the spatial information returned by the second server, no processing is needed; if the spatial information pre-displayed in the client is inconsistent with the spatial information returned by the second server, the spatial information pre-displayed in the client needs to be corrected according to the spatial information returned by the second server.
As an optional scheme, the method further comprises the following steps:
s1, under the condition that any operation or request associated with the target grid space is obtained, obtaining difference value data corresponding to the operation or request, wherein the difference value data is used for representing the difference value of the response result of the operation or request relative to the original data, and the operation or request comprises a space expansion request and a space splitting request;
and S2, integrating the difference data and the original data to obtain a response result.
Optionally, in this embodiment, the operation of the target grid space usually involves the performance of a large number of virtual items, and especially when the user frequently operates or performs a large amount of operations (for example, performs position adjustment on the virtual items in the target grid space), if the user refreshes the whole amount, there is a significant performance peak. In this embodiment, the client may generate a corresponding difference (including property attribute, location, and the like) based on the operation instruction, count all current incremental updates per frame, perform one-time combination, and then update the corresponding performance based on the increment, thereby improving the response efficiency of the client.
As an optional scheme, for convenience of description, the management method of the grid space is applied to a scene in which virtual items are stored in a mobile-end game by using a grid technology. Specifically, a repository (target grid space) or an item management interface for the game. The method is used for managing the storage space, and storing and managing the gridded articles.
It should be noted that after the virtual items are processed in a grid manner in a mobile terminal game, great inconvenience is brought to common operations such as storage, sorting, and searching of the items, and special solutions are needed; in the embodiment, an overall solution for gridding storage and management of the virtual props at the mobile terminal is brought by a user-defined expansion mode, automatic sorting and automatic sequencing and a global list screening function.
Optionally, in this embodiment, the method is adapted to an article storage and warehouse capacity expansion scheme of the mobile terminal, and supports a player to autonomously select a capacity expansion mode;
for further example, optionally, for example, different from a capacity expansion mode of increasing a container in a warehouse, the scheme introduces a warehouse capacity expansion tank, and the warehouse capacity expansion tank is used to selectively increase the space of a main warehouse or split the main warehouse into a new warehouse, so that the warehouse capacity expansion is realized; for the used flash tank, the flash mode can be adjusted through the flash management interface. Specifically, if a user selects an expansion prop from a warehouse, the expansion prop is installed by clicking, if an available slot position exists, the expansion prop is automatically installed at the first installable slot position, and when the installation is successful, a feedback picture can be displayed but not limited, such as a picture that corresponding prompt information is displayed, the slot position is highlighted and flicked for a certain time, and the like; in addition, when all available operations are installed, replacement can be prompted; after the first sub-warehouse is manually disassembled, the interface can display corresponding tabs; after the warehouse is successfully disassembled, the number of the sub-warehouse tabs is increased by one, and the available capacity expansion slot position of the main warehouse is decreased by one; automatically selecting the sub-warehouse page which is just split, highlighting and flashing the tab column, and prompting that the splitting is successful by a floating window; correspondingly, the self-defined type mark can be displayed by signing out from the warehouse page.
Specifically, referring to the capacity expansion management interface 1202 shown in fig. 12, the capacity expansion column of warehouse No. 1 is reduced according to how many sub-warehouses have been split, and the two are combined to form the upper limit number of the capacity expansion; after merging, the number of the sub-warehouse tabs is reduced by one, and the available capacity expansion slot position of the No. 1 warehouse is added with 1; when the No. 1 warehouse tab is selected, the tab and the expansion slot position are highlighted and deleted, the list is positioned to the newly added expansion position, and the floating window prompts that the combination is successful.
Optionally, in this embodiment, the method is adapted to an article storage and warehouse capacity expansion scheme of the mobile terminal, and supports a player to autonomously select a capacity expansion mode;
further illustratively, an optional switch provides an automatic sequencing function, for example, at a setup interface. After the player selects automatic sorting to start, the virtual props in the warehouse no longer support manual position adjustment. Every time the goods in the warehouse are increased or decreased, the system reasonably sequences all the props according to a set algorithm. The player can arrange the articles in the warehouse orderly without any operation. When the player selects automatic sorting to close, a one-key sorting function button is provided on the warehouse interface. Each click by the player triggers the system to reorder all items in the warehouse once. The sorting algorithm is the same as the algorithm when the automatic sorting function is started, and two kinds of algorithms are provided for the player to select: one is to arrange the optimal solution neatly, and one is to maximize the space utilization. The specific algorithm may refer to the technical side portion.
Optionally, in this embodiment, a more efficient and intuitive screening function is provided by introducing a list view;
further by way of example, an optional switch to the list view may be selected, for example, after clicking on the filter. The list view is separated from the gridding display, all articles meeting the conditions are selected, and the articles are arranged into a list form according to a set rule. The player can conveniently search and operate the specific type of prop.
Optionally, in this embodiment, all the same types can be quickly selected in the selling link, so that the batch selling operation is facilitated;
for further example, after the optional sale mode is started, multiple selections can be realized by clicking, after a plurality of similar objects are continuously clicked, a dialog box can be popped up, whether all the similar objects are selected or not is judged, and the player can conveniently perform all operations on the specific objects in the stock.
Optionally, in this embodiment, the above grid space management method may be implemented by, but is not limited to, a warehouse module, and in terms of the design of the warehouse module, a typical warehouse request processing flow may be, but is not limited to, as shown in fig. 13, by adopting a most typical micro-service-based grid method, and the specific steps are as follows:
step S1302, the client 1302 requests to operate the warehouse, pre-presents a corresponding response screen, and sends the request to the server 1304;
in order to support pre-rendering and backtracking after data inconsistency occurs, the request of the warehouse operation initiated by the client 1302 needs to be encapsulated into an instruction supporting Undo (Undo). Any prop operation of the client end is organized into an instruction structure and is given a unique gid. The client will organize all the instructions of the current frame into an instruction set form, and uniformly send the instruction set to the server 1304 for processing, and at the same time, perform some pre-expressions corresponding to the operations at the client 1302, that is, before the server 1304 packages back, express the results of the prop operations in advance, and play sound effects, dynamic effects and the like.
Upon receipt of the return package from the server 1304, the state of the instruction set is updated based on the result of the return package. If for some reason (e.g., the results of the calculations by the client 1302 and the server 1304 are inconsistent), there are instances where the results are inconsistent or the data is inconsistent, the instructions may be revoked or revised.
In step S1304, the server 1304 requests to pull the player' S warehouse information in the database 1306;
step S1306, the database 1306 sends the warehouse information to the server 1304;
step S1308, the server 1304 processes warehouse operations;
in step S1310, the server 1304 writes the warehouse change to the database 1306;
step S1312, the database 1306 returns the information of successful writing;
step S1314, the server 1304 notifies the client 1302 of the details of the warehouse change;
step S1316, the client 1302 presents the final display;
optionally, in this embodiment, because the change of the position of the warehouse item, the container expansion and contraction, and other contents that need to be recorded and stored in real time are involved, the server side may perform one-time database data read-write on all warehouse request operations, and implement all warehouse operation logics. Finally, the change information of the warehouse is sent to the client for processing through the warehouse change record structured information; a typical warehouse operation process takes around +10ms of client to server delay, and in the case of a relatively poor client network, a simple prop movement operation, possibly to 2s + delay, requires a pre-rendering process by the client.
Optionally, in this embodiment, for the capacity expansion and capacity reduction of the warehouse, the warehouse depends on the loading and unloading of the capacity expansion props to realize the capacity expansion and capacity reduction. The form is somewhat similar to that of equipping a prop, extra space is obtained, and the design is in line with the intuition of a player. In terms of implementation, the basic idea of implementation of the server is as follows: the capacity expansion channel is provided with an independent equipment position, and the change of the warehouse capacity can be triggered by the installation and the disassembly of the equipment position props;
for further example, expanding prop equipment- > triggering capacity increase- > warehouse capacity expansion (expansion does not cause equipment position mutation) > notifying client side capacity change; expanding prop drop-triggering capacity reduction-warehouse capacity reduction operation (shifting down the item that cannot be dropped due to reduction) informing client capacity and item location change.
Optionally, in this embodiment, for automatic sorting and one-key sorting, the sorting function of the warehouse is mainly the server, because the server needs to strictly check whether the warehouse can be put down. When the player clicks the automatic sorting, the server is requested to sort, and the server synchronizes the sorted content to the client for display. For the situation of automatic sequencing, the performance overhead and the sequencing effect of the server are considered, the client performs sequencing on display instead of the sequencing caused by the change of the warehouse, a data layer (information such as prop positions stored by the server) is still reserved, and the server is automatically triggered to sequence when the server considers that the client cannot be placed currently (at the moment, the client may consider that the client can be placed down because the displayed structure is compact after sequencing);
for further example, the props are first sorted in a certain order. In the process of gradually putting in the props, horizontal lines (thick black lines in the figure) with inconsistent heights are generated, and starting from the black lines, a new space can be planned, as shown in fig. 2, so that the new space becomes a reference for putting in the next prop. And (3) putting the next prop into the horizontal line which is the leftmost line and can accommodate the prop, calculating a new horizontal line after putting the horizontal line into the horizontal line, and continuing the process. The algorithm has relatively high efficiency, the sorted results are compact, and the space can be fully utilized. Is the preferred algorithm for ranking.
Optionally, in this embodiment, for the process processing, the client performs secondary encapsulation on the server data related to the warehouse, and then stores the server data in the warehouse data center. Any prop operations by the user (including arming, unmounting, switching, moving, etc.) are buffered and then at the end of each frame, packaged and sent to the server. After receiving the return packet of the server, the data and the expression are updated in an incremental mode based on the operation result.
Optionally, in this embodiment, for performance optimization, the operation of the warehouse usually involves the performance of a large number of props, especially when the user frequently operates or operates in a large batch (for example, applies a ranking to the warehouse props), if the full amount is refreshed, there will be a significant performance peak. The client generates corresponding difference values (including property attributes, positions and the like) based on the operation instructions, counts all current incremental updates per frame, performs one-time combination, and then updates corresponding expressions based on the increments. For a prop blueprint, there are often a large number of sub-controls that are relevant to performance. The number of these child controls is large, but many are displayed only if certain conditions are met. If directly placed on the blueprint, there is a significant overhead of control creation and layout calculation (Prepass) overhead to create prop controls. The client side processes the child controls based on the principle of lazy loading, and the child controls are really created if and only if the child controls are not cached and need to be exposed, so that the overhead peak value of control creation is reduced and the average frame rate is increased. For the blueprints, the client side manages the object pool to reduce repeated creation and destruction of the blueprints.
It is understood that in the specific implementation of the present application, related data such as user information, when the above embodiments of the present application are applied to specific products or technologies, user permission or consent needs to be obtained, and the collection, use and processing of related data need to comply with related laws and regulations and standards of related countries and regions.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
According to another aspect of the embodiments of the present application, there is also provided a grid space management apparatus for implementing the above grid space management method. As shown in fig. 14, the apparatus includes:
a first display unit 1402, configured to display the space adjustment prop and a target grid space for storing the virtual prop, where the target grid space includes multiple storage grids, a storage capacity of the target grid space is a first storage capacity, and the storage capacity is used to indicate a number of storage grids allowed to be occupied by the virtual prop in the target grid space;
a first processing unit 1404, configured to, in a case that a space expansion request triggered by the space adjustment prop is obtained, perform expansion processing on the target grid space to obtain an expanded target grid space, where a second storage capacity of the expanded target grid space is greater than the first storage capacity;
the second processing unit 1406 is configured to, in a case that a space splitting request triggered by the space adjustment prop is acquired, split the target grid space to obtain at least two storage subspaces.
Optionally, in this embodiment, the management apparatus of the grid space may be, but is not limited to, applied in a scene that stores virtual items in a mobile-end game by using a grid technology; for example, a space storage interface of a virtual game is displayed on a mobile client, and a target grid space for spatially adjusting the props and storing the virtual props is also displayed in the space storage interface; under the condition that a space expansion request or a space splitting request triggered by the space adjusting prop on the mobile client is obtained, responding to the space expansion request or the space splitting request, and correspondingly adjusting the target grid space;
it should be noted that there is a substantial difference between the operation characteristics of the mobile terminal game and the operation characteristics of the PC terminal game, for example, when the virtual items are stored in the PC terminal game by using the grid technology, because the computer screen space is enough, the storage space displayed on the same screen is large (usually 10 columns × 13 rows), and the space grid for storing the virtual items is also large (usually 10 columns × 66 rows); in addition, the PC end also provides accurate and efficient operation of mutual matching of the mouse and the keyboard, so that a user at the PC end can further expand the grid space by storing the virtual prop in a container box with a small occupation space and then putting the container box into the grid space;
however, the mobile game does not have the operating characteristics of the PC game, and if the screen space of the mobile game is not enough as the space of a computer screen, more storage spaces can not be displayed on the same screen, which results in that the mobile game needs more storage grids facing the same storage space compared with the PC game; however, if the amount of the storage grid of the mobile-end game is increased, the storage state of the virtual items that are already gridded is usually affected, and for this reason, the related art is relatively conservative for managing the space grid of the mobile-end game; in addition, the screen space of the mobile terminal game is small, and no mouse provides accurate operation generally, so that if the expansion mode of the PC terminal game to the grid space is adopted, the problem that the operation of the mobile virtual prop in the grid space is inconvenient due to the fact that more storage grids are directly used is faced firstly, and the problem that the operation efficiency is low due to the fact that the mobile terminal is limited by the small screen space and lack of mouse cooperation is faced secondly.
Optionally, in this embodiment, the space adjustment prop may be, but is not limited to be, distinguished from a virtual prop, or a storage manner of the space adjustment prop may be, but is not limited to be, not meshed, so that a storage pressure of a target mesh space is also reduced; in addition, the storage mode of the space adjustment prop can be, but is not limited to, setting a separate storage space, and the storage space is set with an upper limit of space capacity; furthermore, the space adjustment prop may also be, but is not limited to, be understood as a consumed prop, for example, in the case of acquiring a space expansion request triggered by the space adjustment prop, the space adjustment prop may be set to be consumed and completed, and display of the space adjustment prop in the above-mentioned separate storage space may be cancelled.
Optionally, in this embodiment, the target grid space may be, but is not limited to, composed of a plurality of storage grids with the same size or different sizes, and in the process of storing the virtual item by using the target grid space, the virtual item may be, but is not limited to, firstly subjected to gridding processing, and a result of the gridding processing may be, but is not limited to, related to the item type of the virtual item, for example, the virtual item a is processed into a grid of 3 × 3, and the virtual item B is processed into a grid of 1 × 1, and further, when the virtual item a and the virtual item B are stored by using the target grid space, the virtual item a occupies the storage grid of 3 × 3 in the target grid space, and the virtual item B occupies the storage grid of 1 × 1 in the target grid space.
Optionally, in this embodiment, the space adjustment prop may be, but is not limited to, set to allow triggering of multiple types of space adjustment requests, where the multiple types of space adjustment requests at least include a space expansion request and a space splitting request;
optionally, in this embodiment, the two storage subspaces may be, but are not limited to, mesh subspaces understood as a target mesh space, and the number of the storage subspaces obtained by splitting the target mesh space is not limited (at least two); further, under the condition that a space splitting request triggered by the space adjustment prop is obtained, splitting is carried out on the target grid space, and a plurality of grid (storage) subspaces of the target grid space can be obtained but not limited;
optionally, in this embodiment, when the space adjustment prop has triggered one space adjustment request (a space expansion request or a space splitting request), another space adjustment request (a space expansion request or a space splitting request) may be triggered to replace the previous space adjustment request; if a space expansion request triggered by the space adjustment prop is responded, a target grid space after expansion is obtained; in response to a space splitting request triggered by the space adjusting prop, canceling the expansion of a target grid space, and obtaining a first storage space and a second storage space;
otherwise, in the same way, a space splitting request triggered by the space adjusting prop is responded to obtain a first storage space and a second storage space; and then responding to a space expansion request triggered by the space adjustment prop, canceling the splitting of the target grid space, and obtaining the expanded target grid space.
Optionally, in this embodiment, the multiple spatial adjustment props may be used in combination, but are not limited to be used in combination, for example, in a case of responding to a spatial expansion request triggered by the first spatial adjustment prop, performing expansion processing on the target grid space to obtain an expanded target grid space; then responding to a space splitting request triggered by a second space adjusting prop, and splitting the expanded target grid space to obtain a plurality of storage sub-spaces;
otherwise, in the same way, a space splitting request triggered by the first space adjusting prop is responded to obtain a first storage space and a second storage space; and responding to a space expansion request triggered by the second space adjustment prop to obtain the expanded first storage space and/or the expanded second storage space.
Optionally, in this embodiment, a manner of performing capacity expansion processing on the target grid space may have a higher degree of freedom, for example, when a space adjustment item of a first target storage amount of the target grid space that can be expanded is acquired, but a storage capacity of the target grid space that is expanded when the space adjustment item is triggered may be flexibly set, and when a first target capacity expansion request that is triggered to the space adjustment item is acquired, capacity expansion processing is performed on the target grid space to obtain a target grid space that is expanded by a second target storage amount, where the second target storage amount is lower than the first target storage amount; in addition, the method may also be, but is not limited to, obtaining a space sub-adjustment prop that may be expanded by a third target storage amount, where a sum of the third target storage amount and the second target storage amount is equal to the first target storage amount.
The method includes the steps that a display space adjusting item and a target grid space used for storing a virtual item are displayed, wherein the target grid space comprises a plurality of storage grids, the storage capacity of the target grid space is a first storage capacity, and the storage capacity is used for representing the number of the storage grids allowed to be occupied by the virtual item in the target grid space; under the condition that a space expansion request triggered by a space adjustment prop is obtained, carrying out expansion processing on a target grid space to obtain an expanded target grid space, wherein the second storage capacity of the expanded target grid space is larger than the first storage capacity; and under the condition of acquiring a space splitting request triggered by the space adjusting prop, splitting the target grid space to obtain at least two storage subspaces.
For a specific embodiment, reference may be made to the example shown in the management apparatus of the grid space, which is not described herein again in this example.
According to the embodiment provided by the application, the display space adjustment prop and the target grid space used for storing the virtual prop are displayed, wherein the target grid space comprises a plurality of storage grids, the storage capacity of the target grid space is a first storage capacity, and the storage capacity is used for representing the number of the storage grids allowed to be occupied by the virtual prop in the target grid space; under the condition that a space expansion request triggered by a space adjustment prop is obtained, carrying out expansion processing on a target grid space to obtain an expanded target grid space, wherein the second storage capacity of the expanded target grid space is larger than the first storage capacity; under the condition that a space splitting request triggered by a space adjusting prop is obtained, splitting processing is carried out on a target grid space to obtain at least two storage subspaces, and various types of requests triggered by the space adjusting prop are utilized to provide diversified management modes for management of the grid space, so that the purpose of flexibly managing the grid space is achieved, and the technical effect of improving management flexibility of the grid space is achieved.
As an alternative, the method comprises the following steps:
the second display unit is used for displaying at least two space identifiers after the target grid space is split to obtain at least two storage subspaces, wherein the space identifiers in the at least two space identifiers correspond to the storage subspaces in the at least two storage subspaces respectively;
the third display unit is used for displaying the first storage space under the condition of acquiring a first selected operation triggered by the first space identifier after the target grid space is split to obtain at least two storage subspaces;
and the fourth display unit is used for displaying the storage sub-spaces corresponding to the at least two space identifiers under the condition of acquiring the selection operation triggered by the target space identifier in the at least two space identifiers after the target grid space is split to obtain the at least two storage sub-spaces.
For a specific embodiment, reference may be made to the example shown in the above grid space management method, and details in this example are not described herein again.
As an alternative, the second processing unit 1406 includes:
the first processing module is used for splitting the expanded target grid space to obtain a first storage space and a second storage space, wherein the at least two storage subspaces comprise a first storage space and a 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 like, or, alternatively,
and the second processing module is used for splitting 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.
For a specific embodiment, reference may be made to the example shown in the above grid space management method, and details in this example are not described herein again.
As an alternative, the first processing unit 1404 includes:
an increase module to increase a number of storage grids included in the target grid space.
For a specific embodiment, reference may be made to the example shown in the above grid space management method, and details in this example are not described herein again.
As an alternative, the first processing unit 1404 includes:
and the improving module is used for improving the storage grade of the target storage grid under the condition that the target storage grid included in the target grid space is selected and the space expansion request is obtained, wherein the storage grade and the space amount allowed to be occupied by the virtual prop by the target storage grid are in positive correlation.
For a specific embodiment, reference may be made to the example shown in the above grid space management method, and details in this example are not described herein again.
As an optional scheme, the apparatus further comprises:
the device comprises a first obtaining unit, a second obtaining unit and a third obtaining unit, wherein the first obtaining unit is used for obtaining a space arrangement request triggered by a target grid space, the space arrangement request is used for requesting to adjust the storage positions of N virtual props stored in the target grid space, and N is a natural number;
and the first adjusting unit is used for responding to the space arrangement request and adjusting the storage positions of the N virtual props in the target grid space according to prop information corresponding to each of the N virtual props.
For a specific embodiment, reference may be made to the example shown in the above grid space management method, and details in this example are not described herein again.
As an alternative, the first adjusting unit includes:
the acquisition module is used for acquiring the prop priority corresponding to each virtual prop in the N virtual props;
and the determining module is used for determining the storage sequencing position of each virtual item in the N virtual items in the target grid space according to the item priority.
For a specific embodiment, reference may be made to the example shown in the above grid space management method, and details in this example are not described herein again.
As an optional scheme, the apparatus further comprises:
the second obtaining unit is used for obtaining a screening display request triggered by the target grid space, wherein the screening display request is used for requesting to display K virtual props which are stored in the target grid space and meet screening conditions, and K is a natural number;
and the fifth display unit is used for responding to the screening display request and displaying a prop view corresponding to each virtual prop in the K virtual props.
For a specific embodiment, reference may be made to the example shown in the above grid space management method, and details in this example are not described herein again.
As an optional scheme, the apparatus further comprises:
a third obtaining unit, configured to obtain target selection operations executed on Q virtual items stored in a 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, where the target prompt information is used to prompt all virtual props belonging to the target prop type stored in the selected target grid space;
and the selecting unit is used for responding to a target selecting request triggered on the target prompt message and selecting all the virtual props which are stored in the target grid space and belong to the types of the target props.
For a specific embodiment, reference may be made to the example shown in the above grid space management method, and details in this example are not described herein again.
As an optional scheme, the apparatus further comprises:
the seventh display unit is used for displaying the at least two storage subspaces under the condition of obtaining the space expansion request and sending the space splitting request to the second server;
and the second adjusting unit is used for adjusting the at least two storage subspaces according to the second target space information 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 under the condition that the space expansion request is obtained.
For a specific embodiment, reference may be made to the example shown in the above grid space management method, and details in this example are not described herein again.
As an optional scheme, the apparatus further comprises:
the eighth display unit is used for displaying the first storage space and the second storage space under the condition of acquiring the space splitting request and sending the space splitting request to the second server;
and a third adjusting unit, configured to, when the space splitting request is obtained, receive second target space information returned by the second server, where the second target space information is different from the space information of the first storage space and the second storage space, adjust the first storage space and the second storage space according to the second target space information.
For a specific embodiment, reference may be made to the example shown in the above grid space management method, and details in this example are not described herein again.
As an optional scheme, the apparatus further comprises:
a fourth obtaining unit, configured to obtain difference data corresponding to any operation or request when any operation or request associated with a target grid space is obtained, where the difference data is used to indicate a difference between a response result of any operation or request and original data, and any operation or request includes a space expansion request and a space splitting request;
and the integration unit is used for integrating the difference data and the original data to obtain a response result.
For a specific embodiment, reference may be made to the example shown in the above grid space management method, and details in this example are not described herein again.
According to yet another aspect of the embodiments of the present application, there is also provided an electronic device for implementing the method for managing a grid space, as shown in fig. 14, the electronic device includes a memory 1402 and a processor 1404, the memory 1402 stores therein a computer program, and the processor 1404 is configured to execute the steps in any one of the method embodiments described above through the computer program.
Optionally, in this embodiment, the electronic device may be located in at least one network device of a plurality of network devices of a computer network.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, displaying the space adjustment prop and a target grid space for storing the virtual prop, wherein the target grid space comprises a plurality of storage grids, the storage capacity of the target grid space is a first storage capacity, and the storage capacity is used for representing the number of the storage grids allowed to be occupied by the virtual prop in the target grid space;
s2, under the condition that a space expansion request triggered by the space adjustment prop is obtained, carrying out expansion processing on the target grid space to obtain an expanded target grid space, wherein the second storage capacity of the expanded target grid space is larger than the first storage capacity;
and S3, under the condition that a space splitting request triggered by the space adjusting prop is obtained, splitting the target grid space to obtain at least two storage subspaces.
Alternatively, it can be understood by those skilled in the art that the structure shown in fig. 14 is only an illustration, and the electronic device may also be a terminal device such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palmtop computer, and a Mobile Internet Device (MID), a PAD, and the like. Fig. 14 does not limit the structure of the electronic device. For example, the electronic device may also include more or fewer components (e.g., network interfaces, etc.) than shown in FIG. 14, or have a different configuration than shown in FIG. 14.
The memory 1402 may be configured to store software programs and modules, such as program instructions/modules corresponding to the method and apparatus for managing a grid space in the embodiment of the present application, and the processor 1404 executes various functional applications and data processing by running the software programs and modules stored in the memory 1402, so as to implement the above-mentioned method for managing a grid space. Memory 1402 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 1402 may further include memory located remotely from the processor 1404, which may be connected to a terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof. Memory 1402 may be used to store information such as space adjusting props, target grid spaces, and virtual props, but is not limited to such. As an example, as shown in fig. 14, the memory 1402 may include, but is not limited to, a first display unit 1402, a first processing unit 1404, and a second processing unit 1406 in the management apparatus including the grid space. In addition, other module units in the management apparatus of the grid space may also be included, but are not limited to these, and are not described in detail in this example.
Optionally, the transmitting device 1406 is used for receiving or sending data via a network. Examples of the network may include a wired network and a wireless network. In one example, the transmission device 1406 includes a Network adapter (NIC) that can be connected to a router via a Network cable and other Network devices to communicate with the internet or a local area Network. In one example, the transmitting device 1406 is a Radio Frequency (RF) module, which is used to communicate with the internet by wireless means.
In addition, the electronic device further includes: a display 1408 for displaying information such as the above-mentioned space adjustment prop, the target grid space, and the virtual prop; and a connection bus 1410 for connecting the respective module parts in the above-described electronic apparatus.
In other embodiments, the terminal device or the server may be a node in a distributed system, where the distributed system may be a blockchain system, and the blockchain system may be a distributed system formed by connecting a plurality of nodes through a network communication. The nodes may form a Peer-To-Peer (P2P) network, and any type of computing device, such as a server, a terminal, and other electronic devices, may become a node in the blockchain system by joining the Peer-To-Peer network.
According to an aspect of the application, there is provided a computer program product comprising a computer program/instructions containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication section, and/or installed from a removable medium. When executed by the central processing unit, the computer program performs various functions provided by the embodiments of the present application.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
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 the scope of the application of the embodiments.
The computer system includes a Central Processing Unit (CPU) that can perform various appropriate actions and processes according to a program stored in a Read-Only Memory (ROM) or a program loaded from a storage section into a Random Access Memory (RAM). In the random access memory, various programs and data necessary for the operation of the system are also stored. The central processor, the read-only memory and the random access memory are connected with each other through a bus. An Input/Output interface (i.e., I/O interface) is also connected to the bus.
The following components are connected to the input/output interface: an input section including a keyboard, a mouse, and the like; an output section including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, a speaker, and the like; a storage section including a hard disk and the like; and a communication section including a network interface card such as a local area network card, a modem, or the like. The communication section performs communication processing via a network such as the internet. The driver is also connected to the input/output interface as needed. A removable medium such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive as necessary, so that a computer program read out therefrom is mounted into the storage section as necessary.
In particular, according to embodiments of the present application, the processes described in the various method flowcharts may be implemented as computer software programs. For example, embodiments of the present application include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication section, and/or installed from a removable medium. The computer program, when executed by the central processor, performs various functions defined in the system of the present application.
According to an aspect of the present application, there is provided a computer-readable storage medium from which a processor of a computer device reads computer instructions, the processor executing the computer instructions to cause the computer device to perform the method provided in the above-mentioned various alternative implementations.
Alternatively, in the present embodiment, the above-mentioned computer-readable storage medium may be configured to store a computer program for executing the steps of:
s1, displaying the space adjustment prop and a target grid space for storing the virtual prop, wherein the target grid space comprises a plurality of storage grids, the storage capacity of the target grid space is a first storage capacity, and the storage capacity is used for representing the number of the storage grids allowed to be occupied by the virtual prop in the target grid space;
s2, under the condition that a space expansion request triggered by the space adjustment prop is obtained, carrying out expansion processing on the target grid space to obtain an expanded target grid space, wherein the second storage capacity of the expanded target grid space is larger than the first storage capacity;
and S3, under the condition that a space splitting request triggered by the space adjusting prop is obtained, splitting the target grid space to obtain at least two storage subspaces.
Alternatively, in this embodiment, a person skilled in the art may understand that all or part of the steps in the methods of the foregoing embodiments may be implemented by a program instructing hardware associated with the terminal device, where the program may be stored in a computer-readable storage medium, and the storage medium may include: flash disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
The integrated unit in the above embodiments, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a storage medium, and including instructions for causing one or more computer devices (which may be personal computers, servers, network devices, or the like) to execute all or part of the steps of the method of the embodiments of the present application.
In the above embodiments of the present application, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely illustrative, and for example, a division of a unit is merely a division of a logic function, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The foregoing is only a preferred embodiment of the present application and it should be noted that those skilled in the art can make several improvements and modifications without departing from the principle of the present application, and these improvements and modifications should also be considered as the protection scope of the present application.

Claims (15)

1. A method for managing a grid space, comprising:
the method comprises the steps that a space adjustment prop and a target grid space used for storing virtual props are displayed, wherein the target grid space comprises a plurality of storage grids, the storage capacity of the target grid space is a first storage capacity, and the storage capacity is used for representing the number of the storage grids allowed to be occupied by the virtual props in the target grid space;
under the condition that a space expansion request triggered by the space adjustment prop is obtained, carrying out expansion processing on the target grid space to obtain an expanded target grid space, wherein the second storage capacity of the expanded target grid space is larger than the first storage capacity;
and under the condition of acquiring a space splitting request triggered by the space adjusting prop, splitting the target grid space to obtain at least two storage subspaces.
2. The method according to claim 1, wherein after the splitting the target grid space into at least two storage subspaces, comprising:
displaying at least two space identifiers, wherein a space identifier of the at least two space identifiers corresponds to a storage subspace of the at least two storage subspaces;
and displaying the storage sub-spaces corresponding to the at least two space identifiers under the condition of acquiring the selected operation triggered by the target space identifier in the at least two space identifiers.
3. The method of claim 1, wherein the splitting the target grid space into at least two storage subspaces comprises:
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 like, or, alternatively,
splitting the expanded target grid space 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 performing capacity expansion processing on the target grid space to obtain a target grid space after capacity expansion includes:
increasing the number of storage grids included in the target grid space.
5. The method according to claim 1, wherein the performing capacity expansion processing on the target grid space to obtain a target grid space after capacity expansion in the case of obtaining a space capacity expansion request triggered by the space adjustment prop includes:
and under the condition that a target storage grid included in the target grid space is selected and the space expansion request is acquired, improving the storage grade of the target storage grid, wherein the storage grade and the space amount allowed to be occupied by the virtual prop by the target storage grid are in positive correlation.
6. The method of claim 1, further comprising:
acquiring a space arrangement request triggered by the target grid space, wherein the space arrangement request is used for requesting to adjust the storage positions of N virtual props stored in the target grid space, and N is a natural number;
and responding to the space arrangement request, and adjusting the storage positions of the N virtual props in the target grid space according to prop information corresponding to each virtual prop in the N virtual props.
7. The method of claim 6, wherein the adjusting the storage locations of the N virtual items in the target grid space according to the item information corresponding to each of the N virtual items comprises:
acquiring a prop priority corresponding to each virtual prop in the N virtual props;
and determining the storage sequencing position of each virtual item in the N virtual items in the target grid space according to the item priority.
8. The method of claim 1, further comprising:
acquiring a screening display request triggered to the target grid space, wherein the screening display request is used for requesting to display K virtual props which are stored in the target grid space and meet screening conditions, and K is a natural number;
and responding to the screening display request, and displaying a prop view corresponding to each virtual prop in the K virtual props.
9. The method of claim 1, further comprising:
acquiring target selection operations executed on Q virtual props stored in the target grid space, wherein Q is a natural number;
under the condition that the number of the virtual props belonging to the target prop type in the Q virtual props reaches a target threshold value, displaying target prompt information, wherein the target prompt information is used for prompting that all the virtual props belonging to the target prop type and stored in the target grid space are selected;
and responding to a target selection request triggered on the target prompt message, and selecting all the virtual props which are stored in the target grid space and belong to the target prop types.
10. The method according to any one of claims 1 to 9, wherein in a case where the space expansion request is acquired, the method further includes:
displaying the target grid space after capacity expansion, and sending the space capacity expansion request to a first server;
and under the condition that 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, adjusting the expanded target grid space according to the first target space information.
11. The method according to any one of claims 1 to 9, wherein in a case where the space splitting request is acquired, the method further comprises:
displaying the at least two storage subspaces, and sending the space splitting request to a second server;
and under the condition that second target space information returned by the second server is received and is different from the space information of the at least two storage subspaces, adjusting the at least two storage subspaces according to the second target space information.
12. The method according to any one of claims 1 to 9, further comprising:
under the condition that any operation or request associated with the target grid space is obtained, obtaining difference value data corresponding to the operation or request, wherein the difference value data is used for representing a difference value of a response result of the operation or request relative to original data, and the operation or request comprises the space expansion request and the space splitting request;
and integrating the difference data and the original data to obtain the response result.
13. A computer-readable storage medium, comprising a stored program, wherein the program when executed performs the method of any of claims 1 to 12.
14. A computer program product comprising computer program/instructions, characterized in that the computer program/instructions, when executed by a processor, implement the steps of the method as claimed in any one of claims 1 to 12.
15. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method of any of claims 1 to 12 by means of the computer program.
CN202210074881.6A 2022-01-21 2022-01-21 Grid space management method, storage medium and electronic device Pending CN114416371A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210074881.6A CN114416371A (en) 2022-01-21 2022-01-21 Grid space management method, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210074881.6A CN114416371A (en) 2022-01-21 2022-01-21 Grid space management method, storage medium and electronic device

Publications (1)

Publication Number Publication Date
CN114416371A true CN114416371A (en) 2022-04-29

Family

ID=81275453

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210074881.6A Pending CN114416371A (en) 2022-01-21 2022-01-21 Grid space management method, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN114416371A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116723057A (en) * 2023-08-09 2023-09-08 上海凯翔信息科技有限公司 Cloud NAS multi-account storage system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116723057A (en) * 2023-08-09 2023-09-08 上海凯翔信息科技有限公司 Cloud NAS multi-account storage system
CN116723057B (en) * 2023-08-09 2023-11-10 上海凯翔信息科技有限公司 Cloud NAS multi-account storage system

Similar Documents

Publication Publication Date Title
US11064053B2 (en) Method, apparatus and system for processing data
CN102932777B (en) The update method of a kind of terminal applies and user terminal
CN113268226B (en) Page data generation method, device, storage medium and equipment
KR20070008564A (en) Display of menu items in a user interface
US20130227085A1 (en) Terminal and method for using cloud services
CN110633032B (en) Icon display method and device for terminal equipment
CN112114849B (en) Resource updating method and device
CN111400334A (en) Data processing method, data processing device, storage medium and electronic device
CN110928397B (en) User interface refreshing method and device, storage medium and electronic device
CN114416371A (en) Grid space management method, storage medium and electronic device
CN108874495B (en) Theme resource conversion method and device and electronic equipment
CN103634032A (en) Data transferring method and system and mobile terminal
CN106066874B (en) Object processing method and terminal
CN116088721A (en) Page interaction method, device, equipment and storage medium
CN115758002A (en) Method, device, equipment and program product for displaying electronic map POI
CN109309858A (en) A kind of display methods, device, equipment and the medium of mutual exclusion icon
CN113721936A (en) Application management method, intelligent terminal, device and storage medium
CN113672226A (en) Front-end component generation method, display method and related device
US20230038513A1 (en) Interface display method and device, storage medium, and electronic device
CN118170565B (en) Cluster resource determination method based on Kubernetes
CN113946255A (en) Method and device for running list view control and electronic equipment
CN113221524A (en) Tree-type table display method and device, storage medium and electronic device
CN115310415B (en) Data export method, device, equipment and storage medium
CN109918153B (en) Page opening method and device and page content retrieval method and device
CN118673049A (en) Data processing method, device, apparatus, medium and program product

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40071005

Country of ref document: HK