CN108211348A - Game article provides method for protecting - Google Patents
Game article provides method for protecting Download PDFInfo
- Publication number
- CN108211348A CN108211348A CN201611197238.3A CN201611197238A CN108211348A CN 108211348 A CN108211348 A CN 108211348A CN 201611197238 A CN201611197238 A CN 201611197238A CN 108211348 A CN108211348 A CN 108211348A
- Authority
- CN
- China
- Prior art keywords
- equipment
- server
- stage property
- dbserver
- service device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
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/30—Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers
- A63F13/32—Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers using local area network [LAN] connections
-
- 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/30—Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers
- A63F13/35—Details of game servers
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/55—Controlling game characters or game objects based on the game progress
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Human Computer Interaction (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The present invention provides a kind of game article and provides method for protecting, which is characterized in that includes the following steps:(1) when user applies creating equipment, legitimate verification is first carried out, application is normal if server judges user, carries out next step operation, otherwise is operated without next step;(2) pass through in legitimate verification rear, application is submitted to gateway (GameGate), suitable game logic server (GameServer) is selected to handle by gateway, game logic server (GameServer) is by corresponding message distribution to persistence service device (DBServer);(3) judge equipment whether in persistence service device (DBServer) at this time, if equipment is in persistence service device (DBServer), then use existing stage property, then equipment creates, merchandises successfully, if equipment is not in persistence service device (DBServer), then resource is asked to equipment stage property server (EquipServer), in being sent to cache server (CacheServer) record, equipment creates, merchandises successfully.
Description
Technical field
This programme is suitable for game article and provides method for protecting.
Background technology
Massively Multiplayer Online online game provides abundant game content to player, can be generated in game process various types of
The equipment of type for users to use, such as clothes, fashionable dress, liquid medicine, weapon, jewellery, task equipment etc., these equipment possess it is different
Attribute, the easy-consumed goods of low value can in time be consumed by player, but high-level article equipment can be playing family hold for a long time or by transaction to
Other players, this kind of very worthy equipment safety will have guarantee especially, if there is abnormal generation, as client collapse,
User offline, server by plug-in rogue attacks, to have reliably can rollback method.Usually these equipments are by the legal Shen of client
Please, game logic server (GameServer) generation or locked transaction, finally give user on line.In existing server often
Exception when encountering player's transaction, such as the server machine of delaying restart rear stage property loss, for example stage property number does not uniquely cause player to hand over
Occur accidentally destroying stage property when easily or game logic server is given to player's stage property and DBServer failure players are written and log in hair again
Existing stage property is lost or replicates stage property etc. using stage property create-rule high-volume,
Invention content
Players log game after, in game normal operating article, transaction equipment, consumption equipment, decompose equipment, submit
NPC equipments are likely to be abnormal, and equipment is caused to be lost or by exception record to other positions, if handled in an equipment
Generated in affairs it is unexpected, can't simply rolling back action because being likely to influence other players at this time, just need
Special processing is done to important equipment.The robustness of server is not only increased by the appropriate processing of program safety, moreover it is possible to big
It is big to reduce customer service Artificial event, give player better experience of the process while reducing cost.So equipment, which is provided, ensures that processing exists
Consider during game design necessary in place.
To solve the above problems, the present invention is newly equipped with standby stage property server, and changes stage property generation, circulation rule, ensure
Stage property uniqueness and various chance error operations of delaying will not all lose stage property.
The present invention provides a kind of game article and provides method for protecting, which is characterized in that includes the following steps:(1) when
When user applies creating equipment, legitimate verification is first carried out, application is normal if server judges user, carries out next step behaviour
Make, otherwise operated without next step;(2) in legitimate verification by rear, submission application is to gateway (GameGate), by gateway
Suitable game logic server (GameServer) is selected to handle, game logic server (GameServer) disappears corresponding
Breath is distributed to persistence service device (DBServer);(3) equipment is judged at this time whether in persistence service device (DBServer),
If equipment in persistence service device (DBServer), using existing stage property, is then equipped and creates, merchandises successfully, such as
Fruit is equipped not in persistence service device (DBServer), then asks resource to equipment stage property server (EquipServer), in
Cache server (CacheServer) record is sent to, equipment creates, merchandises successfully.
Preferably, when user applies creating equipment, server generation equipment, and carry out in server series group slow
It deposits, by completing three-way handshake with client, that is, (1) application client in is sent out, server receives prefreezing stage property after request,
(2) server issues stage property, and (3) client, which receives, responds server after stage property, and the latter's defrosting stage property and confirming is provided successfully, note
Daily record confirms that user has received, and be included in equipment Groups List;If mistake occurs in transaction, the equipment do not provided is beaten
The specific position into persistence service device (DBServer) waits for user to reach the standard grade next time active push or passive according to priority level
It gets, it is final to ensure that equipment is provided successfully.
Description of the drawings
Fig. 1:The network topology structure figure of game article granting of the present invention;
Fig. 2:The business process map of game article granting of the present invention.
Specific embodiment
As depicted in figs. 1 and 2, this programme embodiment is as follows:
When user applies creating equipment, legitimate verification is first carried out, if server judges user, application is normal, into
Row next step operates, otherwise is operated without next step, and in legitimate verification by rear, submission application is selected to gateway by gateway
Select the processing of suitable game logic server, game logic server is by corresponding message distribution to persistence service device
(DBServer), equipment is judged at this time whether in persistence service device (DBServer), if equipment is in persistence service device
(DBServer) in, then using existing stage property, then equipment creates, merchandises successfully, if equipment is not in persistence service device
(DBServer) in, then to equipment stage property server request resource, in being sent to cache server record, equipment is created, is handed over
Easily success.
In the equipment of Massively Multiplayer Online online game provides safety guarantee scheme, when user applies creating equipment,
Server generation equipment, and caching is carried out in server series group, by completing three-way handshake (i.e. with client:(1) client
Application is sent out on end, server receives prefreezing stage property after request;(2) server issues stage property;(3) client is returned after receiving stage property
Answer server, the latter's defrosting stage property and confirming is provided successfully, is kept a diary), confirm that user has received, and be included in equipment group row
Table.If mistake occurs in transaction, the equipment do not provided is got into specific position in DBServer, is waited for according to priority level
User, which reaches the standard grade next time, active push or passively to get, final to ensure that equipment is provided successfully.
Player directly gets required equipment in game, and server record equipment source, circulate flow, unique ID,
And daily record is entered to equip stage property server.During abnormal generation, server can be according to the situation of client, classification processing.It is if plug-in
The illegal application sent then records player ID and adds in punishment sequence.It is moved back if client collapse is dodged, then equips granting and unsuccessfully remember
Typing DBServer.If player is offline, then equipment caching sequence is recorded into, is added to knapsack when next time reaches the standard grade.If knapsack is
It is full, then be pushed to equipment and apply for another at " non-player's control role " (NPC) taken, and send out public notice to player, behind it is manual by player
Operation is got.
In the equipment of Massively Multiplayer Online online game provides safety guarantee scheme, Major Systems include:Game logic
Server, equipment stage property server, persistence service device, gateway, cache server, client etc..The specific reality of each system
It is as follows to apply mode.
Game logic server (GameServer):
Stage property Processing Interface is established in game logic server, (wherein, category is distributed to different execution threads
GameServer corresponds to downwards Client, corresponds to EquipServer upwards.This data of stage property processing execution thread concrete management
The communication of line).
Game item execution thread does three layers of verification for equipment generation, and (wherein, the legitimacy of (1) client request is tested
Card, judges player levels, map, fighting capacity, technical ability, primary attribute etc.;(2) this transactional integrity is verified;(3) to local cache
Data and EquipServer send the verification of data).
What transaction thread was equipped when circulating to equipment possess and redirect (wherein, the equipment transaction between multiple players or
Monster produces stage property to knapsack, such as fixed allocation stage property, roll sieves distribution stage property, by occupational distribution stage property etc.).
Equip stage property server (EquipServer):
After player logs in logical server, the stage property generated in game content circulates, and is all remembered by equipment stage property server
Record.Process for producing, transaction, decomposition, abandon logic when, from equipment stage property server to logical server propelling data.Stage property
During circulation, first with Hash calculation numerical value and find it is already present equipment (that is, calculate stage property UUID, ensure unique number will not
It is repeated), lock calibration label.After equipment gives next player, being confirmed by hair on the latter could unlock after applying for and confirming return.
After completing stage property circulation, to gateway (GameGate) propelling data book of final entry daily record, a session is completed.
Persistence service device (DBServer):
It is responsible for the persistence and unserializing of all equipments.In logical server acquisition request stage property, weighed according to stage property
Weight, it is preferential to push the high equipment of severity level, and notify equipment stage property server.When equipment, which possesses, disputes on, as dress
Foundation during standby stage property rollback.
Gateway (GameGate):
Receive the equipment request data of the upper hair of client.The data validation of preliminary identification client request equipment.To
The rational request of logical server forwarding.The user record that illegal request is equipped is entered into blacklist, preserves daily record for artificial random
Selective examination.
Client (Client):
It is responsible for using to the legal equipment of server application client, transaction, generates request.Receive server appliance data
And verify the timestamp on equipment.Timing laterally checks the equipment record, judges whether internal storage data is distorted by plug-in by MD5 codes.
Server, and the suspectable stage property of timing verification will be sent out on suspicious equipment.
Cache server (CacheServer):
When logical server cannot connect to equipment server, the caching of equipment and stage property is done.When equipment server opens
It is dynamic to finish, cache information is pushed out.Notice is got to client transmission by gateway server.
In the case of without departing from the spirit or scope of the present invention, various repair can be carried out to the removal advertising method of the present invention
Change and modification, this is apparent to those skilled in the art.Therefore, appended claims and its equivalent implementation are fallen into
These modifications and changes of the present invention in the range of mode is all within the scope of the present invention.
Claims (7)
1. a kind of game article provides method for protecting, which is characterized in that includes the following steps:
(1) when user applies creating equipment, legitimate verification is first carried out, if server judges user, application is normal, into
Row operates in next step, otherwise is operated without next step;
(2) in legitimate verification by rear, submission application to gateway (GameGate) selects suitable game logic to take by gateway
Device (GameServer) of being engaged in is handled, and game logic server (GameServer) is by corresponding message distribution to persistence service device
(DBServer);
(3) equipment is judged at this time whether in persistence service device (DBServer), if equipment is in persistence service device
(DBServer) in, then using existing stage property, then equipment creates, merchandises successfully, if equipment is not in persistence service device
(DBServer) in, then resource is asked to equipment stage property server (EquipServer), in being sent to cache server
(CacheServer) it records, equipment creates, merchandises successfully.
2. the method as described in claim 1, further, when user applies creating equipment, server generation equipment, and
Caching is carried out in server series group, by completing three-way handshake with client, that is, (1) application is sent out in client, server is received
Prefreezing stage property after to request, (2) server issue stage property, and (3) client responds server, the latter's defrosting road after receiving stage property
Have and confirm and provide successfully, keep a diary, confirm that user has received, and be included in equipment Groups List;If mistake occurs in transaction,
The equipment do not provided is then got into specific position in persistence service device (DBServer), user's next time is waited for according to priority level
Active push of reaching the standard grade passively is got, final to ensure that equipment is provided successfully.
3. method as claimed in claim 2, wherein, stage property processing is established in game logic server (GameServer) and is connect
Mouthful, category is distributed to different execution threads.
4. method as claimed in claim 2 further, after player logs in logical server (GameServer), is being played
The stage property circulation generated in content, is all recorded by equipment stage property server (EquipServer);In process for producing, transaction, divide
Solution, when abandoning logic, from equipment stage property server (EquipServer) to logical server (GameServer) propelling data.
5. method as claimed in claim 4, further, when stage property circulates, first with Hash calculation numerical value and find existing
Equipment, that is, calculate the UUID of stage property, ensure that unique number will not be repeated, lock calibration label;Equipment gives next player
Afterwards, being confirmed by hair on the latter could unlock after applying for and confirming return;After completing stage property circulation, pushed to gateway (GameGate)
A session is completed in data book of final entry daily record.
6. method as claimed in claim 2, further, persistence service device (DBServer) are responsible for the lasting of all equipments
Change and unserializing;In logical server (GameServer) acquisition request stage property, according to stage property weight, preferentially push important
The high equipment of rank, and notify equipment stage property server (EquipServer);When equipment, which possesses, disputes on, as equipment
Foundation during stage property rollback.
7. method as claimed in claim 2, further, gateway (GameGate) receive the equipment request of the upper hair of client
Data;The data validation of preliminary identification client request equipment;Reasonably please to logical server (GameServer) forwarding
It asks;The user record that illegal request is equipped is entered into blacklist, daily record is preserved and supplies artificial random inspection.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611197238.3A CN108211348B (en) | 2016-12-22 | 2016-12-22 | Game equipment issuing safety guarantee method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611197238.3A CN108211348B (en) | 2016-12-22 | 2016-12-22 | Game equipment issuing safety guarantee method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108211348A true CN108211348A (en) | 2018-06-29 |
CN108211348B CN108211348B (en) | 2021-08-10 |
Family
ID=62656977
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611197238.3A Active CN108211348B (en) | 2016-12-22 | 2016-12-22 | Game equipment issuing safety guarantee method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108211348B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101388097A (en) * | 2007-09-11 | 2009-03-18 | 华友讯联股份有限公司 | Virtual treasure network trading method in virtual network game and system thereof |
CN102013067A (en) * | 2010-06-24 | 2011-04-13 | 孙强 | Method and system for preventing abnormal deal of prop and currency in online game |
KR101220597B1 (en) * | 2012-02-20 | 2013-01-10 | 씨제이포디플렉스 주식회사 | Facilities for showing picture having game function |
CN103854218A (en) * | 2012-12-06 | 2014-06-11 | 腾讯科技(深圳)有限公司 | Online application virtual resource transfer method, device and system |
CN105260171A (en) * | 2015-09-10 | 2016-01-20 | 深圳市创梦天地科技有限公司 | Virtual item generation method and apparatus |
-
2016
- 2016-12-22 CN CN201611197238.3A patent/CN108211348B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101388097A (en) * | 2007-09-11 | 2009-03-18 | 华友讯联股份有限公司 | Virtual treasure network trading method in virtual network game and system thereof |
CN102013067A (en) * | 2010-06-24 | 2011-04-13 | 孙强 | Method and system for preventing abnormal deal of prop and currency in online game |
KR101220597B1 (en) * | 2012-02-20 | 2013-01-10 | 씨제이포디플렉스 주식회사 | Facilities for showing picture having game function |
CN103854218A (en) * | 2012-12-06 | 2014-06-11 | 腾讯科技(深圳)有限公司 | Online application virtual resource transfer method, device and system |
CN105260171A (en) * | 2015-09-10 | 2016-01-20 | 深圳市创梦天地科技有限公司 | Virtual item generation method and apparatus |
Non-Patent Citations (1)
Title |
---|
郁大威: "网络游戏服务器架构技术研究与优化", 《中国优秀硕士学位论文全文数据库信息科技辑》 * |
Also Published As
Publication number | Publication date |
---|---|
CN108211348B (en) | 2021-08-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
AU2016316777B2 (en) | Methods and apparatus for a distributed database within a network | |
CN110351285B (en) | Data processing method, application client and system | |
US10747753B2 (en) | Methods and apparatus for a distributed database within a network | |
CN110064202B (en) | Game method, equipment and storage medium | |
CN107909369A (en) | Based on the common recognition method, apparatus merchandised across chain and storage medium | |
CN108492183A (en) | Account trading method, system and the computer readable storage medium of block chain | |
CN104243458A (en) | Secure online game logging-in method and system | |
CN105641934B (en) | The method and device that player role switches in real time in a kind of same account | |
US20030122858A1 (en) | Partial identification and usage of objects in virtual worlds | |
CN103877725B (en) | Electronic chess and card data processing method and system | |
CN109499069B (en) | Operation result checking method and device, storage medium and electronic device | |
CN110327621A (en) | For the matched method and apparatus of network game client | |
CN102468906A (en) | Interactive logic fault-tolerance method in online games and online game fault-tolerance system | |
CN102413097A (en) | Communication system of client and server and method thereof | |
CN109304033B (en) | Computer game system, method, equipment and storage medium | |
CN104717305B (en) | A kind of online network security competition method and system based on Internet | |
CN104007965B (en) | 3d gaming design method and system | |
CN107485857A (en) | On the processing method of online game equipment identification code, central server and storage medium | |
CN108211348A (en) | Game article provides method for protecting | |
CN107800741A (en) | MMORPG server architectures | |
CN106790702A (en) | A kind of resource privilege distribution method and management end and system based on physics scene | |
CN102811209A (en) | Online game processing method, apparatus and system | |
US8495132B2 (en) | Information processing system | |
JP2017046920A (en) | Lottery system, user terminal machine, and game system | |
CN113056312A (en) | Method for providing and managing player accounts for electronic tournaments |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |