US2007155508A1PendingUtilityA1

Method for Processing Data of Game Virtual Items, Game Platform System and Game System

Assignee: HUAWEI TECH CO LTDPriority: Jun 18, 2004Filed: Dec 18, 2006Published: Jul 5, 2007
Est. expiryJun 18, 2024(expired)· nominal 20-yr term from priority
Inventors:Qian SunQuan Qi
A63F 13/85A63F 2300/407A63F 13/60A63F 13/12A63F 2300/575A63F 13/10A63F 13/79A63F 13/45A63F 13/30
53
PatentIndex Score
0
Cited by
0
References
0
Claims

Abstract

A method is disclosed for processing data of virtual items by setting a unified virtual item data processing interface and a unified virtual item database. Processing data of virtual items includes: calling by a game the unified virtual item data processing interface; interacting by the unified virtual item data processing interface with the unified virtual item database, to process the data of virtual items. Also disclosed is a game platform system in which the unified virtual item data processing interface and the unified virtual item database are set. Also disclosed is a game system including a virtual item serving module. Also disclosed is a game system including a virtual item server. The present invention achieves unified processing of the virtual item data in the game systems, and solves the problems in the prior art such as high development cost, data chaos, maintenance difficulties and poor security.

Claims

exact text as granted — not AI-modified
1 . A method for processing data of virtual items used in a game system, comprising: 
 setting a unified virtual item data processing interface and a unified virtual item database;    calling, by a game, the unified virtual item data processing interface;    interacting, by the unified virtual item data processing interface, with the unified virtual item database, to process the data of virtual items.    
   
   
       2 . The method of  claim 1 , wherein the unified virtual item data processing interface and the unified virtual item database are set in a game platform or a virtual item server.  
   
   
       3 . The method of  claim 1 , wherein: 
 the process of calling comprises: calling, by the game, the unified virtual item data processing interface with a call instruction containing interface parameters; and    the process of interacting by the unified virtual item data processing interface with the unified virtual item database to process the data of virtual items comprises:    upon receiving the call instruction containing the interface parameters, checking, by the unified virtual item data processing interface, the validity of the interface parameters; and    if the interface parameters are valid, interacting, by the unified virtual item data processing interface, with the unified virtual item database according to the call instruction and the interface parameters to process the data of virtual items, and returning a virtual item data processing result to the game that issued the call instruction; and    if the interface parameters are invalid, returning a result of call failure to the game that issued the call instruction.    
   
   
       4 . The method of  claim 1 , wherein the unified virtual item database comprises one or more of a game information table, a user information table, a virtual item table, a virtual item sort table and a virtual item attributive table.  
   
   
       5 . The method of  claim 4 , wherein: 
 when creating a virtual item, the process of calling comprises: calling, by the game, the unified virtual item data processing interface with a virtual item creation instruction containing interface parameters; and    the interface parameters comprise a virtual item sort ID, a virtual item sort name, an attributive game ID, price of the virtual item and quantity of the virtual item; and    the process of interacting by the unified virtual item data processing interface with the unified virtual item database to process the data of virtual items comprises:    upon receiving the interface parameters from the game, checking, by the unified virtual item data processing interface, the validity of the interface parameters, and if the interface parameters are not valid, returning creation failure information to the game that issued the call instruction and terminating the processes; if the interface parameters are valid, continuing following processes;    searching the virtual item sort table based on the virtual item sort ID in the interface parameters;    deciding whether a record associated with the virtual item sort ID exists in the virtual item sort table, and if not exists, adding a record in the virtual item sort table, with value of each field in the record being the corresponding value in the interface parameters, and returning the creation success information to the game that issued the call instruction and terminating the processes; and if exits, continuing following processes;    modifying values of sort name field, an attributive game ID field and a price field in the record into corresponding values in the interface parameters;    modifying an undistributed quantity field in the record by adding the quantity of the virtual item in the interface parameters to value of the undistributed quantity field, returning creation success information to the game that issued the call instruction, and terminating the current procedure; 
 adding a record in the virtual item sort table, with value of each field in the record being the corresponding value in the interface parameters, and returning the creation success information to the game that issued the call instruction.  
   
   
   
       6 . The method of  claim 4 , wherein: 
 when distributing a virtual item, the process of calling comprises: calling, by the game, the unified virtual item data processing interface with a virtual item distribution instruction containing the interface parameters; and    the interface parameters comprises a virtual item sort ID, a user ID and quantity of the virtual item; and    the process of interacting by the unified virtual item data processing interface with the unified virtual item database to process the data of virtual items comprises:    upon receiving the interface parameters from the game, checking, by the unified virtual item data processing interface, the validity of the interface parameters, and if the interface parameters are not valid, returning distribution failure information to the game that issued the call instruction and terminating the processes; if the interface parameters are valid, continuing following processes;    searching the virtual item sort table based on the virtual item sort ID in the interface parameters;    deciding whether a record associated with the virtual item sort ID exists in the virtual item sort table, and if not exists, returning distribution failure information to the game that issued the call instruction and terminating the processes; if exists, continuing following processes;    deciding whether the quantity of the virtual item in the interface parameters is no more than a value of an undistributed quantity field in the associated record and if the quantity of the virtual item is no more than the value of the undistributed quantity, proceeding to step b5; otherwise, returning distribution failure information to the game that issued the call instruction and terminating the current procedure;    modifying the associated record in the virtual item sort table by subtracting the quantity of the virtual item in the interface parameters from the value of the original undistributed quantity field, and adding the quantity of the virtual item in the interface parameters to a value of a distributed quantity field;    adding records in the virtual item table, with the quantity of the records being the quantity of the virtual item in the interface parameters and the virtual item ID in the added records being generated by the game system or the unified virtual item database;    adding an attributive record of association relationship between the virtual item ID and the user ID of the interface parameters in the virtual item attributive table, and returning distribution success information to the game that issued the call instruction.    
   
   
       7 . The method of  claim 4 , wherein: 
 when trading virtual items, the process of calling comprises: calling, by the game, the unified virtual item data processing interface with a virtual item trade instruction containing the interface parameters; and    the interface parameters comprise a virtual item ID, a seller's user ID, a buyer's user ID and price of the virtual item; and    the process of interacting by the unified virtual item data processing interface with the unified virtual item database to process the data of virtual items comprises:    upon receiving the interface parameters from the game, checking, by the unified virtual item data processing interface, the validity of the interface parameters, and if the interface parameters are not valid, returning trade failure information to the game that issued the call instruction and terminating the processes; if the interface parameters are valid, continuing following processes;    searching the virtual item table based on the virtual item ID in the interface parameters;    deciding whether a record associated with the virtual item ID in the interface parameters exists in the virtual item table, and if not exists, returning table failure information to the game that issued the call instruction and terminating the processes; if exists, continuing following processes;    deleting the record with which the virtual item ID is associated in the virtual item attributive table;    inserting virtual item attributive data associated with the virtual item ID and the buyer's user ID in the interface parameters into the virtual item attributive table;    modifying the user information table by subtracting the price of virtual item from the virtual money quantity in the record associated with the buyer's user ID in the interface parameters;    adding the price of the virtual item to the virtual money quantity in the record associated with the seller's user ID, and returning trade success information to the game that issued the call instruction.    
   
   
       8 . The method of  claim 4 , wherein: 
 when a user selling a virtual item to the game system, the process of calling comprises: calling, by the game, the unified virtual item data processing interface with a virtual item selling instruction containing the interface parameters; and    the interface parameters comprise a virtual item ID, a seller's user ID and a price of the virtual item; and    the process of interacting by the unified virtual item data processing interface with the unified virtual item database to process the data of virtual items comprises:    upon receiving the interface parameters from the game, checking, by the unified virtual item data processing interface, the validity of the interface parameters, and if the interface parameters are not valid, returning selling failure information to the game that issued the call instruction and terminating the processes; if the interface parameters are valid, continuing following processes;    searching the virtual item attributive table based on the virtual item ID and the seller's user ID in the interface parameters;    deciding whether the seller owns the virtual item in the virtual item attributive table, if the seller does not own the virtual item, returning selling failure information to the game that issued the call instruction and terminating the processes; if the seller owns the virtual item, continuing following processes;    modifying the associated record in the virtual item sort table by adding 1 to an undistributed quantity while subtracting 1 from an distributed quantity;    deleting the associated record from the virtual item table according to the virtual item ID in the interface parameters;    deleting an attributive record of association relationship between the virtual item ID and the seller's user ID in the interface parameters from the virtual item attributive table;    modifying the user information table by adding the price of the virtual item to a value of a virtual money quantity field in the record associated with the seller's user ID in the interface parameters, and returning selling success information to the game that issued the call instruction; and    when a user buying a virtual item from the game system, the process of calling comprises: calling, by the game, the unified virtual item data processing interface with a virtual item buying instruction containing the interface parameters;    the interface parameters comprise the virtual item sort ID, a buyer's user ID, the price of the virtual item and a quantity of the virtual item; and    the process of interacting by the unified virtual item data processing interface with the unified virtual item database to process the data of virtual items comprises:    upon receiving the interface parameters from the game, checking, by the unified virtual item data processing interface, the validity of the interface parameters, and if the interface parameters are not valid, returning buying failure information to the game that issued the call instruction and terminating the current procedure; if the interface parameters are valid, continuing following processes;    searching the virtual item sort table based on the virtual item sort ID in the interface parameters;    deciding whether a virtual item sort record associated with the virtual item sort ID in the interface parameters exists in the virtual item sort table, if not exists, returning buying failure information to the game that issued the call instruction and terminating the processes; if exists, continuing following processes;    deciding whether the quantity of the virtual item in the interface parameters is no more than a value of an undistributed quantity field in the record, if the quantity of the virtual item is more than the value of the undistributed quantity field, returning buying failure information to the game that issued the call instruction and terminating the processes; if the quantity of the virtual item is no more than the value of the undistributed quantity field, continuing following processes;    modifying corresponding record in the virtual item sort table by subtracting the quantity of the virtual item in the interface parameters from the value of the undistributed quantity field, and adding the quantity of the virtual item in the interface parameters to the value of the distributed quantity field;    adding records in the virtual item table, with the quantity of the added records being the quantity of the virtual item in the interface parameters and the virtual item ID in the added records being generated by the game system or the unified virtual item database;    adding an attributive record of the association relationship between the virtual item ID and the buyer's user ID in the virtual item attributive table;    modifying the user information table by subtracting the price of the virtual item from a value of a virtual money quantity in the record associated with the buyer's user ID in the interface parameters, and returning buying success information to the game that issued the call instruction.    
   
   
       9 . The method of  claim 4 , wherein: 
 when a user carrying out virtual item bestowal, the process of calling comprises: calling, by the game, the unified virtual item data processing interface with a virtual item bestowal instruction containing the interface parameters; and    the interface parameters comprise a virtual item ID, an original attributive user ID, and a bestowed user ID; and    the process of interacting by the unified virtual item data processing interface with the unified virtual item database to process the data of virtual items comprises:    upon receiving the interface parameters from the game, checking, by the unified virtual item data processing interface, the validity of the interface parameters, and if the interface parameters are not valid, returning bestowal failure information to the game that issued the call instruction and terminating the processes; if the interface parameters are valid, continuing following processes;    searching the virtual item attributive table based on the original attributive user ID, the bestowed user ID and the virtual item ID in the interface parameters;    deciding whether the original attributive user owns the virtual item associated with the virtual item ID in the interface parameters, if the original attributive user does not own the virtual item, returning bestowal failure information to the game that issued the call instruction and terminating the processes;    if the original attributive user owns the virtual item, deleting an attributive record of the relationship between the original attributive user and the virtual item ID, adding an attributive record of the relationship between the bestowed user and the virtual item ID in the interface parameters, and returning bestowal success information to the game that issued the call instruction.    
   
   
       10 . The method of  claim 4 , wherein: 
 when the users sharing a virtual item, the process of calling comprises: calling, by the game, the unified virtual item data processing interface with a virtual item share instruction containing the interface parameters; and    the interface parameters comprise a virtual item ID, an attributive user ID, and a sharing user ID list; and    the process of interacting by the unified virtual item data processing interface with the unified virtual item database to process the data of virtual items comprises:    upon receiving the interface parameters from the game, checking, by the unified virtual item data processing interface, the validity of the interface parameters, and if the interface parameters are not valid, returning share failure information to the game that issued the call instruction and terminating the processes; if the interface parameters are valid, continuing following processes;    searching the virtual item attributive table based on the virtual item ID and the attributive user ID in the interface parameters;    deciding whether the user with the attributive user ID in the interface parameters owns the virtual item, if the user does not own the virtual item, returning share failure information to the game that issued the call instruction and terminating the processes;    if the user owns the virtual item, adding an attributive record of the relationship between each user ID in the sharing user ID list and the virtual item ID in the interface parameters into the virtual item attributive table, and returning share success information to the game that issued the call instruction.    
   
   
       11 . The method of  claim 4 , wherein: 
 when the users exchanging virtual items, the process of calling comprises: calling, by the game, the unified virtual item data processing interface with a virtual item exchange instruction containing the interface parameters; and    the interface parameters comprise a first virtual item ID and a second virtual item ID; and    the process of interacting by the unified virtual item data processing interface with the unified virtual item database to process the data of virtual items comprises:    upon receiving the interface parameters from the game, checking, by the unified virtual item data processing interface, the validity of the interface parameters, and if the interface parameters are not valid, returning exchange failure information to the game that issued the call instruction and terminating the processes; if the interface parameters are valid, continuing following processes;    searching an attributive user ID associated with the first virtual item ID and an attributive user ID associated with the second virtual item ID in the interface parameters in the virtual item attributive table;    deciding whether the user associated with the first virtual item ID and the user associated with second virtual item ID are the same, if the users are the same one, returning exchange failure information to the game that issued the call instruction and terminating the processes;    if the users are not the same one, modifying the user ID associated with the first virtual item ID in the virtual item attributive table into the user ID associated with the second virtual item ID, modifying the user ID associated with the second virtual item ID into the user ID associated with the first virtual item ID, and returning exchange success information to the game that issued the call instruction.    
   
   
       12 . A game platform system, comprising a unified virtual item data processing interface and a unified virtual item database; 
 wherein, the unified virtual item data processing interface receives a call instruction containing interface parameters sent by a game module supported by the game platform system interacts with the unified virtual item database according to the call instruction and the interface parameters to process data of virtual items, and returns processing result to the game module that issued the call instruction; and    the unified virtual item database stores the virtual item data of the game module supported by the game platform system.    
   
   
       13 . The game platform system of  claim 12 , wherein the unified virtual item data processing interface comprises at least one of: a virtual item creation interface, a virtual item distribution interface, a virtual item modification interface, a virtual item trade interface, a virtual item transfer interface, a virtual item inquiry interface and a virtual item statistics interface.  
   
   
       14 . The game platform system of  claim 12 , further comprising a virtual item data management module; 
 wherein the virtual item data management module has a management and maintenance interface for receiving the call instruction containing the interface parameters and transmitting the call instruction to the unified virtual item data processing interface in the virtual item serving module;    upon receiving the call instruction, the unified virtual item data processing interface interacts with the unified virtual item database according to the call instruction and the interface parameters to process data of virtual items, and returns processing result to the virtual item data management module that issued the call instruction; the virtual item data management module displays the process result.    
   
   
       15 . A game system, comprising a client, a game module, a game platform, and a virtual item serving module including a unified virtual item data processing interface and a unified virtual item database; 
 wherein, the unified virtual item data processing interface receives a call instruction containing interface parameters from the game module, and interacts with the unified virtual item database according to the call instruction and the interface parameters to process data of virtual items, and returns processing result to the game module that issued the call instruction;    the unified virtual item database stores the data of virtual items of the game module.    
   
   
       16 . The game system of  claim 15 , wherein the unified virtual item data processing interface comprises at least one of: a virtual item creation interface, a virtual item distribution interface, a virtual item modification interface, a virtual item trade interface, a virtual item transfer interface, a virtual item inquiry interface and a virtual item statistics interface.  
   
   
       17 . The game system of  claim 15 , wherein the virtual item serving module is set in the game platform or a virtual item server independent from the game platform.  
   
   
       18 . A game system, comprising a client, a game module, and a virtual item server including a unified virtual item data processing interface and a unified virtual item database; 
 wherein, the unified virtual item data processing interface receives a call instruction containing the interface parameters from the game module, interacts with the unified virtual item database according to the call instruction and the interface parameters to process data of virtual items, and returns processing result to the game module that issued the call instruction;    the unified virtual item database stores the data of virtual items of the game module.    
   
   
       19 . The game system of  claim 18 , wherein the unified virtual item data processing interface comprises at least one of: a virtual item creation interface, a virtual item distribution interface, a virtual item modification interface, a virtual item trade interface a virtual item transfer interface, a virtual item inquiry interlace and a virtual item statistics interface.

Join the waitlist — get patent alerts

Track US2007155508A1 — get alerts on status changes and closely related new filings.

We store only your email — no account needed. See our privacy policy.