CN103713890A - Method of developing browser online game clients - Google Patents
Method of developing browser online game clients Download PDFInfo
- Publication number
- CN103713890A CN103713890A CN201210378926.5A CN201210378926A CN103713890A CN 103713890 A CN103713890 A CN 103713890A CN 201210378926 A CN201210378926 A CN 201210378926A CN 103713890 A CN103713890 A CN 103713890A
- Authority
- CN
- China
- Prior art keywords
- game
- browser plug
- resource
- client
- game client
- 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
Images
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The invention provides an implementing method of developing browser online game clients. The implementing method includes: subjecting the online game client to micro-terminalization processing; for browser plug-in processing, downloading and updating the online game client subjected to the micro-terminalization processing by the aid of a browser plug-in in a webpage and subjecting executable files in a game to safety verification; after the safety verification is successful, enabling the browser plug-in to be responsible for starting up the game and forward input information of a game player to game process and acquiring rendering images of the game process to display; inserting the game client into the webpage for processing, namely operating the started game process at the backstage, receiving the information sent by the browser plug-in for corresponding processing, and sending the images obtained by rendering in each frame to the browser plug-in to display.
Description
Technical field
The present invention relates to the technical field of online game, espespecially a kind of by the implementation method of network game client terminal web page.
Background technology
Online game can be divided into two large classes: a class is the online game (being called for short end trip) with client, and another kind of is web game (being called for short page trip), respectively has relative merits.The advantage of end trip is that game picture quality is high, abundant in content, expressive force is strong, and shortcoming is that installation kit is very large, and the threshold that player experiences game is higher, and page trip is just the opposite.
Although page trip exists expressive force poor, playing method is more dull, consumes the shortcomings such as CPU, and it is convenient and swift, opens the advantage that website just can be played whenever and wherever possible, is just more and more subject to numerous players' favor.
Different with the development platform of end trip due to page trip, want to allow a game support end trip and page trip simultaneously, difficulty is larger, and cost is also higher.
In view of this, the inventor furthers investigate for the defect of prior art, and has this case to produce.
Summary of the invention
It is a kind of by the implementation method of network game client terminal web page that technical matters to be solved by this invention is to provide.
The present invention solves the problems of the technologies described above by the following technical solutions:
An implementation method by network game client terminal web page, comprises the steps:
Step 1: network game client is carried out to micro-endization and process;
Step 2: browser plug-in is processed: download, upgrade the game client after micro-end by browser plug-in in webpage, and the executable file in game is carried out to safety check; Safety check by after by browser plug-in, be responsible for starting game, and player's input message is transmitted to game process, and the picture of playing up that obtains game process shows;
Step 3: the processing in game client embedded web page: at running background, receive the information that browser plug-in sends over after game process starts, process accordingly, and every frame is played up to the picture obtaining send to browser plug-in to show.
Further, described step 1 specifically comprises the steps:
Resource is left on server;
When client will be used required resource, if resource requirement, on local hard drive, is directly used, otherwise asynchronous download from server;
In asynchronous downloading process, use corresponding default resource;
Resource that after asynchronous download completes, use downloads to is replaced default resource, and by the resource conservation downloading to local hard drive.
Further, described step 2 also comprises the steps:, before carrying out described file security checking procedure, also to carry out following steps:
If game is not downloaded, download;
If game will be upgraded, upgrade.
Beneficial effect of the present invention is:
1, owing to greatly reducing the size of network game client, greatly shortened the time of player's download client, made player can more easily enter game and experience;
2, because the function of the required realization of browser plug-in is comparatively single, there is no the operation of what complexity, therefore only can consume CPU seldom;
3, browser plug-in can carry out file security verification before running game, does not therefore worry causing computer poisoning by operation Virus;
4, because game process is to depart from browser execution, can not be subject to the restriction of browser correlation technique, therefore still there is end trip, can in webpage, show at an easy rate the picture effect of 2D or 3D.
Accompanying drawing explanation
The invention will be further described in conjunction with the embodiments with reference to the accompanying drawings.
Fig. 1 is workflow schematic diagram of the present invention.
Fig. 2 is micro-end treatment step schematic diagram in the present invention.
Fig. 3 is browser plug-in treatment step schematic diagram in the present invention.
Fig. 4 is the treatment step schematic diagram in game client embedded web page in the present invention.
Embodiment
Refer to shown in Fig. 1 to Fig. 4, a kind of by the implementation method of network game client terminal web page, comprise the steps:
Step 1: network game client is carried out to micro-endization and process:
In network game client, more than 99% be all resource file, therefore in order to reduce client size, most resource files need to be left on server and supply client downloads, need to do following processing for this reason:
According to resource character, mark off which resource and there is no need to be placed in client installation kit, left on server for client downloads;
The resource that will use when client is during in this locality, uses, and the resource getting is remained in local hard drive, to use next time with mode Gains resources from the server of appointment of asynchronous download;
Asynchronous downloaded resources need to spend the regular hour, for the consideration on expression effect, in this period, can show corresponding default resource;
For the consideration on expression effect, the resource on server all need to be downloaded in local hard drive for client, therefore need to start a background service for downloaded resources from server ceaselessly.
Step 2: browser plug-in is processed: download, upgrade the game client after micro-end by browser plug-in in webpage, and the executable file in game is carried out to safety check; Safety check by after by browser plug-in, be responsible for starting game, and player's input message is transmitted to game process, and the picture of playing up that obtains game process shows;
Specifically comprise: use the browser plug-in of ATL storehouse exploitation ie kernel, use npapi storehouse to develop the browser plug-in of non-ie kernel, plug-in unit to realize logic as follows:
According to the information arranging in webpage, download, upgrade game client associated documents; According to digital signature information, the executable file in game client is carried out to safety check; Verification is by rear running game; By shared drive, player's input message is transmitted to game process; The picture of playing up that obtains game process by shared drive, is presented in webpage.
Step 3: the processing in game client embedded web page: after game process starts at the machine running background, not display window; By shared drive, receive the information that browser plug-in sends over, process accordingly, and by shared drive, every frame is played up to the picture obtaining and send to browser plug-in to show.
The present invention, owing to greatly reducing the size of network game client, has greatly shortened the time of player's download client, makes player can more easily enter game and experiences; Because the function of the required realization of browser plug-in is comparatively single, there is no the operation of what complexity, therefore only can consume CPU seldom; Browser plug-in can carry out file security verification before running game, does not therefore worry causing computer poisoning by operation Virus; Because game process is to depart from browser execution, can not be subject to the restriction of browser correlation technique, therefore still there is end trip, can in webpage, show at an easy rate the picture effect of 2D or 3D.
The foregoing is only better enforcement use-case of the present invention, be not intended to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of doing, be equal to and replace and improvement etc., within all should being included in protection scope of the present invention.
Claims (3)
1. by an implementation method for network game client terminal web page, it is characterized in that: comprise the steps:
Step 1: network game client is carried out to micro-endization and process;
Step 2: browser plug-in is processed: download, upgrade the game client after micro-end by browser plug-in in webpage, and the executable file in game is carried out to safety check; Safety check by after by browser plug-in, be responsible for starting game, and player's input message is transmitted to game process, and the picture of playing up that obtains game process shows;
Step 3: the processing in game client embedded web page: at the machine running background, receive the information that browser plug-in sends over after game process starts, process accordingly, and every frame is played up to the picture obtaining send to browser plug-in to show.
2. as claimed in claim 1 a kind of by the implementation method of network game client terminal web page, it is characterized in that: described step 1 specifically comprises the steps:
Resource is left on server;
When client will be used required resource, if resource requirement, on local hard drive, is directly used, otherwise asynchronous download from server;
In asynchronous downloading process, use corresponding default resource;
Resource that after asynchronous download completes, use downloads to is replaced default resource, and by the resource conservation downloading to local hard drive.
3. as claimed in claim 1 a kind of by the implementation method of network game client terminal web page, it is characterized in that: described step 2 also comprises the steps:, before carrying out described file security checking procedure, also to carry out following steps:
If game is not downloaded, download;
If game will be upgraded, upgrade.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210378926.5A CN103713890B (en) | 2012-10-09 | 2012-10-09 | Method of developing browser online game clients |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210378926.5A CN103713890B (en) | 2012-10-09 | 2012-10-09 | Method of developing browser online game clients |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103713890A true CN103713890A (en) | 2014-04-09 |
CN103713890B CN103713890B (en) | 2017-03-22 |
Family
ID=50406898
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210378926.5A Active CN103713890B (en) | 2012-10-09 | 2012-10-09 | Method of developing browser online game clients |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103713890B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104239067A (en) * | 2014-09-30 | 2014-12-24 | 北京奇虎科技有限公司 | Making method and device of miniature client end |
CN105404539A (en) * | 2015-12-30 | 2016-03-16 | 网易(杭州)网络有限公司 | Method for transplanting client game into webpage game, webpage game system and terminal |
CN105847429A (en) * | 2016-05-19 | 2016-08-10 | 广州四三九九信息科技有限公司 | Micro client resource downloading realization method |
CN109062630A (en) * | 2018-07-17 | 2018-12-21 | 北京奇艺世纪科技有限公司 | A kind of program resource content download method, device and terminal device |
CN110841280A (en) * | 2019-11-06 | 2020-02-28 | 福建天晴在线互动科技有限公司 | Method for online dynamic loading and checking of resources of micro-terminal |
CN111111206A (en) * | 2018-10-30 | 2020-05-08 | 阿里巴巴集团控股有限公司 | Method and device for running game and terminal equipment |
CN111767503A (en) * | 2020-07-29 | 2020-10-13 | 腾讯科技(深圳)有限公司 | Game data processing method and device, computer and readable storage medium |
CN113157337A (en) * | 2021-04-19 | 2021-07-23 | 深圳市中科明望通信软件有限公司 | Application program starting method and device, terminal equipment and storage medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1949778A (en) * | 2005-10-14 | 2007-04-18 | 吉亚互动公司 | Multi-player game architecture |
US20070184905A1 (en) * | 2003-09-04 | 2007-08-09 | Cyberview Technology, Inc. | Universal game server |
CN101188620A (en) * | 2006-11-17 | 2008-05-28 | 张立伟 | Method for creating Internet virtual reception hall and realizing synchronous and asynchronous exchange by using flash plug-in technology |
CN101470773A (en) * | 2007-12-25 | 2009-07-01 | 山东易通商业经纪有限公司 | Method for implementing web page game system based on WEB browser |
US20100281357A1 (en) * | 2009-04-30 | 2010-11-04 | International Business Machines Corporation | System and method for processing a widget at a web browser |
CN102081528A (en) * | 2009-11-26 | 2011-06-01 | 冼剑光 | Method for running large-scale software being loaded |
CN102238156A (en) * | 2010-05-07 | 2011-11-09 | 盛乐信息技术(上海)有限公司 | Online game client side resource downloading method |
CN102340497A (en) * | 2010-07-23 | 2012-02-01 | 北京乐升科技有限公司 | Online game system and online game resource processing method |
US20120150695A1 (en) * | 2010-12-09 | 2012-06-14 | Maureen Fan | Apparatuses, Methods and Systems for an Online Rewards Incentive Program |
CN102647398A (en) * | 2011-02-16 | 2012-08-22 | 腾讯科技(深圳)有限公司 | Method and device for realizing game on basis of mobile terminal |
-
2012
- 2012-10-09 CN CN201210378926.5A patent/CN103713890B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070184905A1 (en) * | 2003-09-04 | 2007-08-09 | Cyberview Technology, Inc. | Universal game server |
CN1949778A (en) * | 2005-10-14 | 2007-04-18 | 吉亚互动公司 | Multi-player game architecture |
CN101188620A (en) * | 2006-11-17 | 2008-05-28 | 张立伟 | Method for creating Internet virtual reception hall and realizing synchronous and asynchronous exchange by using flash plug-in technology |
CN101470773A (en) * | 2007-12-25 | 2009-07-01 | 山东易通商业经纪有限公司 | Method for implementing web page game system based on WEB browser |
US20100281357A1 (en) * | 2009-04-30 | 2010-11-04 | International Business Machines Corporation | System and method for processing a widget at a web browser |
CN102081528A (en) * | 2009-11-26 | 2011-06-01 | 冼剑光 | Method for running large-scale software being loaded |
CN102238156A (en) * | 2010-05-07 | 2011-11-09 | 盛乐信息技术(上海)有限公司 | Online game client side resource downloading method |
CN102340497A (en) * | 2010-07-23 | 2012-02-01 | 北京乐升科技有限公司 | Online game system and online game resource processing method |
US20120150695A1 (en) * | 2010-12-09 | 2012-06-14 | Maureen Fan | Apparatuses, Methods and Systems for an Online Rewards Incentive Program |
CN102647398A (en) * | 2011-02-16 | 2012-08-22 | 腾讯科技(深圳)有限公司 | Method and device for realizing game on basis of mobile terminal |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104239067A (en) * | 2014-09-30 | 2014-12-24 | 北京奇虎科技有限公司 | Making method and device of miniature client end |
CN104239067B (en) * | 2014-09-30 | 2017-07-11 | 北京奇虎科技有限公司 | The preparation method and device of miniature client |
CN105404539A (en) * | 2015-12-30 | 2016-03-16 | 网易(杭州)网络有限公司 | Method for transplanting client game into webpage game, webpage game system and terminal |
CN105847429A (en) * | 2016-05-19 | 2016-08-10 | 广州四三九九信息科技有限公司 | Micro client resource downloading realization method |
CN109062630A (en) * | 2018-07-17 | 2018-12-21 | 北京奇艺世纪科技有限公司 | A kind of program resource content download method, device and terminal device |
CN111111206A (en) * | 2018-10-30 | 2020-05-08 | 阿里巴巴集团控股有限公司 | Method and device for running game and terminal equipment |
CN111111206B (en) * | 2018-10-30 | 2024-04-05 | 阿里巴巴集团控股有限公司 | Game running method and device and terminal equipment |
CN110841280A (en) * | 2019-11-06 | 2020-02-28 | 福建天晴在线互动科技有限公司 | Method for online dynamic loading and checking of resources of micro-terminal |
CN111767503A (en) * | 2020-07-29 | 2020-10-13 | 腾讯科技(深圳)有限公司 | Game data processing method and device, computer and readable storage medium |
WO2022022281A1 (en) * | 2020-07-29 | 2022-02-03 | 腾讯科技(深圳)有限公司 | Game data processing method and apparatus, and computer and readable storage medium |
CN111767503B (en) * | 2020-07-29 | 2024-05-28 | 腾讯科技(深圳)有限公司 | Game data processing method, device, computer and readable storage medium |
CN113157337A (en) * | 2021-04-19 | 2021-07-23 | 深圳市中科明望通信软件有限公司 | Application program starting method and device, terminal equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN103713890B (en) | 2017-03-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103713890A (en) | Method of developing browser online game clients | |
US9792623B2 (en) | Advertisement processing method and apparatus | |
US20130073946A1 (en) | Method and apparatus for loading webpage content of webkit browser | |
US11159641B2 (en) | Method and system for sharing data between terminals | |
WO2019201039A1 (en) | Method and system for updating application and application server | |
WO2015169216A1 (en) | Method and apparatus of preloading browser game on client | |
TWI626593B (en) | Method and apparatus for upgrading software | |
TW201235072A (en) | Method and apparatus for gaming based on mobile terminal | |
CN103618606A (en) | App login method verified through short message | |
CN102752371B (en) | In client, realize method and the client of dodging screen | |
WO2016082696A1 (en) | Ua recognition method and device | |
WO2018000692A1 (en) | Data synchronization method and system, user terminal and server for data synchronization | |
CN103139720B (en) | A kind of processing method and system for reducing mobile phone advertisement network traffics | |
US20150296014A1 (en) | Picture download method and apparatus | |
CN112473131A (en) | Method and device for realizing game running and computer readable storage medium | |
WO2014040570A1 (en) | Spam template article identification method and device | |
US20150304188A1 (en) | Method and apparatus for detecting multimedia content change, and resource propagation system | |
CN112291341A (en) | File transmission method, device and equipment | |
CN105808630B (en) | Android application auditing method and device | |
US20170171339A1 (en) | Advertisement data transmission method, electrnoic device and system | |
US20180343216A1 (en) | Context driven modification of attachments in a messaging session | |
CN104994082B (en) | A kind of pictorial information processing method, server and system | |
EP3510557B1 (en) | Image processing system for verification of rendered data | |
WO2024087767A1 (en) | Upgrade installation method and apparatus, system, electronic device, and storage medium | |
CN106209656A (en) | Router upgrade system, method and router |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |