CN104601603B - A kind of game resource processing method and equipment - Google Patents

A kind of game resource processing method and equipment Download PDF

Info

Publication number
CN104601603B
CN104601603B CN201510088400.7A CN201510088400A CN104601603B CN 104601603 B CN104601603 B CN 104601603B CN 201510088400 A CN201510088400 A CN 201510088400A CN 104601603 B CN104601603 B CN 104601603B
Authority
CN
China
Prior art keywords
game resource
request
operating area
user
setting information
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.)
Active
Application number
CN201510088400.7A
Other languages
Chinese (zh)
Other versions
CN104601603A (en
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.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN201510088400.7A priority Critical patent/CN104601603B/en
Publication of CN104601603A publication Critical patent/CN104601603A/en
Application granted granted Critical
Publication of CN104601603B publication Critical patent/CN104601603B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/131Protocols for games, networked simulations or virtual reality

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Transfer Between Computers (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

Embodiments of the present invention provide a kind of game resource processing method.This method includes:The request for changing game resource storage location in response to user, obtains the operating area setting information pre-saved, and the operating area setting information belongs to operable area or quiescing region for identifying the operating area;According to the operating area setting information, the request that the user is responded in operable area changes the storage location of game resource.By the way that operable area and/or quiescing region are voluntarily arranged by user, so that the game resource in quiescing region by the request of specific change game resource storage location is not influenced that the resource article in memory space is arranged or sorted repeatedly without user, reduce the troublesome operation of user, to significantly reduce the interaction of client and server, better experience is brought for user.In addition, embodiments of the present invention provide a kind of game resource processing equipment.

Description

A kind of game resource processing method and equipment
Technical field
Embodiments of the present invention are related to technical field of information processing, more specifically, embodiments of the present invention are related to one Kind game resource processing method and equipment.
Background technology
Background that this section is intended to provide an explanation of the embodiments of the present invention set forth in the claims or context.Herein Description recognizes it is the prior art not because not being included in this part.
In technical field of information processing, especially in game application field, it is often necessary to the resource in game into Row storage and arrangement.Resource in game includes knapsack, warehouse, embroidered purse, stage property etc..It is often that these resources carry in game application For special memory space.In the prior art, when player obtains new game resource, such as when new stage property, system can will obtain The new stage property obtained is automatically added to the vacant position of memory space.When player, which sends, arranges request, system can be according to self-defined Stage property sort method the stage property in memory space is arranged.
Invention content
In practical applications, player often puts the resource article in memory space according to the operating habit of oneself, when System is customized when obtaining new stage property either initiation arranging the request of memory space puts or sort method often influences Or change player's existing resource laying for goods sequence already, cause the inconvenience on player exercises and stage property use.Player exists Resource article put sequence be changed after, need that the resource article in memory space is arranged or sorted again, when When the resource article that player possesses is more, aforesaid operations are very cumbersome processes, and server is also required to frequently respond player's Request, causes the load down of server.
Therefore in the prior art, storage and arrangement to game resource are very bothersome processes.
Thus, it is also very desirable to which a kind of improved game resource processing method reduces client to reduce the troublesome operation of user The frequent interaction at end and server reduces server load, improves system performance.
In the present context, embodiments of the present invention are intended to provide a kind of game resource processing method and equipment.
In the first aspect of embodiment of the present invention, a kind of game resource processing method is provided, including:In response to Family changes the request of game resource storage location, obtains the operating area setting information pre-saved, the operating area setting Information belongs to operable area or quiescing region for identifying the operating area;
According to the operating area setting information, the request that the user is responded in operable area changes game resource Storage location.
In the second aspect of embodiment of the present invention, a kind of equipment is provided, including:
Obtaining unit is configured to change the request of game resource storage location in response to user, obtains and pre-save Operating area setting information, the operating area setting information belong to operable area or taboo for identifying the operating area Only operating area;
Processing unit is configured to, according to the operating area setting information, the user be responded in operable area Request change game resource storage location.
According to the game resource processing method and equipment of embodiment of the present invention, operable area can be voluntarily set by user Domain and/or quiescing region so that the game resource in quiescing region is not by specific change game resource storage location The influence of request reduces user it is therefore not necessary to which user arranges or sorts to the resource article in memory space repeatedly Troublesome operation, to significantly reduce the interaction of client and server, and reduce the load of server, improve Server performance brings better experience for user.
Description of the drawings
Detailed description below, above-mentioned and other mesh of exemplary embodiment of the invention are read by reference to attached drawing , feature and advantage will become prone to understand.In the accompanying drawings, if showing the present invention's by way of example rather than limitation Dry embodiment, wherein:
Fig. 1 schematically shows the application scenarios that can be realized wherein according to embodiment of the present invention;
Fig. 2 schematically shows game resource processing methods according to an embodiment of the invention;
Fig. 3 schematically shows the game resource processing method according to further embodiment of this invention;
Fig. 4 A schematically show an application scenarios schematic diagram of the invention;
Fig. 4 B schematically show prior art game resource processing method effect diagram;
Fig. 4 C schematically show the game resource processing method effect diagram of the present invention;
Fig. 5 schematically shows game resource processing method according to yet another embodiment of the invention;
Fig. 6 A schematically show another application schematic diagram of a scenario of the present invention;
Fig. 6 B schematically show prior art game resource treatment effect schematic diagram;
Fig. 6 C schematically show the game resource processing method effect diagram of the present invention;
Fig. 7 schematically shows game resource processing equipment block diagram according to the ... of the embodiment of the present invention.
In the accompanying drawings, identical or corresponding label indicates identical or corresponding part.
Specific implementation mode
The principle and spirit of the invention are described below with reference to several illustrative embodiments.It should be appreciated that providing this A little embodiments are used for the purpose of making those skilled in the art can better understand that realizing the present invention in turn, and be not with any Mode limits the scope of the invention.On the contrary, these embodiments are provided so that the disclosure is more thorough and complete, and energy It is enough that the scope of the present disclosure is completely communicated to those skilled in the art.
Art technology technical staff knows, embodiments of the present invention can be implemented as a kind of system, device, equipment, Method or computer program product.Therefore, the disclosure can be with specific implementation is as follows, i.e.,:It is complete hardware, complete soft The form that part (including firmware, resident software, microcode etc.) or hardware and software combine.
According to the embodiment of the present invention, it is proposed that a kind of method and apparatus of game resource processing.
Herein, it is to be understood that involved term game resource indicates can be user in game application All kinds of resources such as the object used, including but not limited to knapsack, warehouse, embroidered purse, stage property.
In addition, any number of elements in attached drawing be used to example and it is unrestricted and it is any name be only used for distinguishing, Without any restrictions meaning.
Below with reference to several representative embodiments of the present invention, the principle and spirit of the invention are illustrated in detail.
Summary of the invention
The inventors discovered that in practical applications, player often puts according to the operating habit of oneself in memory space Resource article, when obtaining new stage property or initiation arranges the request of memory space, the customized pendulum of system in the prior art Putting either sort method often influences or changes player's existing resource laying for goods sequence already, cause player exercises and Inconvenience in stage property use.Player resource article put sequence be changed after, need again to the resource in memory space Article is arranged or is sorted, and when the resource article that player possesses is more, aforesaid operations are very cumbersome processes, service Device is also required to frequently respond the request of player, causes the load down of server.
Therefore for user's operation in the prior art, cumbersome, server needs frequent customer in response end request to cause server The problem of load down, the present invention provides a kind of game resource processing method and equipment, and can be voluntarily arranged by user can grasp Make region and/or quiescing region so that the game resource in quiescing region is not stored by specific change game resource The influence of position requests reduces it is therefore not necessary to which user arranges or sorts to the resource article in memory space repeatedly The troublesome operation of user to significantly reduce the interaction of client and server, and reduces the load of server, carries High server performance, better experience is brought for user.
After the basic principle for describing the present invention, lower mask body introduces the various non-limiting embodiment party of the present invention Formula.
Application scenarios overview
Referring initially to Fig. 1, it is schematically shown that according to the applied field that can be realized wherein of embodiment of the present invention Scape.Wherein, game number can be transmitted between client device 100 and server apparatus 200 shown in FIG. 1 by network interaction According to.Method provided by the invention is mainly used in 100 side of client device.Shown client device 100 can be applied to electronics In equipment, the electronic equipment can be existing, researching and developing or research and development in the future any electronic equipments, including but unlimited In:Existing, researching and developing or research and development in the future, desktop computer, laptop computer, mobile terminal (including intelligent hand Machine, non-smart mobile phone, various tablet computers) etc..In addition, the present invention application scenarios in, although herein with below will be of the invention The action description of embodiment is to be executed by client device 100, but these actions can also be held by server apparatus 200 Row, naturally it is also possible to partly be executed by server apparatus 200 by the execution of client device 100, partly.The present invention is in executive agent Aspect is unrestricted, as long as performing the action disclosed in embodiment of the present invention.
It will be understood by those skilled in the art that schematic diagram shown in FIG. 1 is only that embodiments of the present invention can be wherein An example being achieved.The scope of application of embodiment of the present invention is not limited by any aspect of the frame.
Illustrative methods
With reference to the application scenarios of Fig. 1, it is described with reference to Figure 2 according to exemplary embodiment of the invention for playing The method of resource processing.It should be noted that above application scene be merely for convenience of understanding spirit and principles of the present invention and It shows, embodiments of the present invention are unrestricted in this regard.On the contrary, embodiments of the present invention can be applied to be applicable in Any scene.
Referring to Fig. 2, it is schematically shown that game resource process flow figure according to an embodiment of the invention, the party Method for example may include specifically:
S201 changes the request of game resource storage location in response to user, obtains the operating area setting pre-saved Information, the operating area setting information belong to operable area or quiescing region for identifying the operating area.
When the present invention implements, client can receive the request that user changes game resource storage location, and ring It is asked described in Ying Yu, obtains the operating area setting information pre-saved.Wherein, the operating area setting information can by with Family is preset.Client can receive the setting request of user's operation region, obtain corresponding with operating area setting request Operating area setting information.
Wherein, the operating area setting information includes the start position information and stop bits confidence in quiescing region Breath.The mode of user setting operating area can be flexile.
It is illustrated so that operating area is divided into multiple game resource lattice as an example below.It, can be with for example, corresponding mouse input Behaviour is arranged as operating area in the operation that two game resource lattice are successively had chosen while user is pinned a certain specific keys Make, the game resource lattice that user is first chosen are as the starting position in quiescing region, the game resource that will be chosen after user End position of the lattice as quiescing region, vice versa.In this manner it is possible to pass through the location information of two game resource lattice Obtain the location information in quiescing region.Usually, it is only necessary to the corresponding initial range of recording prohibition operating area, example Such as the corresponding coordinate in starting position and the corresponding coordinate of end position.For another example, in some implementations, when operating area is drawn When being divided into multiple game resource lattice, it can also be used as in such a way that record starts resource grid and ending resource case marker number and forbid grasping Make the start position information and end position information in region.In short, concrete implementation mode is flexile, the present invention is to this It is not limited.
In the realization method of another possibility, the operation that user carries out operating area setting can be that user clicks mouse Mark button continuously streaks the operation of multiple game resource lattice or continuous game area, and user can be pressed to the position of mousebutton The starting position as quiescing region is set, user is unclamped into the position of mousebutton as the stop bits in quiescing region It sets.
It should be noted that being illustrated so that mouse inputs as an example above.Corresponding user is in the terminal institute with touch screen Corresponding gesture input operation, can also determine the setting model in quiescing region by way of the gesture input of detection user It encloses.For example, clicking corresponding region or menu triggering behaviour in the user interface that user can provide in terminal or electronic equipment Make region setting, then click operation setting quiescing region by touching twice, first time is touched to click to be used as and is forbidden The starting position of operating area touches the end position clicked as quiescing region by second.Certainly, user can be same When click operating area different location, using the region between two touch points as the range in quiescing region.
The mode of several possible determining operating area setting operations is illustrated above, it should be noted that with On be exemplary illustration, those skilled in the art belong to this in other realization methods for not making the creative labor lower acquisition The protection domain of invention.
It should be noted that after user has carried out operating area setting, you can to preserve operating area setting information, institute It states operating area setting information and belongs to operable area or quiescing region for identifying the operating area.Operating area Setting information can also include the start position information of operable area and/or the start position information in quiescing region.Institute Stating operating area setting information can both be stored in client device, can also be stored in server apparatus, can also two Person preserves.In one possible implementation, client device is receiving the setting request of user's operation region, acquisition and institute After stating the corresponding operating area setting information of operating area setting request, i.e., the operating area setting information is sent to service Device equipment stores described information by server apparatus.Client device is when each startup game or is receiving use When family changes the request of game resource storage location, the operating area setting information is asked to server apparatus.
When specific implementation, the request that the user changes game resource storage location can be specifically:Add new game The request of resource.The request that the user changes game resource storage location can also be that arranging game resource asks.
It should be noted that before obtaining the operating area setting information pre-saved, client device can also be first Judge whether the request that the user changes game resource storage location is preset request type;If it is, executing acquisition The operating area setting information pre-saved.For example, client device, which can be pre-set, only receives asking for preset kind When asking, just triggering obtains the operation of operating area setting information.The preset request type can be pre- by system or user First set.For example, the preset request type includes when adding the request of new game resource and arranging game resource request, When so receiving the request that other change game resource storage location, then the behaviour for obtaining operating area setting information will not be triggered Make.For example, when the request for changing game resource storage location is the request of moving game resource or asking using game resource When asking, then the operation for obtaining operating area setting information will not be triggered.
S202, according to the operating area setting information, the request that the user is responded in operable area changes trip The storage location for resource of playing.
It should be noted that the request type of corresponding different change game resource storage location, S202 has different Realization method.It is illustrated by taking two kinds of typical realization methods as an example below.
In one possible implementation, when the request that the user changes game resource storage location is that addition is new The request of game resource, it is described according to the operating area setting information, the request of the user is responded in operable area Change game resource storage location include:According to the operating area setting information, the coordinate range of operable area is obtained; Idle memory region is retrieved in the coordinate range, the new game resource is stored in the idle memory region, Establish the correspondence of the new game resource and the idle memory region.In a kind of this realization method, client is set The standby operating area setting information according to acquisition obtains the range that can be used for storing new game resource, you can operating area Coordinate range, idle storage region is retrieved in the coordinate range, new game resource, which is stored in the free time, to be deposited In storage area domain.In this way, the storage location of the game resource in the pre-set quiescing region of user will not be due to other It operates and is changed, user thereby reduces client without carrying out position adjustment to the game resource in memory space again Interaction between server apparatus reduces the load of server.
In the realization method of another possibility, when the request that the user changes game resource storage location is to arrange Game resource is asked, and described according to the operating area setting information, the request that the user is responded in operable area changes Become game resource storage location include:According to the operating area setting information, the coordinate range of operable area is obtained;It is right Game resource in the coordinate range of the operable area carries out position adjustment, the game resource after adjustment is stored in described Correspondence storage location in operable area, and the corresponding of the corresponding storage location of game resource established after adjustment is closed System.In a kind of this realization method, client device can carry out game money according to the operating area setting information of acquisition, acquisition The regional extent of source position adjustment carries out the game resource in the coordinate range with the coordinate range that can be operated region Adjustment.In this way, the storage location of the game resource in the pre-set quiescing region of user will not be adjusted, and protect Its original storage location is held, only object of the game resource in operable area just as adjustment is adjusted.It is specific real Now, carrying out position adjustment to the game resource in the coordinate range of the operable area can be according to preset mode or plan Slightly execute.For example, can be adjusted according to priority, the type of the game resource in the coordinate range of operable area, This is without limiting.When carrying out position adjustment to game resource due to client device, the trip in quiescing region will not be changed The storage location for resource of playing, user thereby reduce visitor without carrying out position adjustment to the game resource in memory space again Interaction between family end and server apparatus reduces the load of server.
It should be noted that the request for changing game resource storage location with user above is to add new game resource It is illustrated for request or arrangement game resource request, method of the invention is to other change game resource storage locations Request is also suitable.The method of the present invention is also applied in other application scene, herein without limiting.
In this embodiment, operable area and/or quiescing region can be voluntarily set by user so that forbid Game resource in operating area is not influenced by the request of specific change game resource storage location, it is therefore not necessary to which user is repeatedly Resource article in memory space is arranged or sorted, the troublesome operation of user is reduced, to significantly reduce The interaction of client and server, and reduce the load of server, server performance is improved, is brought more preferably for user Experience.
Referring to Fig. 3, it is schematically shown that according to the game resource processing method of further embodiment of this invention.
S301, client device receive the setting request of user's operation region, obtain and operating area setting request pair The operating area setting information answered.
S302, client device send the operating area setting information to server apparatus.
S303, server apparatus receive and store the operating area setting information.
S304, client device receive the request for adding new game resource.
Wherein, the request for adding new game resource can be for example the request for adding new stage property, can also be to add Add the request of new embroidered purse, herein without limiting.
S305, client device judge whether the request for adding new game resource is preset request type;Such as Fruit is, into S306.If it is not, then retrieving free storage location in all operationss region, the new game resource is deposited Storage establishes the correspondence of the new game resource and the idle memory region in the idle memory region.
S306, client device obtain operating area setting information.
Wherein, client device can obtain the operating area setting information from the information that itself is preserved, can also The operating area setting information is asked to server apparatus.Client device can be when game application starts, i.e., to service Operating area setting information described in device device request simultaneously stores on a client device.Can also be to receive the new trip of addition The request for resource of playing and when determining that it is preset request type, then ask the operating area setting information to server.
S307, client device judge whether quiescing region according to the operating area setting information, if It is then to retrieve idle memory region in the coordinate range of operable area, the new game resource is stored in the sky In not busy storage region, the correspondence of the new game resource and the idle memory region is established.
When specific implementation, client device when judge there are when quiescing region, i.e., can skip quiescing region, and Only idle memory region is retrieved in the coordinate range of operable area.By taking storage region is divided into multiple game resource lattice as an example It illustrating, each game resource lattice of storage region have corresponding number or label, new in client end response addition It when the request of game resource, such as when adding the request of new stage property, can retrieve, and be locked successively from the beginning to the end in sequence Quiescing region can directly skip retrieval regardless of whether available free memory space is idle game resource lattice.Client Equipment only retrieves the whether available free position of the game resource lattice in addition to quiescing region, if so, then by new game In resource storage to the position of the free time, and establish the correspondence of new game resource and the storage region.The sky Not busy storage region will also be identified as occupied.
This realization method of the present invention is illustrated referring to Fig. 4 A- Fig. 4 C.Wherein, schematic referring to Fig. 4 A Ground shows an application scenarios schematic diagram of the invention.In Figure 4 A, memory space is divided into multiple game resource lattice, Mei Geyou Play resource grid can identify the position where oneself with coordinate or number, for example, its abscissa can use the resource grid The row at place indicate that ordinate can indicate with the row where the resource grid.Wherein, depositing where game resource A The corresponding game resource lattice in storage area domain can be expressed as a1.The corresponding game resource lattice of storage region where game resource B can To be expressed as b1.Wherein it is possible to an array to identifying game resource, for example, game resource A corresponding arrays to for (a1,1).It is of course also possible to show that its position arranges for a to identifying game resource lattice, such as (a1,1) with an array, 1st row, 1 represents it is occupied by game resource, and 0 can indicate that it is idling-resource lattice.Alternatively, when a game resource lattice are by table When being shown as (a1, A), show that its position arranges for a, the 1st row is occupied by game resource A.For another example, when a game resource lattice quilt When being expressed as (d1,0), show that its position arranges for d, the 1st row is not occupied by any game resource.Concrete implementation mode can To be various, herein without limiting.
Referring to Fig. 4 B, it is schematically shown that prior art game resource processing method effect diagram.In the prior art In, when adding new game resource D, G, O, P, new game resource can be placed in the free time within the scope of whole storage locations Storage location, as shown in Figure 4 B.In this way, will destroy user existed already game resource put sequence, cause player exercises and Inconvenience in stage property use.Player game resource put sequence be changed after, need again to the game in memory space Resource is arranged or is sorted, and when the game resource that player possesses is more, aforesaid operations are very cumbersome processes, service Device is also required to frequently respond the request of player, causes the load down of server.
Referring to Fig. 4 C, it is schematically shown that game resource processing method effect diagram of the invention.In the present invention, In the case of the 1st behaviour blocking operating area of user setting, when adding new game resource D, G, O, P, then use can be skipped The quiescing region of family setting, but clear area is retrieved in operable area, such as arrive the model of (h8,0) at (a2, I) Enclose interior retrieval clear area, wherein 0 indicates idling-resource lattice.At this moment it only needs to retrieve within the scope of operable area to be expressed as The array of (*, 0) to.At this moment, the storage location of new game resource D, G, O, P are as shown in Figure 4 C, in quiescing region Game resource storage location and put sequence and will not then be disturbed, and the free storage location in quiescing region will not It is occupied.Method provided by the invention is for the game resource of user is more or the continuous game application of memory space is especially suitable With the experience of user can be improved, and reduces the load of server apparatus.
Referring to Fig. 5, it is schematically shown that game resource processing method according to yet another embodiment of the invention.
S501, client device receive the setting request of user's operation region, obtain and operating area setting request pair The operating area setting information answered.
S502, client device send the operating area setting information to server apparatus.
S503, server apparatus receive and store the operating area setting information.
S504, client device receive the request for arranging game resource.
The request for arranging game resource can be for example the request for arranging stage property, can also be to arrange asking for embroidered purse It asks, herein without limiting.
S505, client device judge whether the request for arranging game resource is preset request type;If so, Into S506.If it is not, then carrying out position adjustment to whole game resources in all operationss region, the game after adjustment is provided Source is stored in the correspondence storage location in the operable area, and establishes the corresponding storage position of the game resource after adjustment The correspondence set.
S506, client device obtain operating area setting information.
Wherein, client device can obtain the operating area setting information from the information that itself is preserved, can also The operating area setting information is asked to server apparatus.Client device can be when game application starts, i.e., to service Operating area setting information described in device device request simultaneously stores on a client device.Can also be to receive the new trip of addition The request for resource of playing and when determining that it is preset request type, then ask the operating area setting information to server.
S507, client device judge whether quiescing region according to the operating area setting information, if It is then to obtain the coordinate range of operable area, position is carried out to the game resource in the coordinate range of the operable area Adjustment, the correspondence storage location in the operable area is stored in by the game resource after adjustment, and establishes the trip after adjustment The correspondence for the corresponding storage location of resource of playing.
When specific implementation, client device when judge there are when quiescing region, i.e., can skip in quiescing region Game resource, and only in the coordinate range of operable area game resource carry out position adjustment.It is divided with storage region To be illustrated for multiple game resource lattice, each game resource lattice of storage region have corresponding number or label, It, can in sequence from the beginning to the end successively when client end response arranges the request of game resource, such as when arranging the request of stage property Retrieval, and locked quiescing region is regardless of whether there is game resource can directly skip retrieval.Client device is only examined Whether game resource lattice of the rope in addition to quiescing region have game resource, if so, then in the operable area Each game resource carries out position adjustment.Carrying out position adjustment to the game resource in the coordinate range of the operable area can be with According to preset mode or strategy execution.For example, can be according to the preferential of the game resource in the coordinate range of operable area Grade, type are adjusted, herein without limiting.
This realization method of the present invention is illustrated referring to Fig. 6 A- Fig. 6 C.Wherein, schematic referring to Fig. 6 A Ground shows another application schematic diagram of a scenario of the present invention.In fig. 6, memory space is divided into multiple game resource lattice, each Game resource lattice can identify the position where oneself with coordinate or number.
Referring to Fig. 6 B, it is schematically shown that prior art game resource processing method effect diagram.In the prior art In, when the storage location of original game resource is as shown in Figure 6A, when being arranged to game resource shown in Fig. 6 A, arrange Game resource afterwards is as shown in Figure 6B, and whole game resource A, B, C, E, F, H, I, J, K, L, M, N are used as regulating object to carry out Position adjustment, the position after adjustment are as shown in Figure 6B.Usually, system can be according to the game resource priority of acquiescence to game Resource carries out arranging order, and the arrangement wish with user's script has no to be associated with.In this way, will destroy user had had game money already Sequence is put in source, causes the inconvenience on player exercises and stage property use.Player game resource put sequence be changed after, need Again the game resource in memory space is arranged or is sorted, it is above-mentioned when the game resource that player possesses is more Operation is very cumbersome process, and server is also required to frequently respond the request of player, causes the load down of server.
Referring to Fig. 6 C, it is schematically shown that game resource processing method effect diagram of the invention.In the present invention, In the case of the 1st behaviour blocking operating area of user setting game resource lattice, when arranging game resource, then use can be skipped The quiescing region of family setting, only carries out position adjustment, the game resource after adjustment to the game resource in operable area Storage location it is as shown in Figure 6 C.Here, game resource I, J, K, L, M, N only in operable area as regulating object into Position adjustment is gone, game resource A, B, C, E, F, H in quiescing region will be not as regulating objects, and in the region Free storage location will not be occupied.Since user has preset quiescing region, then the 1st of game resource lattice the Row is as in the case of quiescing region, and when responding the arrangement resource request of user, the game in quiescing region provides The storage location in source will not be then disturbed with sequence is put, and the storage location in quiescing region will not become arrangement money The storage location of game resource behind source.That is, the game resource and storage location in quiescing region and game The correspondence of resource and storage location is all locked, will not be influenced by game resource request is arranged.Quiescing region Interior initial placement position is retained according to the wish of putting of player, and adjusts the storage of game resource repeatedly without user Position reduces the interaction of client device and server apparatus.Method provided by the invention for user game resource compared with The more or continuous game application of memory space is particularly suitable, can improve the experience of user, and reduces the negative of server apparatus It carries.
Example devices
After describing the method for exemplary embodiment of the invention, next, with reference to figure 7 to the exemplary reality of the present invention Equipment applying mode, being handled for game resource is introduced, and shown game resource processing equipment 700 may include:
Obtaining unit 701 is configured to change the request of game resource storage location in response to user, be pre-saved Operating area setting information, the operating area setting information for identify the operating area belong to operable area or Quiescing region.
Processing unit 702 is configured to, according to the operating area setting information, the use be responded in operable area The request at family changes the storage location of game resource.
Wherein, the request that the user that the obtaining unit receives changes game resource storage location is the new game money of addition The request in source, the processing unit include:
Coordinate range obtaining unit is configured to, according to the operating area setting information, obtain the seat of operable area Mark range;
Storage unit is configured to retrieve idle memory region in the coordinate range, by the new game resource It is stored in the idle memory region, establishes the correspondence of the new game resource and the idle memory region.
Wherein, the request that the user that the obtaining unit receives changes game resource storage location is to arrange game resource to ask It asks, the processing unit includes:
Coordinate range obtaining unit is configured to, according to the operating area setting information, obtain the seat of operable area Mark range;
Sequencing unit, the game resource being configured in the coordinate range to the operable area carry out position adjustment, Game resource after adjustment is stored in the correspondence storage location in the operable area, and establishes the game resource after adjustment The correspondence of corresponding storage location.
Further, the equipment further includes:
Judging unit is configured to judge whether the request that the user changes game resource storage location is preset ask Seek type;
Then the obtaining unit is configured to judge that the user changes game resource storage location when the judging unit Request when being preset request type, execute and obtain the operating area setting information that pre-saves.
Further, the equipment further includes:
Setting unit is configured to receive the setting request of user's operation region, obtains and asked with operating area setting Corresponding operating area setting information.
Wherein, the operating area setting information is stored in client and/or server.
Wherein, the operating area setting information includes the start position information and stop bits confidence in quiescing region Breath.
If it should be noted that although being referred to the equipment for drying or son dress of game resource processing equipment in above-detailed It sets, but this division is only not enforceable.In fact, according to the embodiment of the present invention, above-described two or The feature and function of more devices can embody in one apparatus.Conversely, the feature and work(of an above-described device It can be further divided into and be embodied by multiple devices.
In addition, although the operation of the method for the present invention is described with particular order in the accompanying drawings, this do not require that or Hint must execute these operations according to the particular order, or have to carry out shown in whole operation could realize it is desired As a result.Additionally or alternatively, it is convenient to omit multiple steps are merged into a step and executed by certain steps, and/or by one Step is decomposed into execution of multiple steps.
Although by reference to several spirit and principle that detailed description of the preferred embodimentsthe present invention has been described, it should be appreciated that, this It is not limited to the specific embodiments disclosed for invention, does not also mean that the feature in these aspects cannot to the division of various aspects Combination is this to divide the convenience merely to statement to be benefited.The present invention is directed to cover appended claims spirit and Included various modifications and equivalent arrangements in range.

Claims (10)

1. a kind of game resource processing method, including:
Change the request of game resource storage location in response to user, the game resource is the resource object in playing memory space Product obtain the operating area setting information pre-saved, and the operating area setting information is for identifying the operating area category It is not deposited by specific change game resource in the game resource in operable area and quiescing region, the quiescing region Store up the influence of position requests;
According to the operating area setting information, the request that the user is responded in operable area changes depositing for game resource Storage space is set.
2. according to the method described in claim 1, wherein, the request that the user changes game resource storage location is that addition is new Game resource request, it is described according to the operating area setting information, asking for the user is responded in operable area Ask change game resource storage location include:
According to the operating area setting information, the coordinate range of operable area is obtained;
Idle memory region is retrieved in the coordinate range, the new game resource is stored in the idle memory region It is interior, establish the correspondence of the new game resource and the idle memory region.
3. according to the method described in claim 1, wherein, the request that the user changes game resource storage location is to arrange to swim Play resource request, described according to the operating area setting information, the request that the user is responded in operable area changes The storage location of game resource includes:
According to the operating area setting information, the coordinate range of operable area is obtained;
Position adjustment is carried out to the game resource in the coordinate range of the operable area, the game resource after adjustment is stored Correspondence storage location in the operable area, and establish pair of the corresponding storage location of game resource after adjustment It should be related to.
4. according to the method described in claim 1, further including:
Judge whether the request that the user changes game resource storage location is preset request type;
If it is, executing the operating area setting information for obtaining and pre-saving.
5. according to the method described in claim 1, further including:
The setting request of user's operation region is received, operating area setting corresponding with operating area setting request is obtained and believes Breath.
6. according to the method described in claim 1 to 5 any one, wherein the operating area setting information is stored in client In end and/or server.
7. according to the method described in claim 1 to 5 any one, wherein the operating area setting information includes forbidding grasping Make the start position information and end position information in region.
8. a kind of game resource processing equipment, including:
Obtaining unit is configured to change the request of game resource storage location in response to user, and the game resource is game Resource article in memory space, obtains the operating area setting information pre-saved, and the operating area setting information is used for Identify the operating area and belong to operable area and quiescing region, the game resource in the quiescing region not by The specific influence for changing the request of game resource storage location;
Processing unit is configured to, according to the operating area setting information, asking for the user be responded in operable area Seek the storage location for changing game resource.
9. equipment according to claim 8, wherein the user that the obtaining unit receives changes game resource storage location Request be to add the request of new game resource, the processing unit includes:
Coordinate range obtaining unit is configured to obtain the coordinate model of operable area according to the operating area setting information It encloses;
Storage unit is configured to retrieve idle memory region in the coordinate range, and the new game resource is stored In the idle memory region, the correspondence of the new game resource and the idle memory region is established.
10. equipment according to claim 8, wherein the user that the obtaining unit receives changes game resource and stores position The request set is to arrange game resource request, and the processing unit includes:
Coordinate range obtaining unit is configured to obtain the coordinate model of operable area according to the operating area setting information It encloses;
Sequencing unit, the game resource being configured in the coordinate range to the operable area carry out position adjustment, will adjust Game resource after whole is stored in the correspondence storage location in the operable area, and establishes the game resource after adjustment and its The correspondence of corresponding storage location.
CN201510088400.7A 2015-02-26 2015-02-26 A kind of game resource processing method and equipment Active CN104601603B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510088400.7A CN104601603B (en) 2015-02-26 2015-02-26 A kind of game resource processing method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510088400.7A CN104601603B (en) 2015-02-26 2015-02-26 A kind of game resource processing method and equipment

Publications (2)

Publication Number Publication Date
CN104601603A CN104601603A (en) 2015-05-06
CN104601603B true CN104601603B (en) 2018-07-24

Family

ID=53127107

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510088400.7A Active CN104601603B (en) 2015-02-26 2015-02-26 A kind of game resource processing method and equipment

Country Status (1)

Country Link
CN (1) CN104601603B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107038044A (en) * 2017-03-27 2017-08-11 长沙趣动文化科技有限公司 The discrete loading method of game resource and system based on Unity3D
CN108804680A (en) * 2018-06-12 2018-11-13 北京智明星通科技股份有限公司 A kind of game resource method for sorting, apparatus and system
CN110598670B (en) * 2019-09-20 2022-03-25 腾讯科技(深圳)有限公司 Method and device for setting monitoring area forbidden zone, storage medium and computer equipment
CN110665223B (en) * 2019-11-01 2023-04-21 网易(杭州)网络有限公司 Game resource caching method, decision network training method and device
CN113633995A (en) * 2021-08-10 2021-11-12 网易(杭州)网络有限公司 Interactive control method, device and equipment of game and storage medium
CN114405002B (en) * 2022-01-25 2022-09-30 深圳市飞鸟与鱼科技开发有限公司 Internet game data intelligent storage analysis management system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1866264A (en) * 2005-05-21 2006-11-22 华为技术有限公司 Scene generating method and system for mobile game
CN1933883A (en) * 2004-03-22 2007-03-21 任天堂株式会社 Game apparatus, game program, memory medium where game program is stored, and game control method
CN102819680A (en) * 2012-07-31 2012-12-12 北京天神互动科技有限公司 System and method for processing visual field of online role-playing network game
CN102955789A (en) * 2011-08-22 2013-03-06 幻音科技(深圳)有限公司 Resource display method and resource display system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1933883A (en) * 2004-03-22 2007-03-21 任天堂株式会社 Game apparatus, game program, memory medium where game program is stored, and game control method
CN1866264A (en) * 2005-05-21 2006-11-22 华为技术有限公司 Scene generating method and system for mobile game
CN102955789A (en) * 2011-08-22 2013-03-06 幻音科技(深圳)有限公司 Resource display method and resource display system
CN102819680A (en) * 2012-07-31 2012-12-12 北京天神互动科技有限公司 System and method for processing visual field of online role-playing network game

Also Published As

Publication number Publication date
CN104601603A (en) 2015-05-06

Similar Documents

Publication Publication Date Title
CN104601603B (en) A kind of game resource processing method and equipment
US11079908B2 (en) Method and apparatus for adding icon to interface of android system, and mobile terminal
CN107038044A (en) The discrete loading method of game resource and system based on Unity3D
CN104360805B (en) Application icon management method and device
US9910584B2 (en) Method for manipulating folders and apparatus thereof
CN106445325B (en) A kind of method and device creating group
CN112181225A (en) Desktop element adjusting method and device and electronic equipment
CN105378728B (en) Device and method for indicating and manipulating metadata
DE102013004214A1 (en) Alternative unlock pattern
CN105094557A (en) Method and device for display control, and electronic device
CN108073346A (en) A kind of record screen method, terminal and computer readable storage medium
CN104679388B (en) The method and its mobile terminal of application program are opened by icon duplicate
US20160291836A1 (en) Smart terminal and associated method for displaying application icons
CN107943372A (en) A kind of interface display method, device and computer-readable recording medium
CN106991179A (en) Data-erasure method, device and mobile terminal
CN108304107A (en) A kind of display application drawing calibration method, terminal and computer readable storage medium
CN106325842A (en) Intelligent terminal, method and apparatus for visiting similar application of intelligent terminal
CN112148163A (en) Screen recording method and device and electronic equipment
CN104636152A (en) Floating-layer-based application program calling method and device
CN107800776A (en) A kind of document handling method, terminal, server and computer-readable medium
US20130083075A1 (en) Method and apparatus for providing an overview of a plurality of home screens
CN107450895A (en) Application icon display methods and system
CN109462777A (en) Video temperature update method, device, terminal and storage medium
CN106354356A (en) Method and terminal for managing application icon
CN106201678A (en) application program freezing method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant