CN101404655A - Client terminal and its method for launching communication and communication system of network game - Google Patents

Client terminal and its method for launching communication and communication system of network game Download PDF

Info

Publication number
CN101404655A
CN101404655A CNA2008102172736A CN200810217273A CN101404655A CN 101404655 A CN101404655 A CN 101404655A CN A2008102172736 A CNA2008102172736 A CN A2008102172736A CN 200810217273 A CN200810217273 A CN 200810217273A CN 101404655 A CN101404655 A CN 101404655A
Authority
CN
China
Prior art keywords
request
client
agreement
online game
communication system
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
Application number
CNA2008102172736A
Other languages
Chinese (zh)
Other versions
CN101404655B (en
Inventor
关宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guan Zhihang
Original Assignee
SHENZHEN SUNFAIRS DIGITAL TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHENZHEN SUNFAIRS DIGITAL TECHNOLOGY Co Ltd filed Critical SHENZHEN SUNFAIRS DIGITAL TECHNOLOGY Co Ltd
Priority to CN2008102172736A priority Critical patent/CN101404655B/en
Publication of CN101404655A publication Critical patent/CN101404655A/en
Priority to HK09109058.1A priority patent/HK1131283A1/en
Application granted granted Critical
Publication of CN101404655B publication Critical patent/CN101404655B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The invention is applicable to the technical field of online games, and provides a client, a method for initiating communication by the client, and a communication system of the online game. The system comprises a plurality of clients and an online game server, wherein, the client transmits a log-on authority acquiring request which is encapsulated via a protocol among communication systems; the online game server receives the log-on authority acquiring request transmitted by the client, analyzes and verifies the request according to related protocol, after the request passes verification, a key is returned to the client according to the request; the client establishes connection with the online game server according to the key returned by the online game server. The embodiment of the invention improves the security of online games during communication, improves use confidence of online game users, greatly riches functions of the online game, and brings convenience for popularization of the online game.

Description

A kind of client and the communication system of initiating method for communicating and online game thereof
Technical field
The invention belongs to field of network game technology, the communication system that relates in particular to a kind of client and initiate method for communicating and online game.
Background technology
Online game refers to by the Internet or local area network (LAN), is played by the electronic computer that two or more clients participate in.Along with the development that deepens continuously of Internet technology, online game has become a branch with fastest developing speed in the Internet industry, with the interactivity and the abundant expressive force of its height, by increasing user is liked.
Along with the continuous development of internet communication technology, network game system self has also proposed higher requirement, comprises the user data of communication robust, magnanimity, the load capacity under high concurrent user's quantity.Present online game all is to realize with the large software system of complexity, can be divided into client and net surfing server end two large divisions, the net surfing server end is divided into several parts such as user's game server, game service logical process server, database server by function.During game running, a large amount of network game clients is by the Internet or local area network (LAN), be connected to and land net surfing server, be transferred to game service logical process server later on through user rs authentication and play, the deposit data of online game is in special database server.
The existing network games system is general all by specific transmission control/Internet protocol (TransmissionControl Protocol/Internet Protocol, TCP) port carries out communication, when the shortcoming of doing is like this carried out communication exactly, tend to be tackled by fire compartment wall, make behind the fire compartment wall client-side program can not with the net surfing server end communication, also just can't play.
Though existing technology also can passing fire wall,, make authentication in the communication, safety, performance famine such as secret because existing communication process does not have the part of safety and encryption and decryption; And this technology can only support Hypertext Transport Protocol (Hyper Text Transfer Protocol, HTTP), invalid equally for the fire compartment wall of not open http protocol.
To sum up, in the prior art, in the process of communication, when passing fire wall, authentication, safety, performance famine fail safe such as maintain secrecy bring probabilistic influence to online game.
Summary of the invention
The purpose of the embodiment of the invention is to provide a kind of communication system of online game, be intended to solve in the prior art, in the process of communication, when passing fire wall, authentication, safety, performance famine fail safe such as maintain secrecy bring the problem of probabilistic influence to online game.
The embodiment of the invention is achieved in that a kind of communication system of online game, and described system comprises:
A plurality of clients, described client sends load right and obtains request, and described load right is obtained request and is encapsulated via the agreement between communication system;
Net surfing server, described net surfing server receive the load right of client transmission and obtain request, resolve and verify this request according to corresponding protocol, after checking is passed through, return described client one key according to this request;
Described client connects according to key and the described net surfing server that described net surfing server returns.
Another purpose of the embodiment of the invention is to provide client initiation method for communicating in a kind of online game, and described method comprises:
Send load right and obtain request, wherein, when sending, from the agreement of described system, select a kind of agreement to encapsulate;
Whether judgement receives the response that receives described request that net surfing server returns in setting-up time;
If in setting-up time, do not receive response, from the agreement of described system, select other agreements that described request is encapsulated, and be sent to described net surfing server.
Another purpose of the embodiment of the invention is to provide the client in a kind of network game system, and described client comprises that load right is obtained request sending module and request responds judge module:
Described load right is obtained request sending module, is used to send load right and obtains request, wherein, when sending, selects a kind of agreement to encapsulate from the agreement of described system;
Described request response judge module is used to judge whether receive the response that receives described request that net surfing server returns in setting-up time;
If described request response judge module does not receive response in setting-up time, then load right is obtained request sending module and is selected other agreements that described request is encapsulated from the agreement of described system, and is sent to described net surfing server.
In embodiments of the present invention, after the load right that net surfing server termination receipts client sends is obtained request, resolve and verify this request according to corresponding protocol, after checking is passed through, return described client one key according to this request, strengthened the fail safe when communication is carried out in online game, promoted network game user's use confidence, enriched the function of online game greatly, the popularization of online game offers convenience.
Description of drawings
Fig. 1 is the structure chart of the communication system of the online game that provides of the embodiment of the invention;
Fig. 2 is the flow chart that client is initiated method for communicating in the online game that provides of the embodiment of the invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with drawings and Examples.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
Fig. 1 shows the structure of the communication system of the online game that the embodiment of the invention provides, and wherein, described system comprises net surfing server and a plurality of client.
Described client sends load right and obtains request, and described load right is obtained request and encapsulated via the agreement between communication system.This load right request of obtaining can be one time key.
Sending after load right obtains request, described client judges whether receive the request responding that receives that described net surfing server returns in setting-up time.
If client does not receive the request responding that receives that described net surfing server returns in setting-up time (for example 3 seconds), then select other agreement to encapsulate the agreement between described communication system, and be sent to described net surfing server once more.
Like this, even if a kind of agreement (such as HTTP) is tackled by fire compartment wall, the embodiment of the invention can also encapsulate the back by other agreements (such as DNS) and send, effectively avoided because a kind of agreement is tackled by fire compartment wall, make the problem that client behind the fire compartment wall can not be carried out communication with net surfing server, bring great convenience for user's use.
Agreement between described communication system comprises HTTP, domain name resolution server (Domain NameSystem, DNS), part host-host protocol (File Transfer Protocol, FTP), MSN, Simple Mail Transfer protocol (Simple Mail Transfer Protocol, SMTP), the secure socket layer protocol layer (Secure Sockets Layer, SSL).
Described net surfing server termination is received the load right of client transmission and is obtained request, resolves and verify this request according to corresponding protocol, after checking is passed through, returns described client one key according to this request.
Wherein, the net surfing server end is from being divided in logic: bottom communication module, protocol adaptor, a plurality of protocol analysis template, encryption and decryption module, user's debarkation authentication module, game service logic processing module and database.
The bottom communication module is in charge of the concrete communications activity with each client, receives and obtains the data message of request from the load right that comprises of each client, and be forwarded to protocol adaptor and carry out dissection process; Be responsible for simultaneously sending through the data message after processing and encryption and decryption and the protocol encapsulation to client;
Protocol adaptor, the responsible data message that the bottom communication module is transmitted up resolve by loading a plurality of protocol analysis and encapsulating template, and the data message forwarding after will resolving to encryption and decryption module is handled; Be responsible for simultaneously the data encrypted message is encapsulated according to concrete communications protocol, and be forwarded to the bottom communication module and send to client;
The encryption and decryption module, be responsible for data message with the protocol adaptor submission, specific identifier according to client, as Customs Assigned Number, land serial number etc., find corresponding key by key management module, and data message deciphering is normal client instruction, land instruction and be forwarded to user's debarkation authentication module and carry out debarkation authentication; Concrete service order is forwarded to the game service logic processing module;
The game service logic processing module is responsible for the core operation of recreation, according to the various affairs of the contents processing server end in the instruction and data storehouse of client, and the result is updated to database, then operating result is issued the encryption and decryption module and sends processing;
Database is responsible for the mass data that relates in the storage network recreation.
User's debarkation authentication module, the responsible load right of client is obtained asks to carry out checking treatment, if the load right that client sends is obtained request, comprise that information such as wherein user account, user cipher, identification code are legal, after checking is passed through, give this client a communication key by the Password Management module, and legal the landing of notice game service this client of processing module; If the request that client sends comprising information incorrect, then return " landing failure " and indicate, riches all the way delivers to client by the encryption and decryption module;
The Password Management module is responsible for generating and the management communication password.
In specific implementation process, the net surfing server end is intercepted on the port of a plurality of communications protocol, after the load right that receives client on the port of certain communications protocol is obtained request, register the protocol type of this client, and call corresponding protocols parsing and encapsulation template, parse this request by protocol adaptor, being dealt into key management module then handles, the key administration module is issued disposable communication key, by the communications protocol of correspondence, returns to client after the encapsulation.
Described client connects according to key and the described net surfing server that described net surfing server returns.
Described net surfing server is resolved and is verified when described load right is obtained request according to corresponding protocol, comprises user account, user cipher and the identification code etc. of verifying described client.
Described client receives the key that described net surfing server returns, and according to the communications protocol and the key of system, sends the request of landing.
Described net surfing server end is resolved the described request of landing, and authentication secret after described key authentication success, connects with described client.
Fig. 2 shows the flow process that client in the online game that the embodiment of the invention provides is initiated method for communicating.
In step S201, send load right and obtain request, wherein, when sending, from the agreement of described system, select a kind of agreement to encapsulate.
As embodiments of the invention, the request of obtaining of this load right is one time key.
In step S202, judge in setting-up time, whether to receive the response that receives described request that net surfing server returns.
For example, client sends load right and obtains when asking, and this request is according to the order of setting, and in the selective system agreement will send to net surfing server after the communications protocol encapsulation of this request according to current selection successively.The agreement of described system comprises HTTP, DNS, FTP, MSN, SMTP, SSL.
Because there is fire compartment wall in the centre, have one or more consultation and be blocked, then client is in setting-up time, for example under the situation about not meeting with a response in 3 seconds, another one agreement under selecting in the system protocol encapsulates, and sends to net surfing server once more.
If in setting-up time, do not receive response, carry out step S101, otherwise carry out step S103
From the agreement of described system, select other agreements that described request is encapsulated, and be sent to described net surfing server.
In step S203, receive the key that described net surfing server returns.
In step S204,, send the request of landing according to the communications protocol between described key and system.
The embodiment of the invention also provides the client in a kind of network game system, and described client comprises that load right is obtained request sending module and request responds judge module.
Wherein, described load right is obtained request sending module, is used to send load right and obtains request, wherein, when sending, selects a kind of agreement to encapsulate from the agreement of described system;
Described request response judge module is used to judge whether receive the response that receives described request that net surfing server returns in setting-up time;
If described request response judge module does not receive response in setting-up time, then load right is obtained request sending module and is selected other agreements that described request is encapsulated from the agreement of described system, and is sent to described net surfing server.
As embodiments of the invention, the agreement of described system comprises HTTP, DNS, FTP, MSN, SMTP, SSL.
Certainly, in specific implementation process, described client also comprises: bottom communication module, protocol adaptor, various protocols are resolved template, encryption and decryption module and game client maim body, described client receives the key that described net surfing server returns, communications protocol and key according to system, request is landed in transmission, and connects with described net surfing server, does not just do one by one herein and has described.
The embodiment of the invention has strengthened the fail safe when communication is carried out in online game, has promoted network game user's use confidence, has enriched the function of online game greatly, and the popularization of online game offers convenience.
The above only is preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1, a kind of communication system of online game is characterized in that, described system comprises:
A plurality of clients, described client sends load right and obtains request, and described load right is obtained request and is encapsulated via the agreement between communication system;
Net surfing server, described net surfing server receive the load right of client transmission and obtain request, resolve and verify this request according to corresponding protocol, after checking is passed through, return described client one key according to this request;
Described client connects according to key and the described net surfing server that described net surfing server returns.
2, the communication system of online game as claimed in claim 1 is characterized in that,
Described client also judges whether receive the request responding that receives that described net surfing server returns in setting-up time;
If client does not receive the response that described net surfing server returns in setting-up time, select other agreement to encapsulate the agreement between described communication system, and be sent to described net surfing server once more.
3, the communication system of online game as claimed in claim 1 is characterized in that, the agreement between described communication system comprises HTTP, DNS, FTP, MSN, SMTP and SSL.
4, the communication system of online game as claimed in claim 1 is characterized in that, described net surfing server is resolved and verified when described load right is obtained request according to corresponding protocol, comprises user account, user cipher and the identification code of verifying described client.
5, the communication system of online game as claimed in claim 1 is characterized in that,
After described client receives the key that described net surfing server returns,, send the request of landing according to the communications protocol and the key of system;
Described net surfing server end is resolved the described request of landing, and authentication secret after described key authentication success, connects with described client.
6, client is initiated method for communicating in a kind of online game, it is characterized in that described method comprises:
Send load right and obtain request, wherein, when sending, select a kind of agreement to encapsulate the agreement between described communication system;
Whether judgement receives the response that receives described request that net surfing server returns in setting-up time;
If in setting-up time, do not receive response, select other agreements that described request is encapsulated the agreement between described communication system, and be sent to described net surfing server.
7, client is initiated method for communicating in the online game as claimed in claim 6, it is characterized in that the agreement between described communication system comprises HTTP, DNS, FTP, MSN, SMTP and SSL.
8, client is initiated method for communicating in the online game as claimed in claim 6, it is characterized in that described method also comprises:
Receive the key that described net surfing server returns;
According to the communications protocol between described key and system, send the request of landing.
9, the client in a kind of network game system is characterized in that, described client comprises:
Load right is obtained request sending module, is used to send load right and obtains request, wherein, when sending, selects a kind of agreement to encapsulate the agreement between described communication system;
Request response judge module is used to judge whether receive the response that receives described request that net surfing server returns in setting-up time;
If described request response judge module does not receive response in setting-up time, then load right is obtained and is selected other agreements that described request is encapsulated the agreement of request sending module between described communication system, and is sent to described net surfing server.
10, the client in the network game system as claimed in claim 9 is characterized in that, the agreement of described system comprises HTTP, DNS, FTP, MSN, SMTP and SSL.
CN2008102172736A 2008-11-05 2008-11-05 Client terminal and its method for launching communication and communication system of network game Expired - Fee Related CN101404655B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2008102172736A CN101404655B (en) 2008-11-05 2008-11-05 Client terminal and its method for launching communication and communication system of network game
HK09109058.1A HK1131283A1 (en) 2008-11-05 2009-09-30 Client terminal and method of initiating communication with the client terminal and communication system of cyber game

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008102172736A CN101404655B (en) 2008-11-05 2008-11-05 Client terminal and its method for launching communication and communication system of network game

Publications (2)

Publication Number Publication Date
CN101404655A true CN101404655A (en) 2009-04-08
CN101404655B CN101404655B (en) 2011-06-29

Family

ID=40538523

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008102172736A Expired - Fee Related CN101404655B (en) 2008-11-05 2008-11-05 Client terminal and its method for launching communication and communication system of network game

Country Status (2)

Country Link
CN (1) CN101404655B (en)
HK (1) HK1131283A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102291254A (en) * 2011-07-05 2011-12-21 厦门雅迅网络股份有限公司 Method for managing communication between subsystems of application systems
CN103117989A (en) * 2011-11-17 2013-05-22 华为软件技术有限公司 Controlling method, device and terminal of safety of online games
WO2015062266A1 (en) * 2013-10-31 2015-05-07 Tencent Technology (Shenzhen) Company Limited System and method of authenticating user account login request messages
CN104753962A (en) * 2015-04-23 2015-07-01 厦门雅迅网络股份有限公司 OBD (On-board diagnostics) safety management method and system
CN105224855A (en) * 2015-08-31 2016-01-06 联想(北京)有限公司 A kind of information processing method and electronic equipment
US9432358B2 (en) 2013-10-31 2016-08-30 Tencent Technology (Shenzhen) Company Limited System and method of authenticating user account login request messages
CN106059990A (en) * 2015-04-14 2016-10-26 Ls产电株式会社 Method of automatically setting protocol in programmable logic controller system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004164519A (en) * 2002-09-19 2004-06-10 Konami Co Ltd Authentication processing hardware, authentication processing system, and use control hardware
CN101262346A (en) * 2008-01-22 2008-09-10 好旺角(厦门)电子科技有限公司 Login validation method for network system database

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102291254A (en) * 2011-07-05 2011-12-21 厦门雅迅网络股份有限公司 Method for managing communication between subsystems of application systems
CN102291254B (en) * 2011-07-05 2016-06-01 厦门雅迅网络股份有限公司 A kind of communication management method between the subsystem of application system
CN103117989A (en) * 2011-11-17 2013-05-22 华为软件技术有限公司 Controlling method, device and terminal of safety of online games
WO2015062266A1 (en) * 2013-10-31 2015-05-07 Tencent Technology (Shenzhen) Company Limited System and method of authenticating user account login request messages
US9432358B2 (en) 2013-10-31 2016-08-30 Tencent Technology (Shenzhen) Company Limited System and method of authenticating user account login request messages
CN106059990A (en) * 2015-04-14 2016-10-26 Ls产电株式会社 Method of automatically setting protocol in programmable logic controller system
CN106059990B (en) * 2015-04-14 2019-09-27 Ls 产电株式会社 The method of agreement is set automatically in programmable logic controller system
CN104753962A (en) * 2015-04-23 2015-07-01 厦门雅迅网络股份有限公司 OBD (On-board diagnostics) safety management method and system
CN105224855A (en) * 2015-08-31 2016-01-06 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN105224855B (en) * 2015-08-31 2019-01-15 联想(北京)有限公司 A kind of information processing method and electronic equipment

Also Published As

Publication number Publication date
HK1131283A1 (en) 2010-01-15
CN101404655B (en) 2011-06-29

Similar Documents

Publication Publication Date Title
CN101404655B (en) Client terminal and its method for launching communication and communication system of network game
CN105491001B (en) Secure communication method and device
CN102638473B (en) User data authorization method, device and system
EP1906584B1 (en) Method, system and device for game data transmission
CN101068245B (en) Shared file issuing and downloading method and file sharing control system
CN101779413B (en) Method and apparatus for communication, and method and apparatus for controlling communication
CN101529412B (en) Data file access control
CN102356620B (en) Web application access
CN107534651A (en) The safe transmission of Session ID during service authentication
CN101087193A (en) New method for using the mobile number bond with account for identity identification
CN103503408A (en) System and method for providing access credentials
CN101651666A (en) Method and device for identity authentication and single sign-on based on virtual private network
CN110365741A (en) A kind of connection method for building up and transfer server
CN106330816A (en) Method and system for logging in cloud desktop
CN105429979A (en) Cross-platform user certificating method and intelligent router, Internet surfing system
CN102893579B (en) For provide method, node and the equipment of bill in communication system
CN101252767B (en) Traffic providing system and authority identifying method in traffic providing
EP1909436A1 (en) System and method of integrating a node into a virtual ring
CN114390524B (en) Method and device for realizing one-key login service
CN116980163A (en) Data processing method, device, equipment and medium based on trusted execution environment
CN101594240B (en) Network-based software login method and network-based software login system
CN101159849A (en) Living broadcast method for interactive network television system
CN110602133B (en) Intelligent contract processing method, block chain management device and storage medium
US20120289303A1 (en) Mobile gaming system
CN101115188B (en) Living broadcast method for interactive network television system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1131283

Country of ref document: HK

C14 Grant of patent or utility model
GR01 Patent grant
REG Reference to a national code

Ref country code: HK

Ref legal event code: GR

Ref document number: 1131283

Country of ref document: HK

ASS Succession or assignment of patent right

Owner name: GUAN ZHIHANG

Free format text: FORMER OWNER: SHENZHEN SUNFAIRS DIGITAL TECHNOLOGY CO., LTD.

Effective date: 20141202

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 518048 SHENZHEN, GUANGDONG PROVINCE TO: 518052 SHENZHEN, GUANGDONG PROVINCE

TR01 Transfer of patent right

Effective date of registration: 20141202

Address after: 22, No. 518052, Lai yuan community, Xuefu Road, Nanshan District, Shenzhen, Guangdong,

Patentee after: Guan Zhihang

Address before: Room 1601, block A, South International Plaza, Yitian Road, Shenzhen, Guangdong, Futian District 518048, China

Patentee before: Shenzhen Sunfairs Digital Technology Co., Ltd.

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110629

Termination date: 20171105

CF01 Termination of patent right due to non-payment of annual fee