CN103678892A - Role object management method and role object management device - Google Patents
Role object management method and role object management device Download PDFInfo
- Publication number
- CN103678892A CN103678892A CN201310643217.XA CN201310643217A CN103678892A CN 103678892 A CN103678892 A CN 103678892A CN 201310643217 A CN201310643217 A CN 201310643217A CN 103678892 A CN103678892 A CN 103678892A
- Authority
- CN
- China
- Prior art keywords
- character object
- scene
- character
- request
- local
- 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
Links
Images
Classifications
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/55—Controlling game characters or game objects based on the game progress
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Human Computer Interaction (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a role object management method and a role object management device, and belongs to the technical field of internet. The method includes when receiving a request of adding a first artificial intelligence (AI) role object into a local scene, acquiring state information of the first AI role object; distributing corresponding cache space to the first AI role object, and storing the state information of the first AI role object in the cache space; when the first AI role object leaves the local scene, deleting the state information, stored in the cache space, of the first AI role object. By the role object management method and the role object management device, flexibility in scheduling of the AI role object can be improved.
Description
Technical field
The present invention relates to Internet technical field, particularly a kind of method and apparatus of character object management.
Background technology
Along with the development of Internet technology, internet has become very important ingredient in people's live and work, and along with popularizing of internet, online game has obtained promoting fast, becomes one of main entertainment way of people.
In online game, generally all one or more scenes can be set, for example, the transcript scene in Role Playing Game, field scene etc., the Desktop-scene in chess and card games etc.In scene, can comprise one or more character object (game character), character object can comprise conventional character object (game character of being controlled by player) or AI(Artificial Intelligence, artificial intelligence) character object (game character that adopts artificial intelligence mode to control by computing machine).AI character object can realize the mutual of the conventional character object controlled with player, as dialogue, fight, cooperation etc., makes the content of online game more abundant, diversification more.
In realizing process of the present invention, inventor finds that prior art at least exists following problem:
In the prior art, AI character object is that a part for the scene of conduct game exists, and in the game server of scene, the information such as the status information of AI character object (as personage's grade, position, blood volume etc.) are solidificated in master routine.Because master routine is difficult to on-the-fly modify, so causing some dynamic AI character object scheduling modes cannot realize, for example, the new AI character object of dynamic appending (adding AI character object by managerial personnel or player user's random request), or between different server dynamic migration AI character object (by managerial personnel or player user's random request, certain AI character object being carried out to the migration of any destination) etc., these scheduling modes are all difficult to dynamically realize.Thereby, cause the dirigibility of dispatching of AI character object poor.
Summary of the invention
In order to solve the problem of prior art, the embodiment of the present invention provides a kind of method and apparatus of character object management, to improve the dirigibility of dispatching to AI character object.Described technical scheme is as follows:
On the one hand, provide a kind of method of character object management, described method comprises:
When receiving when the first artificial intelligence AI character object is added to the request of local scene, obtain the status information of a described AI character object;
For a described AI character object is distributed corresponding spatial cache, and in described spatial cache, store the status information of a described AI character object;
When a described AI character object is left described local scene, delete a described AI role's who stores in described spatial cache status information.
On the other hand, provide a kind of device of character object management, described device comprises:
Acquisition module, for when receiving when the first artificial intelligence AI character object is added to the request of local scene, obtains the status information of a described AI character object;
Memory module, is used to a described AI character object to distribute corresponding spatial cache, and in described spatial cache, stores the status information of a described AI character object;
Removing module, for when a described AI character object is left described local scene, deletes a described AI role's who stores in described spatial cache status information.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is:
In the embodiment of the present invention, when receiving when an AI character object is added to the request of local scene, obtain the status information of an AI character object, be that an AI character object is distributed corresponding spatial cache, and in spatial cache, store the status information of an AI character object, when an AI character object is left local scene, delete an AI role's who stores in spatial cache status information, like this, in the master routine operational process of server, the operation that can at any time AI character object be added and be shifted out, thereby, can improve the dirigibility that AI character object is dispatched.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing of required use during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the method flow diagram of the character object management that provides of the embodiment of the present invention;
Fig. 2 is the network architecture schematic diagram that the embodiment of the present invention provides;
Fig. 3 is the apparatus structure schematic diagram of the character object management that provides of the embodiment of the present invention;
Fig. 4 is the structural representation of the server that provides of the embodiment of the present invention.
Embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Embodiment mono-
The embodiment of the present invention provides a kind of method of character object management, and as shown in Figure 1, the treatment scheme of the method can comprise following step:
In the embodiment of the present invention, when receiving when an AI character object is added to the request of local scene, obtain the status information of an AI character object, be that an AI character object is distributed corresponding spatial cache, and in spatial cache, store the status information of an AI character object, when an AI character object is left local scene, delete an AI role's who stores in spatial cache status information, like this, in the master routine operational process of server, the operation that can at any time AI character object be added and be shifted out, thereby, can improve the dirigibility that AI character object is dispatched.
Embodiment bis-
The embodiment of the present invention provides a kind of method of character object management, the executive agent of the method can be server, this server can be the server for the network application backstage of interaction between user and user and computing machine interaction, as the server on online game backstage, the present embodiment be take scene server that executive agent is online game (as chess and card games, Role Playing Game etc.) backstage and is carried out the detailed description of scheme as example, in the situation of other executive agent, similarly, in the present embodiment, repeat no more.
In a network application, the region that user can control role object can be entered is divided into a plurality of scenes, different scene server is set respectively and manages.Wherein, scene server is the server for the scene information of certain scene (as certain Desktop-scene, transcript scene etc.) is managed.Scene information be for reflect scene (as in bidge table, copy is medium) state of character object, environment etc., the information of variation, scene information comprises the status information of character object.
Below in conjunction with embodiment, the treatment scheme shown in Fig. 1 is described in detail, content can be as follows:
Wherein, character object is the personage that can be controlled by user or AI in network application or the general designation of other things, AI character object is the character object that adopts artificial intelligence mode to control by computing machine, the character object that conventional character is controlled liking user (user of network application, as game player).The one AI character object can be AI character object arbitrarily.Local scene is the scene that book server is managed.Status information is for describing the summation of the information of certain character object attribute, a kind of in scene information, as the status information of character object in chess and card games can comprise hand board information, class information, stage property information etc., in Role Playing Game the status information of character object can comprise appearance information, the information that acquires skill, attack information, phylactic power defensive power information, class information etc.
In force, request adds the situation of local scene may have a variety of an AI character object, the mode of obtaining accordingly the status information of an AI character object may be also different, below provided the processing procedure of step 101 in several possible situations wherein:
Situation one
When receiving when an AI character object is moved to the request of local scene from the scene of other server, from this other server, be the spatial cache that distributes of an AI character object, obtain the status information of an AI character object.
In force, the one AI character object can be the AI character object in the scene that certain other server is corresponding, when an AI character object adds this other server before, this other server can be according to the treatment scheme of the embodiment of the present invention, be that an AI character object is distributed spatial cache, and the status information of an AI character object is stored in the spatial cache into its distribution.In some cases, for example, managerial personnel or user request moves to an AI character object local scene and user interaction from the scene of this other server, or, when the one AI character object moves in the scene of this other server, arrived the border of this scene and local scene, need to carry out scene switching, etc., in these situations, this other server can send migration request to book server, for asking an AI character object to move to local scene from the scene of other server, when home server receives this request, can obtain the wherein status information of an AI character object of buffer memory to this other server.
Situation two
When receiving the request of new establishment the one AI character object in local scene, obtain the status information of an AI character object of carrying in this request.
In force, managerial personnel can ask to add an AI character object in certain scene, before server is started operation, (user can't pass through the stage of client game server, this stage management personnel can carry out data configuration to server, for example create several AI character object, or load several pre-configured AI character object) or in server operation process, managerial personnel can pass through the office terminal of its use, configure the status information of an AI character object, can select the profile of this AI character object, input its title, blood volume, attack, the information such as phylactic power defensive power, and click and confirm to add this AI character object, at this moment, office terminal can generate the request that creates an AI character object, carry therein the status information of this AI character object, and this request is sent to book server, when book server receives this request, can from this request, obtain the status information of an AI character object.
In force, server can set in advance the spatial cache of some according to its load-carrying ability, and each spatial cache is used for distributing to a conventional character user or AI character object, to store the status information of corresponding character object.Server can also be safeguarded a buffer status table, and for recording which spatial cache in idle condition, which spatial cache is used.When certain AI character object or conventional character object add local scene, can be at each in spatial cache in idle condition, select a spatial cache, distribute to corresponding AI character object or conventional character object, corresponding status information is stored in the spatial cache of selection.Server can also record the corresponding relation of each character object and spatial cache address, so that the management to the status information of each character object.
When server is runed, scene information is carried out in the process of maintenance management, server can be according to the state variation of character object (conventional character user or AI character object), status information in corresponding spatial cache is adjusted, for example, the attack that certain AI character object power of coming to harm is 1 and there is no defensive measure, so, server just reduces by 1 by the blood volume numerical value in the status information in spatial cache corresponding to this AI character object.
Here, server adopts identical way to manage to the status information of conventional character object and AI character object.
In force, the situation that an AI character object is left local scene have a variety of may.For example, a kind of situation is, the one AI character object is moved to the scene of certain other server from local scene, in this situation, after in this other server obtains the attribute information of an AI character object and is stored in himself spatial cache from book server, book server can be deleted the attribute information of an AI character object of storing in local cache space.Again for example, also have a kind of situation to be, manager requests is cancelled an AI character object, and at this moment, server can directly be deleted the status information of an AI character object from spatial cache.
In the embodiment of the present invention, independently AI processing platform can be set, for the treatment of the Action logic of AI character object so that each AI character object is controlled.AI processing platform can be a module of above-mentioned scene server, can be also an independently server.
When scene information changes, server can carry out following processing:
Step 1, when scene information changes, determines the association role object in the corresponding local scene of scene information changing.
Wherein, association role object can be the character object that the preset rules in application Network Based can perceive the above-mentioned scene information changing, and preset rules can arrange arbitrarily according to demand.
In force, when user is controlled conventional character object and is performed an action by client, or AI processing platform is when controlling AI character object and performing an action, can trigger scene information and change, for example, user controls certain conventional character object and goes out " killing " board, can trigger scene information changes, status information comprising this conventional character object changes (hand board has lacked " a killing " board), has also comprised on desktop " a killing " board many, etc.According to the scene changes rule pre-establishing in server, also can trigger scene information changes, for example, set in advance at interval of 20 minutes at certain assigned address bomb that drops, in the time of so every 20 minutes, at this assigned address bomb that will drop, at this moment scene information changes, comprising variation (generating a bomb) of environmental information etc.
In force, the method of determining the corresponding association role object of scene information changing can be varied, for example, can be according to the visual range of the position of the scene information changing and character object, determine that visual range can comprise the character object of this scene information, as association role object, again for example, can set in advance corresponding association role object for special event (this event is that scene information changes).
In addition, server, also according to the scene information changing, is determined other scene information (can comprise the status information of environmental information, character object etc.) that is affected and need to changes thereupon, and this other scene information is adjusted accordingly.
Step 2, if association role object comprises conventional character object, the change information of the scene information changing to client corresponding to conventional character object in association role object; If association role object comprises AI character object, the change information of the scene information changing to AI processing platform and association role object comprise the character object sign of AI character object.
Wherein, change information can be the numerical value after the scene information that changes changes, and can be also changing value, and for example, the former blood volume of certain character object is 3, and the blood volume after variation is 4, and so, the change information of this scene information can be 4 can be also to increase by 1.
In force, server can record the corresponding relation of each conventional character object and client, if association role object comprises conventional character object, can determine client corresponding to corresponding conventional character object according to this corresponding relation, and send above-mentioned change information to the client of determining, client can show according to this change information corresponding animation effect in the scene of its demonstration, for example, house in front collapses, after user sees that scene changes, can judge the reaction that oneself need to be made, if determined, need to carry out certain action, can further by user end to server, send action request.
In force, if association role object comprises AI character object, can be to the request of AI processing platform transmission processing, process the character object sign of carrying each AI character object that above-mentioned change information and association role object comprise in request, in AI processing platform, can logic rules corresponding to pre-recorded each AI character object (can according to information such as the residing scene of AI character object and states, determine corresponding Action logic rule by AI processing platform, also can be by managerial personnel in advance for AI character object is specified corresponding Action logic rule), when receiving processing request, AI processing platform can be searched corresponding Action logic rule according to character object sign wherein, and based on change information and the Action logic rule finding, carry out behaviour decision making, if determined, need to carry out certain action, according to behaviour decision making to the request of server sending action.In the process of behaviour decision making, if according to logic rules, need some scene information, can obtain corresponding scene information to server.
In the embodiment of the present invention, server, when receiving the action request of client or the transmission of AI processing platform, can be controlled corresponding scene information according to action request, and processing procedure can be as follows:
Situation one, when receive that client sends carry the action request of action message and character object sign time, according to preset rules, the feasibility of checking action message, if the verification passes, control described character object and identify action corresponding to information that perform an action of corresponding conventional character object.
Situation two, when receive that AI processing platform sends carry the action request of action message and character object sign time, according to preset rules, verify the feasibility of described action message, if the verification passes, controlling described character object identifies corresponding AI character object and carries out action corresponding to described action message.
Concrete, can be as follows according to the processing procedure of the feasibility of preset rules checking action message: action request is sent to logic platform, so that logic platform, according to the preset rules of its storage, is verified the feasibility of action message, and fed back the result.
Wherein, action request is carried out certain required movement for request server control role object.Preset rules can be the basic act rule based on natural rule and/or artificial regulation formulation in network application.In the embodiment of the present invention, independently logic platform can be set, basic logic for the treatment of network application, as whether feasible in the execution that judges certain action, for example, certain chest is moved in certain user request, and preset rules based on game, the present state of this chest is irremovable, judges this action request of refusal.Logic platform can be a module of scene server, can be also an independently server.
In force, server receives after the action request of client or the transmission of AI processing platform, action request can be sent to logic platform, by logic platform, according to preset rules, verified the feasibility of the action message in action request, the result is fed back to server, the result that server receives is if pass through, control corresponding character object and carry out corresponding action, for example, go out " killing " board, use certain technical ability etc., the result is not if pass through, and server can be refused this action request.Carry out corresponding action and can make scene information change, and then can carry out according to the method above the present embodiment the notice of change information.
In above-mentioned processing, server has adopted identical processing mode to the action request of conventional character object and AI character object.
The network architecture schematic diagram that the embodiment of the present invention provides can be as shown in Figure 2.In this network architecture, AI processing platform and logic platform are the servers being independent of outside scene server, and like this, AI processing platform and logic platform can provide service for one or more scene server.
In the embodiment of the present invention, server can record the character types that stores each character object of status information in local spatial cache, can record the character types that this locality is assigned the AI character object of spatial cache is AI type, and the local character types that is assigned the conventional character object of spatial cache of record is general type.Accordingly, can set up character types table, for recording each role's character types.Based on above-mentioned passing through, distribute spatial cache to carry out the processing mode of the status information of role of manager's object, and the character types of each character object of server record, server can be realized the conversion between conventional character object and AI character object as follows:
When receiving when the first conventional character object in local scene is converted to the request of AI character object, the character types of the first conventional character object of local record is revised as to AI type by general type.
In force, can to user, provide intelligent escrow function in client, user is in client during operation start intelligence escrow function, can trigger user end to server and send intelligent trustship request, server receives after intelligent trustship request, can be in above-mentioned character types table, the character types by conventional character object corresponding to this client, is revised as AI type by general type.In addition, server also can, according to the rule pre-establishing, when certain trigger condition occurs, initiatively be converted to AI character object by certain conventional character object.
When receiving when the AI character object in local scene is converted to the request of conventional character object, the character types of an AI character object of local record is revised as to general type by AI type.
In force, when user is in client during the trustship of EO intelligence, can trigger user end to server and send intelligent trustship termination request, server receives intelligent trustship and stops after request, can be in above-mentioned character types table, character types by conventional character object corresponding to this client, is revised as general type by AI type.In addition, server also can, according to the rule pre-establishing, when certain trigger condition occurs, initiatively be converted to conventional character object by certain AI character object.
In the embodiment of the present invention, when receiving when an AI character object is added to the request of local scene, obtain the status information of an AI character object, be that an AI character object is distributed corresponding spatial cache, and in spatial cache, store the status information of an AI character object, when an AI character object is left local scene, delete an AI role's who stores in spatial cache status information, like this, in the master routine operational process of server, the operation that can at any time AI character object be added and be shifted out, thereby, can improve the dirigibility that AI character object is dispatched.
Embodiment tri-
Technical conceive based on identical, the embodiment of the present invention also provides a kind of device of character object management, and as shown in Figure 3, described device comprises:
Removing module 330, for when a described AI character object is left described local scene, deletes a described AI role's who stores in described spatial cache status information.
Preferably, described acquisition module 310, for:
When receiving when an AI character object is moved to the request of local scene from the scene of other server, from described other server, be the spatial cache that distributes of a described AI character object, obtain the status information of a described AI character object; Or,
When receiving the request of new establishment the one AI character object in local scene, obtain the status information of a described AI character object of carrying in described request.
Preferably, described device also comprises sending module, for:
When scene information changes, determine the association role object in the corresponding local scene of scene information changing;
If described association role object comprises conventional character object, the change information of the scene information changing described in sending to client corresponding to the conventional character object in described association role object;
If described association role object comprises AI character object, the change information of the scene information changing described in sending to AI processing platform and the character object sign that described association role object comprises AI character object.
Preferably, described device also comprises control module, for:
When receive that client sends carry the action request of action message and character object sign time, according to preset rules, verify the feasibility of described action message, if the verification passes, controlling described character object identifies corresponding conventional character object and carries out action corresponding to described action message; Or,
When receive that AI processing platform sends carry the action request of action message and character object sign time, according to preset rules, verify the feasibility of described action message, if the verification passes, controlling described character object identifies corresponding AI character object and carries out action corresponding to described action message.
Preferably, described control module, for:
Described action request is sent to logic platform, so that described logic platform is according to the preset rules of its storage, verifies the feasibility of described action message, and feed back the result.
Preferably, described device also comprises modular converter, for:
The local character types that is assigned the AI character object of spatial cache of record is AI type, and the local character types that is assigned the conventional character object of spatial cache of record is general type;
When receiving when the first conventional character object in local scene is converted to the request of AI character object, the character types of the described first conventional character object of local record is revised as to AI type by general type;
When receiving when the AI character object in local scene is converted to the request of conventional character object, the character types of a described AI character object of local record is revised as to general type by AI type.
In the embodiment of the present invention, when receiving when an AI character object is added to the request of local scene, obtain the status information of an AI character object, be that an AI character object is distributed corresponding spatial cache, and in spatial cache, store the status information of an AI character object, when an AI character object is left local scene, delete an AI role's who stores in spatial cache status information, like this, in the master routine operational process of server, the operation that can at any time AI character object be added and be shifted out, thereby, can improve the dirigibility that AI character object is dispatched.
Embodiment tetra-
Fig. 4 is the structural representation of server in the embodiment of the present invention (this server can be used as the scene server of above-mentioned network application).This server 1900 can because of configuration or performance is different produces larger difference, can comprise one or more central processing units (central processing units, CPU) 1922(for example, one or more processors) and storer 1932, the storage medium 1930(of one or more storage application programs 1942 or data 1944 one or more mass memory units for example).Wherein, storer 1932 and storage medium 1930 can be of short duration storage or storage lastingly.The program that is stored in storage medium 1930 can comprise one or more modules (diagram does not mark), and each module can comprise a series of command operatings in server.Further, central processing unit 1922 can be set to communicate by letter with storage medium 1930, carries out a series of command operatings in storage medium 1930 on server 1900.
Server 1900 can also comprise one or more power supplys 1926, one or more wired or wireless network interfaces 1950, one or more IO interface 1958, one or more keyboards 1956, and/or, one or more operating systems 1941, Windows ServerTM for example, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM etc.
Server 1900 can include storer, and one or more than one program, the above program of one of them or one is stored in storer, and is configured to carry out described one or above routine package containing for carrying out the instruction of following operation by one or above processor:
When receiving when the first artificial intelligence AI character object is added to the request of local scene, obtain the status information of a described AI character object;
For a described AI character object is distributed corresponding spatial cache, and in described spatial cache, store the status information of a described AI character object;
When a described AI character object is left described local scene, delete a described AI role's who stores in described spatial cache status information.
Preferably, describedly when receiving when an AI character object is added to the request of local scene, obtain the status information of a described AI character object, comprising:
When receiving when an AI character object is moved to the request of local scene from the scene of other server, from described other server, be the spatial cache that distributes of a described AI character object, obtain the status information of a described AI character object; Or,
When receiving the request of new establishment the one AI character object in local scene, obtain the status information of a described AI character object of carrying in described request.
Preferably, also comprise:
When scene information changes, determine the association role object in the corresponding local scene of scene information changing;
If described association role object comprises conventional character object, the change information of the scene information changing described in sending to client corresponding to the conventional character object in described association role object;
If described association role object comprises AI character object, the change information of the scene information changing described in sending to AI processing platform and the character object sign that described association role object comprises AI character object.
Preferably, also comprise:
When receive that client sends carry the action request of action message and character object sign time, according to preset rules, verify the feasibility of described action message, if the verification passes, controlling described character object identifies corresponding conventional character object and carries out action corresponding to described action message; Or,
When receive that AI processing platform sends carry the action request of action message and character object sign time, according to preset rules, verify the feasibility of described action message, if the verification passes, controlling described character object identifies corresponding AI character object and carries out action corresponding to described action message.
Preferably, described according to preset rules, verify and comprise the feasibility of described action message:
Described action request is sent to logic platform, so that described logic platform is according to the preset rules of its storage, verifies the feasibility of described action message, and feed back the result.
Preferably, also comprise:
The local character types that is assigned the AI character object of spatial cache of record is AI type, and the local character types that is assigned the conventional character object of spatial cache of record is general type;
When receiving when the first conventional character object in local scene is converted to the request of AI character object, the character types of the described first conventional character object of local record is revised as to AI type by general type;
When receiving when the AI character object in local scene is converted to the request of conventional character object, the character types of a described AI character object of local record is revised as to general type by AI type.
In the embodiment of the present invention, when receiving when an AI character object is added to the request of local scene, obtain the status information of an AI character object, be that an AI character object is distributed corresponding spatial cache, and in spatial cache, store the status information of an AI character object, when an AI character object is left local scene, delete an AI role's who stores in spatial cache status information, like this, in the master routine operational process of server, the operation that can at any time AI character object be added and be shifted out, thereby, can improve the dirigibility that AI character object is dispatched.
It should be noted that: the device of the character object management that above-described embodiment provides is when managing the status information of character object, only the division with above-mentioned each functional module is illustrated, in practical application, can above-mentioned functions be distributed and by different functional modules, completed as required, the inner structure that is about to device is divided into different functional modules, to complete all or part of function described above.In addition, the device of the character object management that above-described embodiment provides and the embodiment of the method for character object management belong to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step that realizes above-described embodiment can complete by hardware, also can come the hardware that instruction is relevant to complete by program, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be ROM (read-only memory), disk or CD etc.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.
Claims (12)
1. a method for character object management, is characterized in that, described method comprises:
When receiving when the first artificial intelligence AI character object is added to the request of local scene, obtain the status information of a described AI character object;
For a described AI character object is distributed corresponding spatial cache, and in described spatial cache, store the status information of a described AI character object;
When a described AI character object is left described local scene, delete a described AI role's who stores in described spatial cache status information.
2. method according to claim 1, is characterized in that, describedly when receiving when an AI character object is added to the request of local scene, obtains the status information of a described AI character object, comprising:
When receiving when an AI character object is moved to the request of local scene from the scene of other server, from described other server, be the spatial cache that distributes of a described AI character object, obtain the status information of a described AI character object; Or,
When receiving the request of new establishment the one AI character object in local scene, obtain the status information of a described AI character object of carrying in described request.
3. method according to claim 1, is characterized in that, described method also comprises:
When scene information changes, determine the association role object in the corresponding local scene of scene information changing;
If described association role object comprises conventional character object, the change information of the scene information changing described in sending to client corresponding to the conventional character object in described association role object;
If described association role object comprises AI character object, the change information of the scene information changing described in sending to AI processing platform and the character object sign that described association role object comprises AI character object.
4. method according to claim 1, is characterized in that, described method also comprises:
When receive that client sends carry the action request of action message and character object sign time, according to preset rules, verify the feasibility of described action message, if the verification passes, controlling described character object identifies corresponding conventional character object and carries out action corresponding to described action message; Or,
When receive that AI processing platform sends carry the action request of action message and character object sign time, according to preset rules, verify the feasibility of described action message, if the verification passes, controlling described character object identifies corresponding AI character object and carries out action corresponding to described action message.
5. method according to claim 4, is characterized in that, described according to preset rules, verifies the feasibility of described action message, comprising:
Described action request is sent to logic platform, so that described logic platform is according to the preset rules of its storage, verifies the feasibility of described action message, and feed back the result.
6. method according to claim 1, is characterized in that, described method also comprises:
The local character types that is assigned the AI character object of spatial cache of record is AI type, and the local character types that is assigned the conventional character object of spatial cache of record is general type;
When receiving when the first conventional character object in local scene is converted to the request of AI character object, the character types of the described first conventional character object of local record is revised as to AI type by general type;
When receiving when the AI character object in local scene is converted to the request of conventional character object, the character types of a described AI character object of local record is revised as to general type by AI type.
7. a device for character object management, is characterized in that, described device comprises:
Acquisition module, for when receiving when the first artificial intelligence AI character object is added to the request of local scene, obtains the status information of a described AI character object;
Memory module, is used to a described AI character object to distribute corresponding spatial cache, and in described spatial cache, stores the status information of a described AI character object;
Removing module, for when a described AI character object is left described local scene, deletes a described AI role's who stores in described spatial cache status information.
8. device according to claim 7, is characterized in that, described acquisition module, for:
When receiving when an AI character object is moved to the request of local scene from the scene of other server, from described other server, be the spatial cache that distributes of a described AI character object, obtain the status information of a described AI character object; Or,
When receiving the request of new establishment the one AI character object in local scene, obtain the status information of a described AI character object of carrying in described request.
9. device according to claim 7, is characterized in that, described device also comprises sending module, for:
When scene information changes, determine the association role object in the corresponding local scene of scene information changing;
If described association role object comprises conventional character object, the change information of the scene information changing described in sending to client corresponding to the conventional character object in described association role object;
If described association role object comprises AI character object, the change information of the scene information changing described in sending to AI processing platform and the character object sign that described association role object comprises AI character object.
10. device according to claim 7, is characterized in that, described device also comprises control module, for:
When receive that client sends carry the action request of action message and character object sign time, according to preset rules, verify the feasibility of described action message, if the verification passes, controlling described character object identifies corresponding conventional character object and carries out action corresponding to described action message; Or,
When receive that AI processing platform sends carry the action request of action message and character object sign time, according to preset rules, verify the feasibility of described action message, if the verification passes, controlling described character object identifies corresponding AI character object and carries out action corresponding to described action message.
11. devices according to claim 10, is characterized in that, described control module, for:
Described action request is sent to logic platform, so that described logic platform is according to the preset rules of its storage, verifies the feasibility of described action message, and feed back the result.
12. devices according to claim 7, is characterized in that, described device also comprises modular converter, for:
The local character types that is assigned the AI character object of spatial cache of record is AI type, and the local character types that is assigned the conventional character object of spatial cache of record is general type;
When receiving when the first conventional character object in local scene is converted to the request of AI character object, the character types of the described first conventional character object of local record is revised as to AI type by general type;
When receiving when the AI character object in local scene is converted to the request of conventional character object, the character types of a described AI character object of local record is revised as to general type by AI type.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310643217.XA CN103678892A (en) | 2013-12-03 | 2013-12-03 | Role object management method and role object management device |
TW103140975A TWI561287B (en) | 2013-12-03 | 2014-11-26 | Method and device for managing role object |
PCT/CN2015/072098 WO2015081907A1 (en) | 2013-12-03 | 2015-02-02 | Role object management method, device, and server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310643217.XA CN103678892A (en) | 2013-12-03 | 2013-12-03 | Role object management method and role object management device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103678892A true CN103678892A (en) | 2014-03-26 |
Family
ID=50316422
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310643217.XA Pending CN103678892A (en) | 2013-12-03 | 2013-12-03 | Role object management method and role object management device |
Country Status (3)
Country | Link |
---|---|
CN (1) | CN103678892A (en) |
TW (1) | TWI561287B (en) |
WO (1) | WO2015081907A1 (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015081907A1 (en) * | 2013-12-03 | 2015-06-11 | 腾讯科技(深圳)有限公司 | Role object management method, device, and server |
WO2017005162A1 (en) * | 2015-07-07 | 2017-01-12 | 网易(杭州)网络有限公司 | Game data processing method, game serving end and game client |
WO2017050182A1 (en) * | 2015-09-23 | 2017-03-30 | 腾讯科技(深圳)有限公司 | Smart hardware interaction method and device |
CN107103644A (en) * | 2017-04-21 | 2017-08-29 | 腾讯科技(深圳)有限公司 | The control method and device of object in a kind of virtual scene |
CN107890674A (en) * | 2017-11-13 | 2018-04-10 | 杭州电魂网络科技股份有限公司 | AI behaviors call method and device |
CN107930127A (en) * | 2017-11-28 | 2018-04-20 | 腾讯科技(上海)有限公司 | Method, apparatus, storage medium and the equipment of team's transfer scene are realized in game |
CN108057249A (en) * | 2017-11-29 | 2018-05-22 | 腾讯科技(成都)有限公司 | A kind of business data processing method and device |
CN108465242A (en) * | 2018-03-31 | 2018-08-31 | 丁超 | Network game processing method, device and computer storage media |
CN109960545A (en) * | 2019-03-29 | 2019-07-02 | 网易(杭州)网络有限公司 | Virtual object control method, system, device, medium and electronic equipment |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113769408B (en) * | 2021-09-15 | 2024-05-10 | 网易(杭州)网络有限公司 | Game data processing method and device, electronic equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060223600A1 (en) * | 2004-11-18 | 2006-10-05 | Turbo Squid, Inc. | Method of dynamically modifying a computer game |
CN1848124A (en) * | 2005-04-12 | 2006-10-18 | 国际商业机器公司 | Slitless game world system based on server/customer's machine and method thereof |
CN1945588A (en) * | 2006-10-27 | 2007-04-11 | 北京金山软件有限公司 | Network game system and method for establishing game elements |
CN102215209A (en) * | 2010-04-07 | 2011-10-12 | 上海乐格网络科技有限公司 | Online game engine for large-scale multiplayer online role playing |
CN102629302A (en) * | 2012-04-22 | 2012-08-08 | 盛绩信息技术(上海)有限公司 | Method and system for establishing self-initiated games |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20040052131A (en) * | 2002-12-13 | 2004-06-19 | 한국전자통신연구원 | Distance based distributed online game server system |
CN101169806B (en) * | 2007-09-28 | 2010-06-02 | 腾讯科技(深圳)有限公司 | Role data management device and method in network game system |
CN102158524A (en) * | 2010-12-30 | 2011-08-17 | 北京像素软件科技股份有限公司 | Rendering-based distributed behavior control system |
US8570320B2 (en) * | 2011-01-31 | 2013-10-29 | Microsoft Corporation | Using a three-dimensional environment model in gameplay |
TW201309370A (en) * | 2011-08-25 | 2013-03-01 | Moregeek Entertainment Inc | A method of massively multi-player online game |
CN103678892A (en) * | 2013-12-03 | 2014-03-26 | 腾讯科技(成都)有限公司 | Role object management method and role object management device |
-
2013
- 2013-12-03 CN CN201310643217.XA patent/CN103678892A/en active Pending
-
2014
- 2014-11-26 TW TW103140975A patent/TWI561287B/en active
-
2015
- 2015-02-02 WO PCT/CN2015/072098 patent/WO2015081907A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060223600A1 (en) * | 2004-11-18 | 2006-10-05 | Turbo Squid, Inc. | Method of dynamically modifying a computer game |
CN1848124A (en) * | 2005-04-12 | 2006-10-18 | 国际商业机器公司 | Slitless game world system based on server/customer's machine and method thereof |
CN1945588A (en) * | 2006-10-27 | 2007-04-11 | 北京金山软件有限公司 | Network game system and method for establishing game elements |
CN102215209A (en) * | 2010-04-07 | 2011-10-12 | 上海乐格网络科技有限公司 | Online game engine for large-scale multiplayer online role playing |
CN102629302A (en) * | 2012-04-22 | 2012-08-08 | 盛绩信息技术(上海)有限公司 | Method and system for establishing self-initiated games |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015081907A1 (en) * | 2013-12-03 | 2015-06-11 | 腾讯科技(深圳)有限公司 | Role object management method, device, and server |
WO2017005162A1 (en) * | 2015-07-07 | 2017-01-12 | 网易(杭州)网络有限公司 | Game data processing method, game serving end and game client |
WO2017050182A1 (en) * | 2015-09-23 | 2017-03-30 | 腾讯科技(深圳)有限公司 | Smart hardware interaction method and device |
US10874937B2 (en) | 2015-09-23 | 2020-12-29 | Tencent Technology (Shenzhen) Company Limited | Intelligent hardware interaction method and system |
CN107103644A (en) * | 2017-04-21 | 2017-08-29 | 腾讯科技(深圳)有限公司 | The control method and device of object in a kind of virtual scene |
CN107103644B (en) * | 2017-04-21 | 2019-03-08 | 腾讯科技(深圳)有限公司 | The control method and device of object in a kind of virtual scene |
CN107890674A (en) * | 2017-11-13 | 2018-04-10 | 杭州电魂网络科技股份有限公司 | AI behaviors call method and device |
CN107930127B (en) * | 2017-11-28 | 2020-12-11 | 腾讯科技(上海)有限公司 | Method, device, storage medium and equipment for realizing team transfer scene in game |
CN107930127A (en) * | 2017-11-28 | 2018-04-20 | 腾讯科技(上海)有限公司 | Method, apparatus, storage medium and the equipment of team's transfer scene are realized in game |
CN108057249A (en) * | 2017-11-29 | 2018-05-22 | 腾讯科技(成都)有限公司 | A kind of business data processing method and device |
WO2019105377A1 (en) * | 2017-11-29 | 2019-06-06 | 腾讯科技(深圳)有限公司 | Service processing method and apparatus, and storage medium |
CN108465242A (en) * | 2018-03-31 | 2018-08-31 | 丁超 | Network game processing method, device and computer storage media |
CN109960545A (en) * | 2019-03-29 | 2019-07-02 | 网易(杭州)网络有限公司 | Virtual object control method, system, device, medium and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
WO2015081907A1 (en) | 2015-06-11 |
TWI561287B (en) | 2016-12-11 |
TW201521845A (en) | 2015-06-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103678892A (en) | Role object management method and role object management device | |
CN110898428B (en) | Multi-virtual object interaction method, device, server and storage medium | |
US7765478B2 (en) | Scheduling and reserving virtual meeting locations in a calendaring application | |
CN104623898B (en) | A kind of method and game server into game transcript scene | |
CN103889523B (en) | User group's device, user group's method and cloud computing system | |
CN111737012B (en) | Data packet synchronization method, device, equipment and storage medium | |
US8893049B2 (en) | Creation and prioritization of multiple virtual universe teleports in response to an event | |
TWI789087B (en) | Method and apparatus for selecting virtual role, computer device, computer-readable storage medium, and computer program product | |
CN105357045B (en) | A kind of cloud platform service creating method and device | |
CN105204802A (en) | Control information processing method and device | |
KR20120034570A (en) | Online game system and method of data resource handling for an online game | |
CN103577704A (en) | Event handling method and device through NPC in game system | |
CN111228813B (en) | Virtual object control method, device, equipment and storage medium | |
CN112316440A (en) | Game resource allocation method, device, terminal and storage medium | |
US20230016371A1 (en) | Method, program, system, and server for program verification | |
CN111957035A (en) | Virtual character refreshing method and system and readable storage medium | |
CA3110060C (en) | Server and method for providing game service on basis of control using application excluding game application | |
CN103139198B (en) | Information processing system, netscape messaging server Netscape and information processing method | |
KR101947161B1 (en) | Apparatus and method for virtual character in game program | |
WO2024001528A1 (en) | Map switching method and apparatus, and server, storage medium and program product | |
CN104618421A (en) | Method and device for distributing storage resources | |
WO2023037507A1 (en) | Gameplay control learning device | |
CN115019575B (en) | Full-true scene course processing method and device, electronic equipment and storage medium | |
Kohana et al. | Optimal data allocation and fairness for online games | |
US20220314118A1 (en) | Virtual character selection method and apparatus, device, storage medium, and program product |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20140326 |