CN1319008C - Game virtual-article data processing method, game platform system and game system - Google Patents
Game virtual-article data processing method, game platform system and game system Download PDFInfo
- Publication number
- CN1319008C CN1319008C CNB2004100487771A CN200410048777A CN1319008C CN 1319008 C CN1319008 C CN 1319008C CN B2004100487771 A CNB2004100487771 A CN B2004100487771A CN 200410048777 A CN200410048777 A CN 200410048777A CN 1319008 C CN1319008 C CN 1319008C
- Authority
- CN
- China
- Prior art keywords
- virtual
- interface
- game
- items
- goods
- Prior art date
Links
- 238000003672 processing method Methods 0 title 1
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/70—Game security or game management aspects
- A63F13/79—Game security or game management aspects involving player-related data, e.g. identities, accounts, preferences or play histories
-
- 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/10—Control of the course of the game, e.g. start, progess, end
-
- 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/12—Video games, i.e. games using an electronically generated display having two or more dimensions involving interaction between a plurality of game devices, e.g. transmisison or distribution systems
-
- 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/60—Generating or modifying game content before or while executing the game program, e.g. authoring tools specially adapted for game development or game-integrated level editor
-
- 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/85—Providing additional services to players
-
- 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
- A63F2300/00—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
- A63F2300/40—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterised by details of platform network
- A63F2300/407—Data transfer via internet
-
- 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
- A63F2300/00—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
- A63F2300/50—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers
- A63F2300/57—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers details of game services offered to the player
- A63F2300/575—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers details of game services offered to the player for trading virtual items
Abstract
Description
技术领域 FIELD
本发明涉及网络游戏中数据的处理技术,特别涉及游戏虚拟物品数据处理方法及游戏平台系统和游戏系统。 The present invention relates to a data processing network game technology, and particularly relates to a game processing method and a data virtual items internet gaming systems and gaming systems.
背景技术 Background technique
随着互联网和移动通信技术的快速发展,在线网络游戏已经成为通信运营商数据业务的重点。 With the rapid development of Internet and mobile communication technology, online games have become the focus of network communications operators data services. 一般的在线网络游戏是一个游戏一套系统,由游戏开发商和移动终端设备制造商各自开发,没有统一的标准。 General online game is a game of a system, developed by the respective mobile game developer and manufacturer of terminal equipment, there is no uniform standard. 目前的技术发展趋势是由运营商提供一个统一的游戏平台,平台上可以运行游戏开发商提供的不同游戏。 Current technology trends to provide a unified gaming platform by the operator, game developers can run different games available on the platform. 游戏平台提供计费、定时器、积分管理、会话管理等功能。 Gaming platform provides billing, timer, integration management, session management, and other functions. 为游戏开发商屏蔽了具体的电信设备协议,以及业务部署时的电信网络环境,节省了游戏开发商在服务器端的开发工作。 Shielding for game developers a specific agreement telecommunications equipment, telecommunications and business network environment when deployed, saving the game developers to work on the server side. 开放移动联盟OMA其中的游戏工作组就致力于移动在线游戏平台标准规范的制定。 Open Mobile Alliance (OMA) in which the game Working Group is committed to the development of mobile online gaming platform standard specification.
另一方面,随着在线网络游戏的普及,游戏中虚拟物品的各种问题日益突出。 On the other hand, with the popularity of online games, the game virtual goods issues have become increasingly prominent. 在网络游戏业发达的国家已经针对网络上虚拟物品的盗窃行为制订了专门的法律。 The online game industry in the developed countries have for theft of virtual goods on the network developed a special law. 虚拟物品是指游戏中的装备,宠物等,游戏用户为了获得这些虚拟物品,通常要花费大量的时间和通信费用。 Virtual goods refers to a game equipment, pets, game users in order to obtain these virtual goods, usually it takes a lot of time and communication costs. 所以如果游戏系统对用户的虚拟物品数据处理不当,管理不善,将会大大影响用户的满意度,甚至引发法律纠纷。 So if the game virtual goods system data to the user's improper handling, poor management, will greatly affect user satisfaction, and even lead to legal disputes. 有效解决虚拟物品的各种问题,无论是在立法还是技术上都显得格外迫切。 Effective solution to the problems of virtual goods, both are extraordinarily urgent legislation or technology. 目前针对虚拟物品盗窃问题,一些公司提出在用户客户端安装防火墙,防黑客软件等来加强安全性。 Currently for virtual goods theft problem, some companies put forward in the user client install a firewall, anti-hacker software to enhance security. 但并未有游戏系统本身的技术改进措施来解决虚拟物品的问题。 Technical improvements but did not have the game system itself to solve the problem of virtual goods.
通常,在一个游戏平台上运行多个游戏开发商提供的多个游戏的系统中,每个游戏都是一个相对独立的系统,一般与游戏平台运行于同一台计算机服务器上。 Typically, the operation of the system for multiple games more game developers provided on a gaming platform, every game is a relatively independent of the system, and general gaming platform running on the same computer server.
例如:开放移动联盟OMA的游戏平台标准中的虚拟物品数据处理接口包括游戏与游戏平台之间的接口以及客户端与游戏平台之间的接口。 For example: virtual goods data Open Mobile Alliance OMA gaming platform standard processing interface includes an interface between the interface and client and gaming platform between games and gaming platforms. 参见图1,图1为现有技术游戏系统的结构示意图。 Referring to Figure 1, a schematic view of FIG. 1 is a prior art gaming system. 其中,游戏模块101与游戏平台102之间的接口包括会话管理接口,通信接口,计费接口,分数和比赛管理接口,日志接口,定时器接口等。 Wherein the interface between the game module 102 includes a game platform 101 and the session management interface, a communication interface, a billing interface, a game score, and management interfaces, log interface, a timer interface. 客户机100与游戏平台102之间的接口包括登陆和注册接口,游戏创建和安排比赛的接口,玩游戏接口,分数接口,消息接口等。 The client interface between the 102 and 100 gaming platforms including landing and registration interface, game interface to create and arrange the game, play the game interfaces, scores interfaces, messaging interface.
游戏平台102没有提供虚拟物品数据处理的统一接口,游戏的虚拟物品都必须由游戏模块101各自进行数据处理。 102 gaming platform virtual items do not provide a unified interface for data processing, the game's virtual goods must be their own game by the data processing module 101. 每个游戏模块101都有自己的虚拟物品数据处理程序和存放虚拟物品数据的数据库,数据存放格式也不同,特别是游戏由不同开发商开发时,处理程序和存放格式差别很大。 Each game has its own module 101 virtual goods data processing programs and virtual goods store data in the database, the data storage format is different, especially when the game developed by different developers, handlers and store large format differences. 运营商一般也无法得知虚拟物品处理程序和数据存放格式,其维护也必须由各个开发商分别维护,运营商无法进行统一的维护,当运营的游戏数量比较多的时候,对众多游戏的虚拟物品数据分别进行备份,统计,分析等工作将很困难;处理程序的安全可靠性完全依赖各个开发商,如果某个开发商开发的虚拟物品数据处理程序存在安全漏洞,造成游戏用户虚拟物品的丢失或数据混乱,则对运营商会带来很大损失。 Operators generally can not know the virtual item processing program and data storage formats, the maintenance must also be maintained by various developers are, operators can not be uniform maintenance, when comparing the number of operators of the game when many of the virtual game items were backed up data, statistics and analysis work will be very difficult; the safety and reliability handler completely dependent on the individual developers, there is a security hole if a developer to develop the virtual goods data processing program, resulting in the loss of virtual goods game users or data corruption, the operators will bring great losses. 而且虚拟物品都是各游戏间的虚拟物品数据无法共享流通转移,限制了系统的功能。 And virtual goods are virtual goods data can not be shared among the game flow transfer, limits the function of the system.
可见,目前的游戏系统中对虚拟物品数据的处理,是由各个游戏模块各自处理,且各自存储的方式不同。 It is seen that the current game system for processing data of virtual items, are each processed by respective game module, and stored in each different manner. 因此存在开发成本高,数据混乱,维护困难,安全性差、功能有限等种种技术问题。 Therefore, there is the development of high costs, data confusion, difficult maintenance, poor security, limited functionality and various technical problems.
发明内容 SUMMARY
有鉴于此,本发明的第一个主要目的在于提供一种游戏虚拟物品数据处理方法,对游戏系统中的虚拟物品数据进行统一处理,解决现有技术数据混乱等问题。 In view of this, a first object of the invention is to provide a virtual game item data processing method for the game system virtual item data unified address and solve the prior art problems such as data corruption.
本发明的第二个主要目的在于提供一种游戏平台系统,该游戏平台系统能够对游戏系统中的虚拟物品数据进行统一处理,解决现有技术数据混乱等问题。 A second object of the invention is to provide a gaming platform, the game platform capable of handling the game a unified system of virtual goods data, the prior art to solve data corruption and other issues.
本发明的第三个主要目的在于提供一种游戏系统,该游戏系统中的虚拟物品数据能够进行统一处理。 The third main object of the present invention is to provide a game system, the game system virtual item data can be performed centrally.
为达到上述目的的第一个方面,本发明提供了一种游戏虚拟物品数据处理方法,该方法在游戏系统中设置统一的虚拟物品数据处理接口和统一的虚拟物品数据库,所述虚拟物品数据处理接口为游戏系统服务侧游戏模块的接口,对虚拟物品数据的处理包括以下步骤:A、游戏系统的游戏在运行过程中,由游戏系统服务侧的游戏模块调用虚拟物品数据处理接口;B、虚拟物品数据处理接口与虚拟物品数据库交互,对虚拟物品数据进行处理。 For the first aspect to achieve the above object, the present invention provides a virtual game item data processing method of data items disposed unified virtual interfaces and virtual objects database processing in a unified game system, the virtual item data processing an interface for the gaming system server side game interface module, the processing of the virtual item data comprises the steps of: a, the game system of the game during operation, by the game module game system service side calls the virtual item data processing interface; B, virtual the object data processing interface database interaction with virtual goods, virtual goods data processing.
其中,在游戏系统中设置虚拟物品数据处理接口和虚拟物品数据库的方法可以为:将虚拟物品数据处理接口和虚拟物品数据库设置在游戏系统的游戏平台中;或在系统中设置虚拟物品服务器,将虚拟物品数据处理接口和的虚拟物品数据库设置在虚拟物品服务器中。 Wherein a virtual item data method of processing interface and a virtual article database in the game system may be: a virtual item data processing interface and a virtual article database provided in the game platform game system; providing virtual items server system or the data processing interface virtual items virtual items and database items disposed in the virtual server.
所述步骤A可以为:各个游戏程序在运行过程中发送包含接口参数的虚拟物品数据处理接口调用指令;所述步骤B可以包括:B1、虚拟物品数据处理接口接收包含接口参数的调用指令并检查接口参数的合法性,如果接口参数合法则执行步骤B2,否则向发送调用指令的游戏返回调用失败结果;B2、虚拟物品数据处理接口根据调用指令及其接口参数与虚拟物品数据库交互完成虚拟物品数据处理;B3、虚拟物品数据处理接口向发送调用指令的游戏返回虚拟物品数据的处理结果。 The step A may be: a virtual interface call item data processing instruction includes an interface program sends the respective game parameters during operation; step B may include: B1, virtual item data processing interface receives a call instruction interface parameters and checking legality interface parameters, if the interface is a legitimate argument to step B2, otherwise the call instruction to send the game to return the call fails result; B2, virtual items virtual items to complete the data processing interface data interface parameters according to the call instruction and interaction with virtual objects database processing; B3, virtual goods data processing interface data processing result is returned to the virtual items sent instructions to call the game.
所述的虚拟物品数据库可以包含:游戏信息表、用户信息表和虚拟物品表,还可以包含虚拟物品类别表、虚拟物品归属表。 The database may contain virtual items: game information table, user information and virtual goods table, you can also include virtual goods category table, virtual items attributable table.
该方法可以进一步包括:在游戏系统中设置虚拟物品数据管理模块;运营商通过虚拟物品管理模块向虚拟物品数据处理接口发送包含接口参数的调用指令,虚拟数据处理接口收到该指令后,根据该指令及其中的接口参数与虚拟物品数据库进行交互,对虚拟物品数据进行处理,由虚拟将物品数据处理接口将处理结果返回给发送调用指令的虚拟物品管理模块,虚拟物品数据管理模块将结果呈现给运营商。 The method may further comprise: setting virtual items in the data management module game system; virtual items by the operator management module comprises a call instruction process interface to send data to the interface parameter of the virtual objects, the virtual data processing interface receives the instruction, based on the command and the interface parameters and virtual items interacting with the database of virtual goods data processing, the results returned by the virtual articles data processing interface processing to send the call instruction virtual goods management module, virtual goods data management module presents the results to operators.
为达到上述目的的第二个方面,本发明提供了一种游戏平台系统,该游戏平台系统包含虚拟物品服务模块;所述的虚拟物品服务模块包含虚拟物品数据处理接口和虚拟物品数据库;所述虚拟物品数据处理接口,接收该游戏平台系统中的游戏模块向游戏平台系统发送的包含接口参数的虚拟物品数据处理接口调用指令,并根据该指令及其中的接口参数与虚拟物品数据库进行交互,对虚拟物品数据进行处理,并将处理结果返回给发送调用指令的游戏模块;所述虚拟物品数据库,存储该游戏平台系统中的游戏模块的虚拟物品数据。 To achieve the object of the second aspect, the present invention provides a game platform, the game platform service module comprises a virtual item; said service module includes virtual items of virtual interfaces, and virtual data processing goods article database; the virtual item data processing interface, virtual item data processing interface invoking instruction receives the game platform system game module sends to a game platform includes an interface parameters, and interact according to the instruction and the interface parameters and virtual objects database, for virtual item data is processed, and the results sent back to the games module call instruction; the virtual objects database storing article data of the virtual game platform in the game system module.
其中,所述的虚拟物品数据处理接口可以包含以下至少其中之一:虚拟物品的创建接口、虚拟物品的分配接口、虚拟物品的修改接口、虚拟物品的交易接口、虚拟物品的转移接口、虚拟物品的查询接口、虚拟物品的统计接口。 Wherein said virtual item data processing interface may comprise at least one of the following: create an interface to modify the interface, virtual items dispense interface, virtual items virtual objects, the virtual goods transaction interface, the interface transfers virtual items, virtual items query interface, the interface statistics of virtual goods.
游戏平台系统可以进一步包含:虚拟物品数据管理模块;所述的虚拟物品数据管理模块具有管理维护界面,接收包含接口参数的调用指令,发送给虚拟物品服务单元中的虚拟物品数据处理接口;虚拟数据处理接口接收该调用指令后,根据该调用指令及其中的接口参数与虚拟物品数据库进行交互,对虚拟物品数据进行处理,并将处理结果返回给发送调用指令的虚拟物品数据管理模块,虚拟物品数据管理模块将结果呈现出来。 Internet gaming system may further comprise: a virtual item data management module; said data management module having a virtual item management and maintenance interface, receiving a call instruction interface parameters, data transmitted to the virtual goods virtual goods and services processing interface unit; virtual data after receiving the call processing interface instruction, based on the call instruction to interact and interface parameters in the database with the virtual objects, the virtual item data is processed, and the results sent back to the call instruction virtual item data management module, a virtual item data management module presents the results come out.
为达到上述目的的第三个方面,本发明提供了一种游戏系统:包含客户机、游戏模块和游戏平台,该系统进一步包含虚拟物品服务单元;所述的虚拟物品服务单元包含虚拟物品数据处理接口和虚拟物品数据库;所述虚拟物品数据处理接口,接收该游戏系统中游戏模块发送的包含接口参数的虚拟物品数据处理接口调用指令,并根据该指令及其中的接口参数与虚拟物品数据库进行交互,对虚拟物品数据进行处理,并将处理结果返回给发送调用指令的游戏模块;所述虚拟物品数据库,存储该游戏系统中游戏模块的虚拟物品数据。 To achieve the above object of the third aspect, the present invention provides a game system: containing the client, game module, and game platform, the system further comprises a virtual goods and services unit; the virtual items virtual items comprising service data processing unit interfaces, and virtual article database; data processing interface of the virtual objects, the virtual interface call item data processing instruction includes an interface to receive the game parameters of the game sent by the module system, and interact according to the command and its parameters to the virtual interface in article database , the virtual item data is processed, and the results sent back to the games module call instruction; the virtual database items, item data store virtual game module of the game system.
所述的虚拟物品数据处理接口包含以下至少其中之一:虚拟物品的创建接口、虚拟物品的分配接口、虚拟物品的修改接口、虚拟物品的交易接口、虚拟物品的转移接口、虚拟物品的查询接口、虚拟物品的统计接口。 The virtual goods data processing interface comprises at least one of: creating an interface, the interface distribution of virtual goods, virtual goods to modify the interface of virtual goods, virtual goods transaction interface, the interface transfer of virtual goods, virtual goods query interface statistical Interface virtual goods.
所述的虚拟物品服务单元可以为设置在游戏平台的虚拟物品服务模块或与游戏平台独立的虚拟物品服务器。 The virtual items may be disposed in a service unit of the game platform virtual goods or service module and the game server platform-independent virtual items.
该系统可以进一步包含:虚拟物品数据管理模块;所述的虚拟物品数据管理模块具有管理维护界面,接收包含接口参数的调用指令,发送给虚拟物品服务单元中的虚拟物品数据处理接口;虚拟数据处理接口接收该调用指令后,根据该调用指令及其中的接口参数与虚拟物品数据库进行交互,对虚拟物品数据进行处理,并将处理结果返回给发送调用指令的虚拟物品数据管理模块,虚拟物品数据管理模块将结果呈现出来。 The system may further comprise: a virtual item data management module; said data management module having a virtual item management and maintenance interface, receiving a call instruction interface parameters, data transmitted to the virtual goods virtual goods and services processing interface unit; Virtual Data Processing after receiving the call instruction interfaces, according to the call instruction in their interface parameters with the virtual objects interact with the database, the virtual item data is processed, and the results sent back to the call instruction virtual item data management module, a virtual item data management module presents the results come out.
由上述的技术方案可见,本发明关键是:在游戏系统中设置统一的虚拟物品数据处理接口和统一的虚拟物品数据库,该游戏系统中游戏的虚拟物品数据处理通过统一的虚拟物品数据处理接口访问统一的虚拟物品数据库中,游戏系统对所有游戏的所有虚拟物品数据进行处理。 Seen from the above technical solution, the present invention, the key is: provided a unified virtual item data virtual item database processing interface and unified in the game system, the game system, a game virtual item data processing interface access processing through a unified virtual item data unified database of virtual goods, the game system processes all the data of all virtual goods game. 利用本发明,在开发新游戏时,不必单独建立数据库,只要保证新游戏的虚拟物品数据格式与统一的虚拟物品数据库相同就可以了,同时不必开发虚拟物品的数据处理程序,只需调用游戏系统中统一的虚拟物品数据处理接口即可,能够节省开发成本。 With the present invention, in the development of new games, without having to establish a separate database, as long as the same new game virtual goods data format and unified database of virtual items on it, without having to develop data-processing program of virtual items, simply call the game system unified virtual goods data processing interface, thus saving development costs. 由一个统一的数据库对虚拟物品进行存储,能够解决现有技术中数据混乱的问题。 Storage for virtual goods consists of a single database, can solve the problem that data corruption problems. 同时,对一个数据库进行维护相对于对多个数据库维护来说相对简单。 Meanwhile, a relative simple database for maintaining a plurality of databases is maintained.
附图说明 BRIEF DESCRIPTION
图1为现有技术游戏系统的结构示意图;图2为本发明游戏虚拟物品数据进行处理的流程图;图3为本发明虚拟物品创建的实施流程图;图4为本发明虚拟物品分配的实施流程图;图5为本发明虚拟物品修改的实施流程图;图6为本发明用户间虚拟物品交易的实施流程图;图7a为本发明用户向系统卖出虚拟物品的实施流程图;图7b为本发明用户从系统买入虚拟物品的实施流程图;图8a为本发明虚拟物品赠予的实施流程图;图8b为本发明虚拟物品共享的实施流程图;图8c为本发明虚拟物品交换的实施流程图;图9a为本发明第一种虚拟物品查询的实施流程图;图9b为本发明第二种虚拟物品查询的实施流程图;图9c为本发明第三种虚拟物品查询的实施流程图;图10为本发明虚拟物品统计的实施流程图;图11a为本发明游戏系统第一较佳实施例的结构示意图;图11b为本发明 1 is a schematic configuration of a game system prior art; FIG. 2 of the present invention, a virtual game item data is a flowchart of processing; FIG. 3 is an embodiment of a flowchart of virtual objects created; FIG. 4 allocated virtual items embodiment of the present invention flowchart; flowchart items transactions between users of the present invention, FIG. 6;; FIG. 7a present invention flowchart of the virtual items sold to the user system; FIG. 5 is a flowchart of embodiments of the present invention to modify virtual items Figure 7b FIG. 8b flowchart sharing virtual objects of the present invention;; flowchart in FIG. 8a to the present invention, a virtual gift articles; embodiment of the present invention, the user to buy a flowchart of virtual items from a virtual item exchange system of Fig. 8c present invention the flowchart; Figure 9b a flowchart of a second embodiment of the present invention, the query virtual items;; Figure 9c third embodiment of the present invention, virtual items query FIG. 9a flowchart illustrating a first embodiment of the present virtual items query invention 10 is a flowchart of the present embodiment of the invention statistics virtual items;; 11a flowchart of FIG structural diagram of a first preferred embodiment of the present invention, the game system; FIG. 11b of the present invention 戏系统第二较佳实施例的结构示意图; Structure of the second preferred embodiment of the game system schematic;
图12为本发明游戏系统第三较佳实施例的结构示意图。 FIG 12 a schematic view of the structure of a third preferred embodiment of the present invention is a game system.
具体实施方式 Detailed ways
为使本发明的目的、技术方案及优点更加清楚明白,以下参照附图并举实施例,对本发明进一步详细说明。 For purposes of this invention, the technical solution and merits thereof more apparent, with reference to the accompanying drawings and the following embodiments, the present invention is further described in detail.
本发明的主要思想是:在游戏系统中设置统一的虚拟物品数据处理接口和统一的虚拟物品数据库,所述虚拟物品数据处理接口为游戏系统服务侧游戏模块的接口,该游戏系统中游戏的虚拟物品的数据处理通过统一的虚拟物品数据处理接口访问统一的虚拟物品数据库。 The main idea of the present invention are: set a single virtual items virtual item data processing interface and a unified database in a game system, the virtual game item data processing system-side game service interfaces of the interface module, the virtual game in the game system data items processed unified unified virtual goods data processing interface to access the database through virtual goods.
参见图2,图2为本发明游戏虚拟物品数据进行处理的流程图。 Referring to FIG. 2, FIG. 2 of the present invention, a virtual game item data flowchart of processing performed. 在游戏系统中设置了统一的虚拟物品数据处理接口和统一的虚拟物品数据库后,游戏虚拟物品数据进行处理的过程可以由以下两大步骤实现:步骤201,游戏系统中的游戏在运行过程中,由游戏系统服务侧的游戏模块可以调用虚拟物品数据处理接口。 After setting up a unified virtual items virtual items database data processing interface and a unified system in the game, the game virtual goods data processing procedure can be realized by the following two steps: Step 201, a gaming system during operation in the game, by the game system service module side of the game can be called virtual goods data processing interface.
步骤202,虚拟物品数据处理接口与虚拟物品数据库交互,对虚拟物品数据进行处理。 Step 202, the virtual item data processing interface to interact with virtual objects database, the virtual item data processing.
以下对游戏虚拟物品数据进行处理的具体实施方式进行详细说明。 The following items of data for the virtual game processing specific embodiments described in detail.
首先,对虚拟物品进行一些简单的说明:用户拥有的虚拟货币可以购买虚拟物品,用户拥有的虚拟物品也可以卖出换成虚拟货币,用户可以与其他用户进行虚拟物品交易,也可以与系统进行虚拟物品交易。 First, the virtual goods of some simple explanation: the user can have virtual currency to buy virtual goods, virtual goods owned by the user can be sold into virtual currency, users can trade in virtual items with other users, can also be carried out with the system virtual goods transactions. 虚拟物品以及虚拟货币也可以遵循游戏规则通过游戏中用户的某种行为获得或失去,或者在系统一定条件下获得或失去。 Virtual goods and virtual currency can also follow the rules of the game gained or lost through some sort of user behavior in a game, or get lost in the system or certain conditions.
然后,对虚拟物品数据库进行说明。 Then, the virtual goods database will be described.
本发明中,虚拟物品数据库可以包括多个与虚拟物品数据相关的数据库表,最基本是如下三张表:游戏信息表:包括游戏标识,游戏名称,游戏版本等。 In the present invention, a plurality of virtual objects database may include data associated with the virtual objects database table, the following is the basic three tables: Table game information: identification including game, game name, version and so on.
用户信息表:包括用户标识,虚拟货币量等。 User information table: including user identification, virtual currency amount.
虚拟物品表:包括虚拟物品标识,虚拟物品属性,所属用户标识,价值等。 Table of virtual items: identification, including virtual goods, virtual goods property belongs to the user identity, value and so on. 同时预留多个字段,由各游戏根据需要自行决定字段的意义,以方便扩展游戏的功能以及数据的内容。 Set aside more than one field at the same time, each game needs to decide according to their own sense fields, in order to facilitate the expansion of game features and content data. 其中,虚拟物品属性一般有多个字段,包括同类虚拟物品共有的基本属性如物品类别,所属游戏标识等,以及单个虚拟物品的特有属性,如状态等。 Wherein a plurality of virtual goods attribute field generally, including virtual items common to the same basic properties, such as an article, a logo, etc. relevant to the game, as well as the unique attributes of the individual virtual items, such as status.
以上三张表是虚拟物品数据的基本表,如果为了减少数据冗余,以及实现更多的虚拟物品处理功能,对以上数据库设计改进,可以在数据库中增加相应数据库表,改进后的数据库可以包括以下数据库表:游戏信息表:包括游戏标识,游戏名称,游戏版本等。 Above three tables are the basic data table of virtual items, if in order to reduce data redundancy, and achieve more virtual items processing, and the above improved database design, the database may be increased corresponding table in the database, the database may include the improved the following database tables: table game information: including game identification, name of the game, the game version. 例如,表1所示的游戏信息表。 For example, game information table shown in Table 1.
表1用户信息表:包括用户标识,虚拟货币量等。 Table 1 user information table: including user identification, virtual currency amount. 例如,表2所示的用户信息表。 For example, the user information table shown in Table 2.
表2虚拟物品类别表:包括虚拟物品类别标识,所属游戏标识,价值,未分配数量,已分配数量等字段。 Table 2 virtual goods category table: including virtual goods category identification, the game belongs to identify, value, unallocated amount has been allocated the number of fields. 同时可以预留多个字段,由各游戏根据需要自行决定字段的意义,以方便扩展游戏的功能以及数据的内容。 At the same time you can set aside a number of fields, each game needs to decide according to their own sense fields, in order to facilitate the expansion of game features and content data. 例如,表3所示的虚拟物品类别表。 For example, a virtual item category table shown in Table 3.
表3该表将虚拟物品表中的虚拟物品属性中的基本信息如物品类别,所属游戏标识等字段分离出来,保存在虚拟物品类别表中,可以减少数据冗余。 Table 3 This table basic information table virtual items virtual items separate properties such as an article, a field relevant to the game identification and the like, stored in the virtual item category table, data redundancy can be reduced. 同时虚拟物品的价值也可以定义在虚拟物品类别表中,即同一类虚拟物品价值相同。 At the same time the value of virtual items can also be defined in virtual goods category table, the same that is the same type of virtual goods value. 确定虚拟物品的价值的一种方法是,确定虚拟物品价值时,首先检索虚拟物品表,如果该虚拟物品对应的价值字段不为空,则虚拟物品的价值为该字段值;如果该虚拟物品对应的价值字段为空,则该虚拟物品的价值为对应虚拟物品类别中的价值字段值。 A method for determining the value of the virtual items, determining the value of virtual items, first retrieves the article virtual table, if the value of the virtual item corresponding field is not empty, the value of the virtual item for the field value; if the virtual objects corresponding to the value of the field is empty, then the value of virtual goods value field value corresponding to the virtual goods category. 这样可以同时兼容两种定价方式,以适应游戏的不同需要。 This simultaneously compatible with both pricing to meet the different needs of the game.
虚拟物品归属表:包括虚拟物品标识,所属用户标识等字段。 Virtual items attributable table: including virtual goods identification, your user ID and other fields. 例如,表4所示的虚拟物品归属表。 For example, the home virtual item table shown in Table 4.
表4该表中,虚拟物品与所属用户之间是多对多的关系,可以实现多个用户共享一个虚拟物品的功能。 Table 4 This table between the virtual item belongs is the user-many relationship, the user can implement multiple virtual objects share a function.
有了以上两个表格,虚拟物品表的结构变化,包括虚拟物品标识,虚拟物品类别标识,价值,以及单个虚拟物品的特有属性如状态等字段等,可以预留多个字段,由各游戏根据需要自行决定字段的意义,以方便扩展游戏的功能以及数据的内容。 With the above two tables, change in structure of the virtual article tables, including a virtual item identifier, virtual items category identification, value, and the unique properties of a single article such as a virtual status field, etc., can be reserved for a plurality of fields, each game in accordance with need to decide on their own fields of meaning, in order to facilitate the expansion of game features and content data.
虚拟物品表:虚拟物品标识,虚拟物品类别标识,价值,状态等。 Virtual goods Table: Virtual goods identification, identification of virtual goods category, value, status and so on. 同时可以预留多个字段,由各游戏根据需要自行决定字段的意义,以方便扩展游戏的功能以及数据的内容。 At the same time you can set aside a number of fields, each game needs to decide according to their own sense fields, in order to facilitate the expansion of game features and content data. 虚拟物品表记录已经被分配的虚拟物品的信息,一个虚拟物品有唯一的一个虚拟物品标识,虚拟物品标识字段可以设置为数据库中的自动编号类型,这样可以简单的保证其唯一性。 Virtual items virtual goods information table records have been allocated, a virtual item has a unique identification of a virtual item, virtual items database identifier field may be set to the type of automatic numbering, which can simply ensure uniqueness. 例如,表5所示的虚拟物品表。 For example, virtual item table shown in Table 5.
表5以上各表中左边标有PK的字段为数据库表的主键。 Table 5 above the left labeled as the primary key PK field database tables in the tables.
虚拟物品数据库可以分布放置或者采用集群方式,以防止单机负荷太大。 Placing virtual objects database may be distributed or cluster approach employed to prevent too single load.
然后,再对虚拟物品数据处理接口进行说明:虚拟物品数据处理接口可以完全由软件来实现,例如由根据游戏规则设计的虚拟物品数据处理虚拟物品数据处理接口来实现。 Then, the data processing interface for virtual items explained: virtual goods data processing interface may be implemented entirely in software, such as processing data processing interface by the virtual items virtual items of data under the rules of the game designed to achieve.
虚拟物品数据处理接口分为虚拟物品的创建、虚拟物品的分配、虚拟物品的修改、虚拟物品的交易、虚拟物品的转移、虚拟物品的查询、虚拟物品的统计等部分,每一部分包含有一个或多个接口。 Data processing interface is divided into virtual items created virtual goods, virtual goods distribution, modification, trading virtual goods, virtual goods transfer, query, statistics and other virtual items virtual items virtual items section, each section contains one or multiple interfaces. 系统可以根据需要提供全部接口或只提供部分接口。 The system can provide all the interface or to only part of the interface as required.
所有接口的虚拟物品数据处理方法包括三个基本步骤:检查接口参数的合法性,与虚拟物品数据库交互完成虚拟物品数据处理,返回虚拟物品数据的处理结果。 All Data Items virtual interface processing method comprises three basic steps: check the validity of the interface parameters, database interaction with virtual items virtual items completed data processing and returns the processing result data virtual items.
不同的虚拟物品数据库设计对应的虚拟物品数据处理接口实现也不同。 Different virtual items corresponding to the virtual objects database design interface is different data processing. 以下针对具有游戏信息表、用户信息表、虚拟物品表、虚拟物品类别表、虚拟物品归属表的虚拟物品数据库,对虚拟物品的创建、虚拟物品的分配、虚拟物品的修改、虚拟物品的交易、虚拟物品的转移、虚拟物品的查询、虚拟物品的统计的数据处理过程进行详细的描述。 The following for virtual goods database with game information table, user information table, virtual goods table, virtual goods category table, virtual goods attribution table, create virtual goods, allocation of virtual goods, modification of virtual goods transactions of virtual goods, transfer of virtual goods, query, statistical data processing of virtual items virtual items are described in detail.
参见图3,图3为本发明虚拟物品创建的实施流程图。 Embodiment Referring to the flowchart of FIG. 3, FIG. 3 of the present invention to create virtual items. 虚拟物品的创建只涉及虚拟物品类别表。 Creating virtual items involves only virtual goods category table. 该流程包括以下步骤:步骤301,虚拟物品数据处理接口接收游戏发送来的包含接口参数的创建指令,并检查接口参数是否合法,如果合法,则执行步骤302;否则执行步骤307。 The process comprises the following steps: Step 301, the received virtual game item data processing interface includes an interface creation instruction transmitted to the parameter, and interface parameters to check the legality, if valid, step 302 is executed; otherwise, step 307 is performed.
接口参数包括:虚拟物品类别标识、类别名称、所属游戏标识、价值、数量等。 Interface parameters include: virtual goods category ID, category name, the game belongs to the identification, value, quantity and so on.
本步骤中可以检查参数的数据类型,值的范围,是否为空等等,通过初步检查可以过滤掉一些错误或非法的操作,提高系统的安全可靠性以及提高效率。 This step may check the data type of the parameter, the range of values, is empty and the like, can filter out some errors or illegal operation by a preliminary inspection, improve safety and reliability and increase the efficiency of the system. 如虚拟物品的标识数据库中定义的是10位字符,而某个接口参数中的虚拟物品标识值为5位,通过接口参数的合法性检查即可返回错误,而不用对虚拟物品数据库进行操作,数据库找不到对应虚拟物品时再返回错误。 Identifies the database as defined in virtual goods is 10 characters, and an interface parameter identifies the value of five virtual items, you can return the error by checking the legality of the interface parameters, rather than database operations for virtual goods, database did not find and then returns an error when the corresponding virtual items. 数据库的操作是比较耗时和占用系统资源的,所以要尽量避免无效的操作。 Database operation is time-consuming and take up system resources, so try to avoid invalid operation.
步骤302,根据接口参数中的虚拟物品类别标识查询虚拟物品类别表。 Step 302, in accordance with the interface parameter query virtual items virtual items category identification table category.
步骤303,判断接口参数中虚拟物品类别标识在虚拟物品类别表中是否已经有相应记录,如果有则执行步骤304;否则执行步骤306。 Step 303, the interface parameter is determined virtual objects in the virtual item class category identification table if there has been a corresponding record, if step 304 is performed; if not, step 306.
步骤304,修改相应的已有记录各字段值,将记录中类别名称、所属游戏标识、价值字段修改为接口参数中的相应值。 Step 304, modify the corresponding field values have been recorded, the record of the category name, the game identifier belongs, the value of the corresponding field values to modify interface parameters.
步骤305,已有记录中未分配给用户的虚拟物品数量字段修改为原未分配虚拟物品数量字段值加上接口参数中的该虚拟物品的数量值,执行步骤307。 Step 305, the record is not already assigned to a user of the virtual item number field modified to the original virtual item number field values unallocated virtual items plus the number of interface parameters values, step 307 is performed.
步骤306,直接在虚拟物品类别中增加一条相应记录,记录各字段的值等于接口参数中的相应值。 Step 306, a corresponding record in a direct increase in virtual goods category, recorded value of each field is equal to the corresponding values of the interface parameters.
步骤307,向调用本接口的游戏返回创建结果信息。 Step 307, to call this interface to create a return game result information. 创建结果信息可以包含:成功或失败信息以及失败时的错误描述信息。 Creating result information may include: description of the error message when the success or failure information and failure.
参见图4,图4为本发明虚拟物品分配的实施流程图。 Referring to FIG. 4, FIG. 4 is a flowchart of embodiments of the invention, allocation of virtual items. 对虚拟物品的分配涉及了虚拟物品类别表、虚拟物品表、虚拟物品归属表三个数据库表。 Allocation of virtual goods involving virtual goods category table, table virtual goods, virtual goods attribution table three database tables. 该流程包括以下步骤:步骤401,虚拟物品数据处理接口接收游戏发送来的包含接口参数的虚拟物品分配指令,并检查接口参数是否合法,如果合法,则执行步骤402;否则执行步骤408。 The process comprises the following steps: Step 401, a virtual game item data processing interface receiving the transmission instruction including virtual items assigned to the parameters of the interface, and the interface check if they are valid, if valid, step 402 is executed; otherwise, step 408 is performed.
接口参数包括:虚拟物品类别标识、用户标识、数量。 Interface parameters include: virtual goods category identification, user identification number. 检查的方法与步骤301相同。 Check the same manner as in step 301.
步骤402,根据接口参数中的虚拟物品类别标识查询虚拟物品类别表。 Step 402, in accordance with the interface parameter query virtual items virtual items category identification table category.
步骤403 ,判断接口参数中虚拟物品类别标识在虚拟物品类别表中是否已经有相应记录,如果有则执行步骤404;否则执行步骤408。 Step 403, the interface parameter is determined virtual objects in the virtual item class category identification table if there has been a corresponding record, if step 404 is performed; otherwise, step 408 is performed.
步骤404,判断接口参数中的虚拟物品数量是否不大于相应记录中的未分配数量,如果是则执行步骤405;否则执行步骤408。 Step 404 determines the number of items of virtual interface parameters is not greater than the number of unallocated corresponding record, if step 405 is performed; otherwise, step 408 is performed.
步骤405,修改虚拟物品类别表相应记录,用原未分配数量字段减去接口参数中的数量;已分配数量字段值加上接口参数中的数量。 In step 405, modify the virtual item category table corresponding record, the number of interfaces with the original parameters by subtracting the number of unallocated fields; number plus the number of field values allocated interface parameters.
步骤406,在虚拟物品表中增加记录,记录的数量等于接口参数中的虚拟物品参数中的数量,增加的记录中的虚拟物品标识由程序或数据库生成。 Step 406, increase in the virtual table records the article, the number of records equal to the number of virtual interface parameters article parameters, increasing record identified virtual items generated by the program or database.
本实施例中虚拟物品标识有两种自动生成方法:一种是将虚拟物品表中的虚拟物品标识字段设置为数据库自动编号类型。 In this embodiment, there are two virtual item identification generated automatically methods: one is a virtual item identification field to the virtual item database table type automatic numbering. 一种是在保证虚拟物品标识唯一性的前提下,程序使用某种算法生成虚拟物品标识,如先查询到虚拟物品表中最大的虚拟物品标识,再其基础上加1即可,还有很多其他公知的算法,此处不再赘述。 One is the premise of guarantee uniqueness of virtual goods identification, the program uses an algorithm to generate a virtual item identification, such as the first query to the table in the largest virtual goods virtual goods identification, then add 1 to the basis on which there are many other well-known algorithm, not repeat them here.
上述的虚拟物品标识自动生成方法,适用于本发明涉及的各个包含生成虚拟物品标识的虚拟物品数据处理接口。 Virtual items identified above automatic generation method, each suitable for the present invention comprises a data processing interface to generate virtual objects identified virtual items.
步骤407,在虚拟物品归属表增加上述虚拟物品标识与接口参数的用户标识对应关系,即归属记录。 Step 407, the virtual home goods identifier of the virtual table to increase user interface item identification parameter corresponding relationship, i.e. the home recording.
步骤408,向调用本接口的游戏返回分配结果信息。 Step 408, the assignment result information returned to the calling of the interface of the present game. 结果信息可以包含:成功或失败信息以及失败时的错误描述信息。 Result information may include: description of the error message when the success or failure information and failure.
参见图5,图5为本发明虚拟物品修改的实施流程图。 Referring to Figure 5, a flowchart of FIG. 5 embodiment of the present invention to modify the virtual item. 虚拟物品修改只涉及虚拟物品表。 Modify virtual items virtual items involves only table. 该流程包括以下步骤:步骤501,虚拟物品数据处理接口接收游戏发送来的包含接口参数的虚拟物品修改指令,并检查接口参数是否合法,如果合法,则执行步骤502;否则执行步骤505。 The process comprises the following steps: Step 501, a virtual game item data processing interface receives modification instructions sent virtual items includes an interface to the parameters, and parameters to check the legality of the interface, if valid, then step 502 is executed; otherwise, step 505 is performed.
接口参数包括:虚拟物品标识,属性字段名,属性字段值。 Interface parameters include: virtual goods identification, attribute field names, attributes field values. 属性字段名可以是一个属性字段的列表,属性字段值也是对应的一个属性值列表,这样可以同时对虚拟物品的多个属性同时进行修改。 Field name attribute may be an attribute field list, a list of attribute values are attribute values corresponding to the field, so that simultaneously a plurality of attributes can be modified virtual objects simultaneously. 检查的方法与步骤301相同。 Check the same manner as in step 301.
步骤502,根据接口参数中的虚拟物品标识查询虚拟物品表。 Step 502, in accordance with the interface parameter virtual items virtual items identify the query table.
步骤503,判断接口参数中虚拟物品类别标识在虚拟物品表中是否已经有相应记录,如果有则执行步骤504;否则执行步骤505。 Step 503, the interface parameter is determined virtual objects in the virtual goods category identification table if there has been a corresponding record, if step 504 is performed; otherwise, step 505 is performed.
步骤504,根据接口参数中的属性字段名和属性字段值修改虚拟物品表相应记录的各个字段值。 Step 504, modifying each field value of the virtual item corresponding record table based on the field names and the attribute values of the attribute field interface parameters.
步骤505,向调用本接口的游戏返回修改结果信息。 Step 505, to call this interface to modify the return game result information. 结果信息可以包含:成功或失败信息以及失败时的错误描述信息。 Result information may include: description of the error message when the success or failure information and failure.
虚拟物品的交易包含用户间的交易和用户与系统间的交易。 Trading of virtual goods transactions include transactions between users and between users and systems. 以下分别说明。 The following instructions.
用户间的交易包括用户卖出自己拥有的虚拟物品,或者买入其他用户拥有的虚拟物品两种情况,两种情况的数据处理过程是一样的。 Transactions between users, including users sell virtual items they own, or buy two cases of virtual items owned by other users, data processing in both cases is the same.
参见图6,图6为本发明虚拟物品用户间交易的实施流程图。 Referring to FIG. 6, FIG. 6 is a flowchart of inter-virtual goods transactions embodiment of the present invention the user. 虚拟物品的用户间交易涉及虚拟物品类别表、虚拟物品表、虚拟物品归属表和用户信息表四个数据库表格。 Transactions involving virtual goods category table among users of virtual goods, virtual goods table, tables and user ownership of virtual goods information table four database tables. 该流程包括以下步骤:步骤601,虚拟物品数据处理接口接收游戏发送来的包含接口参数的虚拟物品交易指令,并检查接口参数是否合法,如果合法,则执行步骤602;否则执行步骤608。 The process comprises the following steps: Step 601, a virtual game item data processing interface receives the transmitted command includes virtual goods trading interface parameters, interface parameters and checks whether valid, and if valid, step 602 is executed; otherwise, step 608 is performed.
接口参数包括:虚拟物品标识、卖出用户以及买入用户的用户标识、价格。 Interface parameters include: identification of virtual goods, sell and buy user user's user ID, price.
步骤602,根据接口参数中的虚拟物品标识查询虚拟物品表。 Step 602, in accordance with the interface parameter virtual items virtual items identify the query table.
步骤603,判断接口参数中虚拟物品类别标识在虚拟物品表中是否已经有相应记录,如果有则执行步骤604;否则执行步骤608。 Step 603, the interface parameter is determined virtual objects in the virtual goods category identification table if there has been a corresponding record, if step 604 is performed; otherwise, step 608 is performed.
步骤604,删除虚拟物品归属表中该虚拟物品标识对应的记录。 Step 604, deleting the virtual objects to the virtual home table item corresponding to the identifier record. 此步骤之前也可以增加一个步骤,判断虚拟物品归属表中该虚拟物品标识与接口参数中的卖出用户标识是否有对应记录,如果有则执行步骤604,否则执行步骤608。 Prior to this step may be an additional step of determining the virtual home goods table identifier and the virtual goods sold user interface parameters identify whether there is the corresponding record, if step 604 is performed, otherwise step 608 is performed.
步骤605,在虚拟物品归属表中插入虚拟物品标识与接口参数中的买入用户标识相应的虚拟物品归属数据记录。 Step 605, inserting the user to buy the virtual interface item identification parameters identify the appropriate virtual objects in the virtual home data recorded article home table.
步骤606,修改用户信息表,将接口参数中买入用户的用户标识相应记录中的虚拟货币量,减去该虚拟物品的价值量。 Step 606, the user information table to modify the parameters of the interface identifier of the user to buy the virtual currency corresponding to the amount of the recording, the magnitude of value by subtracting the virtual items.
步骤607,将该虚拟物品原来归属的卖出用户的用户标识相应记录的虚拟货币量,增加该虚拟物品的价值量。 Step 607, the amount of virtual money the user home virtual goods sold original user identifier of the corresponding record, increasing the magnitude of value of the virtual objects. 如果原来归属的用户为多个的,该虚拟物品的价值量平均增加到各用户的虚拟货币量上。 If the original ownership for multiple users, the magnitude of value of the virtual goods increased on the average amount of each user's virtual currency.
步骤608,向调用本接口的游戏返回卖出结果信息。 Step 608, to call this interface to return to sell the game result information. 结果信息可以包含:成功或失败信息以及失败时的错误描述信息。 Result information may include: description of the error message when the success or failure information and failure.
本实施例中虚拟物品的价值量的确定方法是:接口参数中输入了价格,该价格即为该虚拟物品的价值量。 The method of determining the magnitude of value of the virtual article of the present embodiment is that: the input interface parameters price that is the Value of the virtual objects. 在实际应用中,接口参数可以不给出价格,这种情况下,虚拟物品的价值量可以在查询虚拟物品表时,从虚拟物品表的相应记录中的查找价值字段值,该字段值即为该虚拟物品的价值量。 In practice, the interface parameters can not be given the price, in this case, the magnitude of value of virtual items virtual items can query the table to find the value of the corresponding record field value from virtual goods table, which is the value of the field Value of virtual items. 如果虚拟物品表相应记录中没有价值字段值,则可以查询虚拟物品类别表,该虚拟物品的价值量为虚拟物品类别表中相应类别的记录中的价值字段值。 If the virtual goods table corresponding record field value has no value, you can query the virtual goods category table, the magnitude of value of virtual goods as the value of virtual goods category field value recorded in the corresponding table in the category.
上述的虚拟物品的价值量的确定方法,适用于本发明涉及的各个包含对价值量数据进行处理的虚拟物品数据处理接口。 The method of determining the magnitude of value of the virtual objects for each virtual item contains data processing interface Value data is processed according to the present invention.
参见图7a,图7a为本发明用户向系统卖出虚拟物品的实施流程图。 Referring to FIG. 7a, 7a of the present invention a flowchart of virtual items sell to the system users. 向系统卖出虚拟物品同样涉及虚拟物品类别表、虚拟物品表、虚拟物品归属表和用户信息表四个数据库表格。 Sell virtual goods to virtual systems involves the same goods category table, table virtual goods, virtual goods belonging table and the user information table four database tables. 该流程包括以下步骤:步骤701,虚拟物品数据处理接口接收游戏发送来的包含接口参数的虚拟物品卖出指令,并检查接口参数是否合法,如果合法,则执行步骤702;否则执行步骤709。 The process comprises the following steps: Step 701, a virtual game item data processing interface receives transmitted command includes virtual items sold interface parameters, interface parameters and checks whether valid, and if valid, step 702 is performed; if not, step 709.
接口参数包括:虚拟物品标识、用户标识、价格。 Interface parameters include: virtual goods identification, user identification, price. 这里的用户标识的是卖出用户。 Here is a user identified sold user.
步骤702,根据接口参数中的虚拟物品标识和用户标识查询虚拟物品归属表。 Step 702, the virtual identifier and a user identifier of an interface Item parameter query table virtual items home.
步骤703,判断虚拟物品归属表中是否已经有相应记录,即卖出用户是否拥有该虚拟物品,如果有则执行步骤704;否则执行步骤708。 Step 703, to determine whether there is a corresponding record ownership of virtual goods table, namely whether the user has the sell virtual goods, if there proceed to step 704; otherwise step 708.
步骤704,修改虚拟物品类别表相应记录,未分配数量字段加上1,已分配数量减去1。 Step 704, modify the virtual item category table corresponding record, the number of unallocated fields plus 1, minus the number 1 has been assigned.
通常用户拥有的同类的虚拟物品是一个,向系统卖出一个。 Similar virtual items are usually owned by a user, to sell a system. 如果用户拥有多个同类的虚拟物品,且都要卖出,可以通过多次调用本虚拟物品数据处理接口来实现。 If you have multiple similar virtual goods, and have sold this many times can call virtual goods data processing interface to achieve.
步骤705,根据接口参数中的虚拟物品标识在虚拟物品表中删除相应记录。 Step 705, deletes the corresponding record in the virtual table based on the article in a virtual interface parameters article identification.
步骤706,在虚拟物品归属表删除上述虚拟物品标识与接口参数中的卖出用户标识对应关系,即归属记录。 Step 706, the user ID correspondence relationship sold to the virtual interface item identification parameter table deletion home virtual items, i.e., the home recording.
步骤707,修改用户信息表,将接口参数中卖出用户的用户标识相应记录中的虚拟货币增加该虚拟物品的价值量。 Step 707, modifying the user information table, the user interface parameters sold user identifier in the corresponding record of the virtual currency to increase the magnitude of value of the virtual items.
步骤708,向调用本接口程序的游戏返回卖出结果信息。 Step 708, the interface program to call this game the result returned sell information. 结果信息可以包含:成功或失败信息以及失败时的错误描述信息。 Result information may include: description of the error message when the success or failure information and failure.
参见图7b,图7为本发明用户从系统买入虚拟物品的实施流程图。 Referring to Figure 7b, FIG. 7 is a flowchart of virtual user system to buy goods from the invention. 从系统买入虚拟物品同样涉及虚拟物品类别表、虚拟物品表、虚拟物品归属表和用户信息表四个数据库表格。 Buy virtual items from the same system involving virtual goods category table, table virtual goods, virtual goods belonging table and the user information table four database tables. 该流程包括以下步骤:步骤711,虚拟物品数据处理接口接收游戏发送来的包含接口参数的虚拟物品买入指令,并检查接口参数是否合法,如果合法,则执行步骤712;否则执行步骤719。 The process comprises the following steps: Step 711, a data processing interface receives virtual objects to virtual items transmitted game interface parameters comprising a buy order, and check the interface parameters are valid, and if valid, step 712 is performed; if not, step 719.
接口参数包括:虚拟物品类别标识、用户标识、价格、数量。 Interface parameters include: virtual goods category ID, user ID, price, quantity. 这里的用户标识的是买入用户,可以是一个也可以是多个。 Here the user identifies the user to buy, it may be one or plural.
步骤712,根据接口参数中的虚拟物品类别标识查询虚拟物品类别表。 Step 712, according to the interface parameters of virtual goods category identification query virtual goods category table.
步骤713,判断接口参数中虚拟物品类别标识在虚拟物品类别表中是否已经有相应记录,即数据库中是否有该类别虚拟物品,如果有则执行步骤714;否则执行步骤719。 Step 713, the interface parameter is determined virtual objects in the virtual item class category identification table if there has been a corresponding record, i.e., whether there is the category virtual goods database, if step 714 is performed; if not, step 719.
步骤714,判断接口参数中的数量是否不大于相应记录中的未分配数量,如果是则执行步骤715;否则执行步骤719。 Step 714, the interface determines the number of parameters is not greater than the number of unallocated corresponding record, if step 715 is performed; if not, step 719.
步骤715,修改虚拟物品类别表相应记录,未分配数量字段减去接口参数的数量,已分配数量增加接口参数的数量。 Step 715, modify the virtual item category table corresponding record, the number of interface parameters field subtracting unassigned, assigned number of interfaces increases the number of parameters.
步骤716,在虚拟物品表中增加记录,记录数量等于接口参数中的数量,增加的记录中的虚拟物品标识由程序或数据库生成。 Step 716, an increase in the virtual table records the article, the number of interfaces is equal to the recording parameters, recording the increase identified virtual items generated by the program or database.
步骤717,在虚拟物品归属表增加上述虚拟物品标识与接口参数中的用户标识对应关系,即归属记录。 Step 717, the virtual home goods identifier of the virtual table to increase user interface item identification parameters corresponding relationship, i.e. the home recording.
步骤718,修改用户信息表,将接口参数中买入用户的用户标识相应记录中的虚拟货币减少该虚拟物品相应数量的价值量。 Step 718, modify the user information table, the user interface parameters identifying a respective user to buy the virtual currency record corresponding reduction in the number of the virtual items Value.
步骤719,向调用本接口程序的游戏返回买入结果信息。 Step 719, to call this interface program returns to buy the game result information. 结果信息可以包含:成功或失败信息以及失败时的错误描述信息。 Result information may include: description of the error message when the success or failure information and failure.
本发明可以方便地实现虚拟物品的转移。 The present invention can easily achieve the transfer of virtual items. 虚拟物品的转移可以分为虚拟物品的赠予、虚拟物品的共享、虚拟物品的交换。 Transfer of virtual goods can be divided into virtual items donated, shared virtual goods, virtual goods exchange. 以下分别进行说明。 The following are described separately.
1、虚拟物品的赠予。 1, the virtual gift items.
参见图8a,图8a为本发明虚拟物品赠予的实施流程图。 Referring to Figure 8a, a flowchart of FIG. 8a virtual gift article of the present invention. 虚拟物品的赠予涉及虚拟物品归属表。 Virtual gift items involving virtual items attributable to the table. 其包括以下步骤:步骤801,虚拟物品数据处理接口接收游戏发送来的包含接口参数的虚拟物品赠予指令,并检查接口参数是否合法,如果合法,则执行步骤802;否则执行步骤805。 Which comprises the following steps: Step 801, a virtual game item data processing interface receives grants transmitted command includes virtual items interface parameters, interface parameters and checks whether valid, and if valid, step 802 is executed; otherwise, step 805 is executed.
接口参数包括:虚拟物品标识、原归属用户标识、赠予用户标识。 Interface parameters include: virtual goods identification, the original home subscriber identity, user identity gift.
步骤802,根据接口参数中的原归属用户标识、赠予用户标识以及虚拟物品标识,查询虚拟物品归属表。 Step 802, according to the original home user interface parameters identification, user identification and a virtual gift item identification, query table virtual items home.
步骤803,判断虚拟物品归属表中,原归属用户是否拥有接口参数中虚拟物品标识的虚拟物品,如果有则执行步骤804,否则执行步骤805。 Step 803, whether the virtual home goods table, whether the original has a home user interface parameters identified virtual items virtual items, if step 804 is performed, otherwise, step 805 is executed.
步骤804,删除原归属用户与该虚拟物品标识的相应记录,增加接口参数中赠予用户标识与该虚拟物品标识的相应记录。 Step 804, delete the original home subscriber records corresponding to the virtual items identified, a corresponding increase in recording interface parameters grants the user identity and the identity of virtual goods.
步骤805,向调用本接口的游戏返回赠予结果信息。 In step 805, the result information to return the gift to call this interface game. 结果信息可以包含:成功或失败信息以及失败时的错误描述信息。 Result information may include: description of the error message when the success or failure information and failure.
2、虚拟物品的共享。 2, shared virtual goods.
参见图8b,图8b为本发明虚拟物品共享的实施流程图。 Referring to Figure 8b, 8b flowchart of FIG shared virtual objects of the present invention. 虚拟物品的共享涉及虚拟物品归属表。 Shared virtual goods involving virtual items attributable to the table. 其包括以下步骤:步骤811,虚拟物品数据处理接口接收游戏发送来的包含接口参数的虚拟物品共享指令,并检查接口参数是否合法,如果合法,则执行步骤812;否则执行步骤815。 Which comprises the following steps: Step 811, a virtual game item data processing interface receives transmitted command includes virtual items shared interface parameters, interface parameters and checks whether valid, and if valid, step 812 is performed; if not, step 815.
接口参数包括:虚拟物品标识、归属用户标识、共享用户标识列表。 Interface parameters include: identification of virtual goods, home subscriber identity, a shared list of user identities.
步骤812,根据接口参数中虚拟物品标识和归属用户标识查询虚拟物品归属表。 Step 812, a virtual interface parameters according to the item identification and the home user identifier queries the home virtual items table.
步骤813,判断虚拟物品归属表中是否存在相应记录,即接口参数中归属用户标识的用户是否拥有该虚拟物品,如果是则执行步骤814,否则执行步骤815。 Step 813 determines whether there is a corresponding record table home virtual items, i.e. the user interface parameters if the identified user has a home virtual item, if yes, perform step 814, otherwise step 815.
步骤814,在虚拟物品归属表中增加接口参数中共享用户标识列表与该虚拟物品标识的相应记录。 Step 814, a corresponding increase in user record identifier list with the identifier of the virtual objects in the shared virtual interface parameters article home table.
步骤815,向调用本接口的游戏返回共享结果信息。 Step 815, return to share the results of this information to the calling interface game. 结果信息可以包含:成功或失败信息以及失败时的错误描述信息。 Result information may include: description of the error message when the success or failure information and failure.
3、虚拟物品的交换。 3, the exchange of virtual goods.
参见图8c,图8c为本发明虚拟物品交换的实施流程图。 Referring to Figure 8c, 8c FIG flowchart of the virtual item exchange embodiment of the present invention. 虚拟物品的交换涉及虚拟物品归属表。 Involving the exchange of virtual items virtual items attributable to the table. 其包括以下步骤:步骤821,虚拟物品数据处理接口接收游戏发送来的包含接口参数的虚拟物品交换指令,并检查接口参数是否合法,如果合法,则执行步骤822;否则执行步骤825。 Which comprises the following steps: Step 821, a virtual game item data processing interface receives transmitted virtual items includes an interface switching instruction parameters, and an interface check if they are valid, if valid, step 822 is performed; if not, step 825.
接口参数包括:虚拟物品标识1,虚拟物品标识2。 Interface parameters comprises: identifying a virtual items, identifier 2 virtual items.
步骤822,查询虚拟物品归属表中接口参数虚拟物品标识1和虚拟物品标识2对应的归属用户标识。 Step 822, the query interface in virtual goods home Table 1 identifies the parameter identifier and virtual items virtual item identifier 2 corresponding home user.
步骤823,判断虚拟物品标识1和虚拟物品标识2对应的归属用户标识是否相同,如果是则执行步骤825,否则执行步骤824。 Step 823, it is determined virtual objects and virtual item identifier identifies a corresponding home 2 user identifier is the same, if step 825 is performed, otherwise step 824.
步骤824,修改虚拟物品归属表中的虚拟物品标识1对应的归属用户标识为虚拟物品标识2对应的归属用户标识,同样修改虚拟物品标识2对应的归属用户标识为虚拟物品标识1对应的归属用户标识。 Step 824, modify the virtual item home table virtual goods identifier 1 corresponding to the home user ID for the virtual item identifier 2 corresponding to the home user ID, the same modified virtual item identifier 2 corresponding to the home user ID for the virtual item identifier 1 corresponding to a home subscriber identity.
步骤825,向调用本接口的游戏返回交换结果信息。 Step 825, to call this interface return game result information exchange. 结果信息可以包含:成功或失败信息以及失败时的错误描述信息。 Result information may include: description of the error message when the success or failure information and failure.
以下对虚拟物品的查询过程进行描述,本发明中的查询包括三种方式:第一种方式,对指定虚拟物品的类别信息进行查询;第二种方式,对指定虚拟物品的详细信息进行查询;第三种方式,对指定用户拥有的虚拟物品进行查询;以下分别进行说明。 The following query procedure described virtual items, the query comprising the present invention in three ways: a first way, the designated virtual items category information query; the second embodiment, details of the specified virtual items query; the third way of virtual goods owned by the specified user query; these are described below.
1、对指定虚拟物品的类别信息进行查询。 1, virtual goods specified categories of information to search.
参见图9a,图9a为本发明第一种虚拟物品查询的实施流程图。 Referring to FIG. 9a, 9a flowchart illustrating a first embodiment of the present query virtual objects of the present invention. 本流程涉及虚拟物品表和虚拟物品类别表。 This process involves virtual goods and virtual goods category table. 该流程包括以下步骤:步骤901,虚拟物品数据处理接口接收游戏发送来的包含接口参数的虚拟物品查询指令,并检查接口参数是否合法,如果合法,则执行步骤902;否则执行步骤905。 The process comprises the following steps: Step 901, a virtual game item data processing interface receives transmitted command includes virtual items query interface parameters, interface parameters and checks whether valid, and if valid, step 902 is performed; if not, step 905.
接口参数包括:虚拟物品标识。 Interface parameters include: virtual goods identification.
步骤902,根据接口参数中的虚拟物品标识查询虚拟物品表。 Step 902, in accordance with the interface parameter virtual items virtual items identify the query table.
步骤903,判断是否存在相应记录,如果有则执行步骤904,否则执行步骤905。 Step 903 determines whether the corresponding record exists, step 904 is executed if otherwise, to step 905.
步骤904,根据查询到记录中的对应虚拟物品类别标识字段值再查询虚拟物品类别表,得到虚拟物品的类别信息。 Step 904, the query corresponding to the recording virtual objects category identification field value and then queries table virtual item category, category information obtained virtual items.
步骤905,向调用本接口的游戏返回查询结果信息。 Step 905, return query results interface information to call this game. 结果信息可以包含:成功或失败信息以及失败时的错误描述信息。 Result information may include: description of the error message when the success or failure information and failure.
2、对指定虚拟物品的详细信息进行查询。 2, to specify the details of virtual items to search.
参见图9b,图9b为本发明第二种虚拟物品查询的实施流程图。 Referring to FIG. 9b, 9b flowchart of a second embodiment of the present invention, the query virtual items. 本流程涉及虚拟物品表。 This process involves virtual goods table. 该流程包括以下步骤:步骤911,虚拟物品数据处理接口接收游戏发送来的包含接口参数的虚拟物品查询指令,并检查接口参数是否合法,如果合法,则执行步骤912;否则执行步骤914。 The process includes the following steps: Step 911, the virtual goods data processing interface receives game virtual items sent to a query command includes interface parameters, interface parameters and check whether legitimate, if legitimate, proceed to step 912; otherwise step 914.
接口参数包括:虚拟物品标识。 Interface parameters include: virtual goods identification.
步骤912,根据接口参数中的虚拟物品标识查询虚拟物品表。 Step 912, based on interface parameters identify the query virtual items virtual items table.
步骤913,判断是否存在相应记录,如果有则得到虚拟物品表对应记录的各字段值后执行步骤914,否则直接执行步骤914。 Step 913 determines whether there is a corresponding record, if there is obtained after performing step article virtual table field values corresponding record 914, otherwise step 914 is directly executed.
步骤914,向调用本接口的游戏返回查询结果信息。 Step 914, return query results interface information to call this game. 结果信息可以包含:成功或失败信息以及失败时的错误描述信息。 Result information may include: description of the error message when the success or failure information and failure.
3、对指定用户拥有的虚拟物品进行查询。 3, the virtual goods owned by the user specified query.
参见图9c,图9c为本发明第三种虚拟物品查询的实施流程图。 Referring to Figure 9c, a flowchart of FIG. 9c third embodiment of the present invention query virtual items. 该流程涉及虚拟物品归属表。 The process involves ownership of virtual goods table. 包括以下步骤:步骤921,虚拟物品数据处理接口接收游戏发送来的包含接口参数的虚拟物品查询指令,并检查接口参数是否合法,如果合法,则执行步骤922;否则执行步骤924。 Includes the following steps: Step 921, the virtual goods data processing interface receives game virtual items sent to a query command includes interface parameters, interface parameters and check whether legitimate, if legitimate, proceed to step 922; otherwise step 924.
接口参数包括:用户标识。 Interface parameters comprising: a user identifier.
步骤922,根据接口参数中的用户标识查询虚拟物品归属表。 Step 922, based on the user interface parameters identify the query virtual items attributable table.
步骤923,得到用户标识对应的虚拟物品标识列表。 Step 923, a list of items the user to obtain virtual identifier corresponding to the identifier.
步骤924,向调用本接口的游戏返回查询结果信息。 Step 924, return query results interface information to call this game. 结果信息可以包含:成功或失败信息以及失败时的错误描述信息。 Result information may include: description of the error message when the success or failure information and failure.
本发明可以实现对虚拟物品的统计。 The invention can realize statistics of virtual goods.
参见图10,图10为本发明虚拟物品统计的实施流程图。 Referring to FIG. 10, FIG. 10 is a flowchart of virtual items statistics embodiment of the present invention. 本流程涉及虚拟物品类别表,虚拟物品表。 This process involves virtual goods category table, virtual goods table. 包括以下步骤:步骤10,虚拟物品数据处理接口接收游戏发送来的包含接口参数的虚拟物品统计指令,并检查接口参数是否合法,如果合法,则执行步骤11;否则执行步骤12。 Comprising the following steps: Step 10, the virtual game item data processing interface receives transmitted statistics instruction includes virtual items interface parameters, interface parameters and checks whether valid, and if valid, step 11 is performed; if not, step 12.
接口参数包括:游戏标识。 Interface parameters include: game logo.
步骤11,根据游戏标识查询虚拟物品类别表,得到该游戏标识对应虚拟物品类别的信息,如各虚拟物品类别已分配数量,未分配数量等。 Step 11, according to the game item class virtual table identify the query to obtain information corresponding to the identifier of the game category virtual items, each virtual items such as the number of categories has been assigned, the number of unused allocation.
步骤12,向调用本接口的游戏返回统计结果信息。 Step 12 is returned to the calling of this information statistics interface game. 结果信息可以包含:成功或失败信息以及失败时的错误描述信息。 Result information may include: description of the error message when the success or failure information and failure.
以上对虚拟物品数据处理接口的实现过程进行了详细的说明,在实际应用中,具体的接口形式可以是应用程序接口API,如JAVA API,C++动态链接库DLL或具有消息指令接口,如人机交互语言MML的进程等。 The above data processing interface to the virtual goods implementation process has been described in detail, in practical applications, the specific form of the interface may be an application program interface to the API, such as JAVA API, C ++ DLL dynamic link library or with a message command interface, human-machine interactive language MML process and so on.
本发明根据上述的一个游戏系统中所有的虚拟物品数据存储在统一的数据库并统一进行数据处理的发明思想,对原有的游戏系统进行了改进。 According to the inventive idea of the invention described above and a game system, a unified data processing of all data items stored in the virtual unified database, the original game system has been improved. 以下举三个游戏系统的实施例进行详细说明。 Example For the following three game system described in detail.
参见图11a,图11a为本发明游戏系统第一较佳实施例的结构示意图。 Referring to FIG. 11a, FIG. 11a schematic structural view of a first preferred embodiment of the invention is a game system. 本实施的游戏系统中包含客户机110、游戏模块111、游戏平台112。 Embodiment of the present game system includes the client 110, the game module 111, the game platform 112. 其中游戏平台112还包含了虚拟物品服务模块113和虚拟物品管理模块116,该模块包含虚拟物品数据处理接口114和虚拟物品数据库115。 Wherein the game platform 112 further comprises a service module 113 and the virtual items virtual items management module 116, the data processing module includes a virtual interface 114, and the article virtual objects database 115.
本实施例中包含了虚拟物品服务模块113和虚拟物品管理模块116的游戏平台112就是本发明提出新的游戏平台系统。 This embodiment comprises a service module 113 and the virtual items virtual items management module 116 of the game platform 112 is the new game platform system of the present invention is proposed.
本实施中,游戏模块111根据游戏规则向游戏平台113中的虚拟物品数据处理接口114发送包含接口参数的调用指令,虚拟数据处理接口114收到该指令后,根据该指令及其中的接口参数与数据库115进行交互,对虚拟物品数据进行处理,由虚拟将物品数据处理接口114将处理结果返回给发送调用指令的游戏模块111。 In the present embodiment, the game module 111 transmits a calling instruction to the game platform interface parameters 113 virtual item data processing interface 114 according to the rules of the game, the virtual interface 114 receives the data processing command, and wherein according to the instruction interface parameters and database 115 interacts virtual item data is processed, the article data processing by the virtual interface 114 returns the processing result to the game module 111 transmits the call instruction.
这里游戏模块111发送的调用指令可以是:对虚拟物品的创建指令、虚拟物品的分配指令、虚拟物品的修改指令、虚拟物品的交易指令、虚拟物品的转移指令、虚拟物品的查询指令以及虚拟物品的统计指令。 Here call instruction game 111 sent by the module can be: create instructions for virtual goods, distribution instruction virtual items, modify instruction virtual goods, orders virtual goods, the branch instruction virtual items, query instruction virtual goods and virtual goods the statistics instruction.
虚拟物品的交易指令可以包括用户间虚拟物品交易指令,以及用户向系统卖出虚拟物品指令和用户从系统买入虚拟物品指令。 Virtual goods orders may include virtual goods transactions between the user instructions, as well as user instructions and sell virtual goods users to buy virtual goods system commands from the system.
虚拟物品的转移指令包括:虚拟物品的赠予、虚拟物品的共享和虚拟物品的交换指令。 Branch instruction virtual items include: gift exchange instruction, shared virtual goods and virtual goods virtual goods.
本实施例中虚拟数据处理接口114包含:虚拟物品的创建接口、虚拟物品的分配接口、虚拟物品的修改接口、虚拟物品的交易接口、虚拟物品的转移接口、虚拟物品的查询接口、虚拟物品的统计接口。 This embodiment of the virtual data processing interface 114 comprises: modifying the interface to create an interface, the dispense interface virtual items, virtual items virtual goods, transaction interface virtual goods, the transfer interface to virtual items, query interface virtual items, virtual items statistics interface.
虚拟数据处理接口114根据游戏模块111发送的各个调用指令,对虚拟物品数据进行处理的过程与上述图3~图10所示的过程相同,这里不再赘述。 Process virtual data processing interface 114 in accordance with various call instruction sent by the game module 111, the virtual item data processed in the above-described procedure shown in FIG. 3 to FIG. 10 are the same, it is not repeated here.
本实施例中游戏平台112的虚拟物品管理模块116是留给运营商进行管理维护的接口,可以是具有图形用户界面的程序,也可是命令行界面的程序,同游戏模块一样,虚拟物品管理模块116可以将通过用户界面或命令行界面接收运营商发出的包含接口参数的调用命令,发送给虚拟物品服务模块113中的虚拟物品数据处理接口114,虚拟数据处理接口114收到该指令后,根据该指令及其中的接口参数与数据库115进行交互,对虚拟物品数据进行处理,由虚拟将物品数据处理接口114将处理结果返回给发送调用指令的虚拟物品管理模块116,虚拟物品管理模块116将调用结果呈现出来,以便运营商进行管理维护。 This implementation platform game virtual items 112 116 management module is left to the operator to manage the maintenance interface example, may be a program with a graphical user interface, but also command line interface, like a game module, virtual goods management module after receiving a call-up command 116 may comprise operator interface parameters sent through the user interface or command line interface, virtual items sent to the data processing module 113 in the virtual goods and services interface 114, a virtual interface 114 receives the data processing command, in accordance with the command and its interface parameters database 115 interacts virtual item data processed by the virtual the article data processing interface 114 returns the processing result to the transmission call instruction virtual items management module 116, the virtual article management module 116 will call The results revealed, for operators to manage and maintain. 实际应用中可以根据运营商的需求决定是否设置虚拟物品管理模块。 Practical application can decide whether to set up virtual goods management module according to the operator's needs.
这里虚拟物品管理模块116发送的调用指令可以是:虚拟物品创建指令、虚拟物品查询指令以及虚拟物品统计指令等。 Here virtual goods management module 116 may be sent by the call instruction: Instruction to create virtual goods, virtual goods and virtual goods statistics query instruction directives.
在游戏系统增加新的游戏模块时,可以通过虚拟物品管理模块116向虚拟物品服务模块113中的虚拟物品数据处理接口114发送虚拟物品的创建指令来增加新的虚拟物品。 When the game system to add new game module, may send a create command to add a new virtual items virtual items virtual items by the management module 116 to the virtual goods and services module 113 virtual item data processing interface 114. 在运营商需要了解当前虚拟物品数据库的库存情况时,可以通过虚拟物品管理模块126向虚拟物品服务器123中的虚拟物品数据处理接口124发送虚拟物品的查询指令或统计指令,从而获得需要的信息。 When operators need to understand the inventory of the current virtual goods database, can be sent via virtual goods management module 126 to the virtual goods server 123 in virtual goods data processing interface 124 virtual items query instruction or statistical instructions to obtain the required information.
当然,虚拟物品管理模块116可以独立设置,参见图11b,图11b为本发明游戏系统第二较佳实施例的结构示意图。 Of course, virtual items management module 116 may be independently provided, see FIG. 11b, FIG. 11b a schematic view of a second preferred embodiment of the structure of a game system of the present invention. 该实施例中,虚拟物品管理模块116是独立设置的,不设置在游戏平台112中。 Embodiment, the virtual article management module 116 is provided independently of the embodiment is not provided in the game platform 112.
参见图12,图12为本发明游戏系统第三较佳实施例的结构示意图。 Referring to FIG 12, FIG 12 is a schematic structural embodiment of a third preferred embodiment of the invention is a game system. 本实施的游戏系统中除了包含客户机120、游戏模块121、游戏平台122外还包含一个独立的虚拟物品服务器123和一个虚拟物品管理模块126。 The game system of the present embodiment in addition to 120, the game module 121, 122 comprises a client game platform further comprises a separate virtual server 123 and a virtual goods article management module 126. 虚拟物品服务器123中包含虚拟物品数据处理接口124和虚拟物品数据库125。 Items included in the virtual server 123 virtual objects and virtual data processing interface 124, database 125 items.
本实施中,游戏模块121根据游戏规则向虚拟物品服务器123中的虚拟物品数据处理接口124发送包含接口参数的调用指令,虚拟数据处理接口124收到该指令后,根据该指令及其中的接口参数与数据库125进行交互,对虚拟物品数据进行处理,由虚拟将物品数据处理接口124将处理结果返回给发送调用指令的游戏模块121。 In the present embodiment, the game module 121 includes an interface invoking instruction transmission parameters 123 to the virtual server virtual goods item data processing interface 124 according to the rules of the game, the virtual interface 124 receives the data processing command, and wherein according to the instruction interface parameters 125 to interact with the database, the virtual data is processed article, the article data processing by the virtual interface 124 transmits the processing result is returned to the game module 121 call instruction.
这里所述游戏模块121发送的调用指令与图11所示实施例相同。 FIG call instruction herein game module 121 transmits the same as embodiment 11 illustrated.
本实施例中的虚拟物品管理模块126是一个独立的模块,当然它也可以象图11所示的实施例一样设置在游戏平台122中,也可以设置在虚拟物品服务器123中。 Example virtual items management module 126 is a separate module of the present embodiment, of course it can also be like the embodiment shown in FIG. 11 as provided in the game platform 122 may be provided in a virtual server 123 in the article. 虚拟物品管理模块126与图11所示的虚拟物品管理模块116的工作原理相同,这里不再重复说明。 Virtual items management module 11 shown with virtual items management module 126 works the same in FIG. 116, the description is not repeated here.
为了游戏系统的安全可靠,虚拟物品数据服务器124还可以采用双机或者集群的形式。 In order to secure a reliable game system, the virtual server 124 also item data in the form of two planes, or a cluster may be employed.
另外,游戏平台上的游戏数量和种类不是固定的,只要游戏使用本发明的接口和数据存储格式即可。 Further, the number and types of games on the gaming platform is not fixed, the present invention as long as the game data storage formats and interfaces to. 游戏平台上增加了新的游戏,可以根据游戏的容量以及预期的用户数量和游戏的特征确定游戏中各种虚拟物品的数量,开发商将初始各种虚拟物品的信息以及数量做成表格,格式同虚拟物品类别表,提供给运营商,运营商审核后,将数据导入虚拟物品数据库中。 Increase in new gaming platform game, you can determine the number of games in a variety of virtual goods, the initial developers of all kinds of information and the number of virtual items made according to the characteristics table game capacity and the expected number of users and game format with virtual goods category list, provided to the operator, the operator audit, import the data into the database of virtual items. 以后如需增加虚拟物品,也可以类似操作。 After the need for additional virtual items can also be similar operations. 如果某个游戏过时,或者效益太差,运营商可以删除游戏,删除游戏前预留一段时间通知游戏用户,使游戏用户有时间将该游戏的虚拟物品兑换成虚拟货币。 If a game out of date, or benefit the poor, the operator can remove the game, delete the game set aside some time to inform users before the game to make the game user time to exchange the virtual goods game into a virtual currency. 删除游戏时,检查该游戏的虚拟物品,如果仍有游戏用户拥有,则将其拥有的虚拟物品转换为等价的虚拟货币给用户,然后删除该游戏所有虚拟物品对应的数据记录。 When you delete a game, check the game's virtual goods, if the user still has the game, then virtual objects into their own virtual currency is equivalent to the user, and then delete all the game virtual items corresponding data record. 以上管理维护操作都可以通过虚拟物品管理模块进行。 More management and maintenance operations can be carried out by virtual goods management module.
实际上对于只运行有一个游戏的游戏系统来说,如果虚拟物品数据量比较大,也可以象图12所示的实施例一样设置单独的虚拟物品服务器来对虚拟物品数据进行处理,处理的方式与图12所示实施例相同,只是游戏平台的功能全部由游戏来完成。 In fact only for the operation of a game system, a game, a greater amount of data if the virtual item may be provided as shown in FIG. 12 as a separate embodiment of virtual items virtual server to process the data items, processing mode the same as shown in FIG. 12 embodiment, except the functions of the game platform to complete all the game.
另外为了具有兼容性,游戏平台系统上也可以允许不使用统一的虚拟物品数据处理接口和虚拟物品数据库的游戏存在。 In addition to compatibility, the game platform system may not allow the use of a unified virtual objects and virtual data processing interface of the game article database exists.
由上述的实施例可见,本发明的这种游戏虚拟物品数据处理方法及游戏平台系统和游戏系统,实现了游戏系统中的虚拟物品数据进行统一处理以及各游戏间的虚拟物品数据的共享流通转移,解决了现有技术数据混乱、维护困难、安全性差等问题,同时能够降低开发成本。 Seen from the above embodiment, the game of the present invention, a virtual item data processing method and system and a game platform game system, a game system virtual items data is shared and the unitary flow of data transfer between virtual items each game solve the confusion existing technical data, maintenance difficulties, poor security, while reducing development costs.
Claims (29)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004100487771A CN1319008C (en) | 2004-06-18 | 2004-06-18 | Game virtual-article data processing method, game platform system and game system |
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004100487771A CN1319008C (en) | 2004-06-18 | 2004-06-18 | Game virtual-article data processing method, game platform system and game system |
PCT/CN2005/000860 WO2005124608A1 (en) | 2004-06-18 | 2005-06-15 | A data processing method for game virtual article, game platform system and game system |
US11/612,181 US20070155508A1 (en) | 2004-06-18 | 2006-12-18 | Method for Processing Data of Game Virtual Items, Game Platform System and Game System |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1710585A CN1710585A (en) | 2005-12-21 |
CN1319008C true CN1319008C (en) | 2007-05-30 |
Family
ID=35509909
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2004100487771A CN1319008C (en) | 2004-06-18 | 2004-06-18 | Game virtual-article data processing method, game platform system and game system |
Country Status (3)
Country | Link |
---|---|
US (1) | US20070155508A1 (en) |
CN (1) | CN1319008C (en) |
WO (1) | WO2005124608A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI547899B (en) * | 2012-10-30 | 2016-09-01 | Ndonye Mackenzie | Lottery system and method |
Families Citing this family (28)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100571263C (en) | 2005-12-30 | 2009-12-16 | 华为技术有限公司 | Method for improving virtual article data safety |
US8888598B2 (en) * | 2006-10-17 | 2014-11-18 | Playspan, Inc. | Transaction systems and methods for virtual items of massively multiplayer online games and virtual worlds |
US20080288530A1 (en) * | 2007-01-17 | 2008-11-20 | Sparta Systems, Inc. | User-Defined Fields with Automatic Numbering |
GB0703974D0 (en) * | 2007-03-01 | 2007-04-11 | Sony Comp Entertainment Europe | Entertainment device |
US20090117996A1 (en) * | 2007-08-31 | 2009-05-07 | Death Joshua James | Virtual asset equivalency method and system |
CN101127059A (en) * | 2007-09-29 | 2008-02-20 | 腾讯科技(深圳)有限公司 | Virtual product conversion method and system |
US7824253B2 (en) * | 2008-04-02 | 2010-11-02 | Thompson Scott Edward | System and method for providing real world value in a virtual world environment |
US9053196B2 (en) | 2008-05-09 | 2015-06-09 | Commerce Studios Llc, Inc. | Methods for interacting with and manipulating information and systems thereof |
US8099338B2 (en) * | 2008-06-09 | 2012-01-17 | International Business Machines Corporation | Management of virtual universe item returns |
US9183560B2 (en) | 2010-05-28 | 2015-11-10 | Daniel H. Abelow | Reality alternate |
CN102510382A (en) * | 2011-11-21 | 2012-06-20 | 陈云昊 | Method and system for exchanging articles and services based on place and time information |
TWI425971B (en) * | 2011-11-21 | 2014-02-11 | Inst Information Industry | Method and system for processing virtual treasure of on line game and computer readable storage medium storing thereof |
CN103176783B (en) * | 2011-12-23 | 2017-10-20 | 腾讯科技(深圳)有限公司 | A kind of application and development method and apparatus |
JP5086487B1 (en) * | 2012-03-29 | 2012-11-28 | 株式会社 ディー・エヌ・エー | Game program, game system, and information processing device |
CN102708290A (en) * | 2012-05-10 | 2012-10-03 | 北京像素软件科技股份有限公司 | Method and system for implementation of dynamic game behavior processing |
CN104239668A (en) * | 2013-06-20 | 2014-12-24 | 恩希软件株式会社 | Interaction method and interaction system for interactive players during multiplayer online interaction |
CN104574162B (en) * | 2013-10-09 | 2017-07-21 | 腾讯科技(深圳)有限公司 | The method and device of virtual article trading |
CN104217337B (en) * | 2014-08-26 | 2017-10-20 | 小米科技有限责任公司 | The exchange numerical value of virtual objects determines method and device |
CN104636460B (en) * | 2015-02-04 | 2018-08-07 | 腾讯科技(深圳)有限公司 | A kind of Item Information method for pushing and device |
CN104751278A (en) * | 2015-03-23 | 2015-07-01 | 上海航动科技有限公司 | Electronic pet culture based performance assessment method and system |
CN104809169A (en) * | 2015-04-03 | 2015-07-29 | 北京奇虎科技有限公司 | Data processing method and system based on relationship |
CN105553708A (en) * | 2015-12-14 | 2016-05-04 | 江苏名通信息科技有限公司 | Mobile game platform management system |
WO2017185211A1 (en) * | 2016-04-25 | 2017-11-02 | 闫凤亮 | User expense data processing method and server |
CN106097047A (en) * | 2016-06-06 | 2016-11-09 | 上海银天下科技有限公司 | The hyperphoric method and device of virtual objects |
US10155169B2 (en) * | 2016-11-01 | 2018-12-18 | Square Enix Holdings, Co., Ltd. | Video game apparatus for active state composition of items and game program for same |
CN106861188A (en) * | 2017-02-15 | 2017-06-20 | 成都艾维拓思科技有限公司 | The method and device that game attributes update |
CN107096227A (en) * | 2017-04-18 | 2017-08-29 | 腾讯科技(深圳)有限公司 | A kind of e-sourcing distribution method and device |
CN108434739B (en) * | 2018-01-30 | 2019-03-19 | 网易(杭州)网络有限公司 | The processing method and processing device of virtual resource in scene of game |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6253167B1 (en) * | 1997-05-27 | 2001-06-26 | Sony Corporation | Client apparatus, image display controlling method, shared virtual space providing apparatus and method, and program providing medium |
CN1461230A (en) * | 2001-04-16 | 2003-12-10 | 日商·万普股份有限公司 | Broadus catching game system using communication network |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4738451A (en) * | 1986-05-20 | 1988-04-19 | Atari Games Corporation | Multi-player, multi-character cooperative play video game with independent player entry and departure |
US5802296A (en) * | 1996-08-02 | 1998-09-01 | Fujitsu Software Corporation | Supervisory powers that provide additional control over images on computers system displays to users interactings via computer systems |
US6119229A (en) * | 1997-04-11 | 2000-09-12 | The Brodia Group | Virtual property system |
KR20020004203A (en) * | 2000-07-04 | 2002-01-16 | 심광호 | A network game system and the method thereof |
JP2002207685A (en) * | 2000-10-12 | 2002-07-26 | Sony Computer Entertainment Inc | Virtual world system, server computer and information processor |
US20030069071A1 (en) * | 2001-09-28 | 2003-04-10 | Tim Britt | Entertainment monitoring system and method |
US7713116B2 (en) * | 2003-06-30 | 2010-05-11 | Microsoft Corporation | Inventory management of virtual items in computer games |
-
2004
- 2004-06-18 CN CNB2004100487771A patent/CN1319008C/en active IP Right Grant
-
2005
- 2005-06-15 WO PCT/CN2005/000860 patent/WO2005124608A1/en active Application Filing
-
2006
- 2006-12-18 US US11/612,181 patent/US20070155508A1/en not_active Abandoned
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6253167B1 (en) * | 1997-05-27 | 2001-06-26 | Sony Corporation | Client apparatus, image display controlling method, shared virtual space providing apparatus and method, and program providing medium |
CN1461230A (en) * | 2001-04-16 | 2003-12-10 | 日商·万普股份有限公司 | Broadus catching game system using communication network |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI547899B (en) * | 2012-10-30 | 2016-09-01 | Ndonye Mackenzie | Lottery system and method |
Also Published As
Publication number | Publication date |
---|---|
US20070155508A1 (en) | 2007-07-05 |
CN1710585A (en) | 2005-12-21 |
WO2005124608A1 (en) | 2005-12-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0745238B1 (en) | A method and apparatus for controlling access to a database | |
US8595267B2 (en) | System and method for implementing a scalable data storage service | |
CN1205565C (en) | Workload management amongst server object in client/server network | |
CA2275190C (en) | A system and method for creating, executing and maintaining cross-enterprise processes | |
US6356931B2 (en) | Method and system for remotely browsing objects | |
US8429598B2 (en) | Method and system to automatically generate software code | |
US10057374B2 (en) | Provisioning multiple network resources | |
US8335805B2 (en) | Universal data management interface | |
CN1308824C (en) | Method and system for execution of request in managing computing environment | |
US8041685B2 (en) | Method of changing system configuration in shared-nothing database management system | |
US6530840B1 (en) | Method and system for an object architecture for a multi-user game lobby and game session | |
US6757670B1 (en) | Method and system for query processing | |
US6308163B1 (en) | System and method for enterprise workflow resource management | |
US7376656B2 (en) | System and method for providing user defined aggregates in a database system | |
US20080270354A1 (en) | Method and system for allowing access to developed applications via a multi-tenant on-demand database service | |
US7653652B2 (en) | Database schema for structured query language (SQL) server | |
van der Aalst | Inheritance of interorganizational workflows to enable business-to-business E-commerce | |
Shmatikov et al. | Reputation-based trust management | |
US8626887B2 (en) | Porting of information technology structures | |
DE69832406T2 (en) | Combined internet and data access system | |
US6105067A (en) | Connection pool management for backend servers using common interface | |
US20090025009A1 (en) | Co-execution of objects from divergent runtime environments | |
US6081826A (en) | System using environment manager with resource table in each computer for managing distributed computing resources managed for each application | |
US6205464B1 (en) | System for building optimal commit trees in a distributed transaction processing system | |
US6917933B2 (en) | Catalog management system architecture having data table objects and logic table objects |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
C10 | Entry into substantive examination | ||
C14 | Grant of patent or utility model |