CN101008902A - Method of game update - Google Patents
Method of game update Download PDFInfo
- Publication number
- CN101008902A CN101008902A CN 200710048238 CN200710048238A CN101008902A CN 101008902 A CN101008902 A CN 101008902A CN 200710048238 CN200710048238 CN 200710048238 CN 200710048238 A CN200710048238 A CN 200710048238A CN 101008902 A CN101008902 A CN 101008902A
- Authority
- CN
- China
- Prior art keywords
- game
- archives
- decompress
- ion
- sha
- 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.)
- Pending
Links
Images
Abstract
This invention discloses one green game update method, which comprises the following steps: game servo end send files SHA-1 property value; using formula to compare game customer end file SHA-1 value and next value; checking whether matching, if not, customer end requires of update through WEB based on HTTP agreement; decompressing game files download and putting the files onto WINDOWS system fold; then extracting the decompressed files value and tests whether matching with game servo end.
Description
Technical field
The present invention relates to a kind of method of game renewal of green.
Background technology
Fast development along with the recreation industry, no matter still improve the security of recreation for the playability that improves recreation, recreation will constantly be upgraded, and the renewal of recreation is exactly the execution archives of recreation in essence or the resource shelves are replaced fully or part is replaced.In the prior art, it generally all is manually-operated that the execution archives of recreation or resource archives are replaced, the operator need check that game version is whether out-of-date or whether new version is arranged, download and install replacement recreation archives then, whole process complexity is loaded down with trivial details, the installation of can not comparing automatically.
Summary of the invention
Technical matters to be solved by this invention is the method how a kind of game renewal of green is provided, and this method can judge automatically whether player's recreation archives need to upgrade, and upgrades as needs, can be automatically, fast, effectively, safety, new game archives simply more.
Technical matters proposed by the invention is to solve like this: a kind of method of game renewal of green is provided, may further comprise the steps:
(1), the game services end sends the SHA-1 eigenwert of recreation archives, and the game file archives utilized the ZIP technique compresses, be put into the game services end and open the HTTP service and wait for downloads;
(2), utilize the SHA-1 algorithm that the SHA-1 eigenwert of the recreation archives of game client and the SHA-1 eigenwert of last step are compared, see whether mate, disregard as coupling;
(3), as not matching, game client adopts to the request of game services end and carries out multithreading based on http protocol by WEB and download and need the game file archives that upgrade;
(4), the game file archives of downloading are carried out the ZIP decompress(ion), archive files after decompress(ion) finished is put in the temporary folder that the WINDOWS system provides, archive files SHA-1 eigenwert after extracting decompress(ion) then and finishing, the eigenwert coupling whether check sends over the game services end, the repeating step if do not match (3), replace existing recreation archives as the archive files that mates after then finishing, finish renewal with decompress(ion).
Method according to the game renewal of green provided by the present invention is characterized in that, in the step (4), as download games archive files again then deletion simultaneously downloaded the archive file and the decompress(ion) archives that get off; After finishing, game renewal deletes archive file and the decompress(ion) archives of having downloaded.
The method of the game renewal of green provided by the present invention, effectively raise game renewal speed, and finished game renewal automatically, the registration table of whole renewal process inoperation WINDOWS and system sensitizing range, program itself do not produce any influence to going out the outer any file of place catalogue own.
Description of drawings
Fig. 1 is a workflow diagram of the present invention.
Embodiment
The present invention is further illustrated below in conjunction with accompanying drawing.
As shown in Figure 1, at first the problem that will solve is exactly that the recreation that how to go for out client is carried out archives and whether the resource archives are up-to-date, the present invention has selected for use the SHA-1 algorithm to come the extraction document archive feature, pass the latest document archive feature come with service end then and do contrast, just download and upgrade if find that feature does not match.
The problem that will solve is exactly the download problem of file once more, for the traffic volume of being clear network data is accomplished less relatively, the present invention has adopted the zip technology that the archive files that needs upgrade is compressed, be put into service end and open the download that the client is waited in the HTTP service, client here adopts based on http protocol carries out the game file archives that the multithreading download need be upgraded by WEB.
How green the problem that will solve be exactly the more newly downloaded archive files that gets off at last: carry out the ZIP decompress(ion), archive files after decompress(ion) finished is put in the temporary folder that the WINDOWS system provides, archive files feature after extracting decompress(ion) then and finishing, the characteristic matching whether check sends over service end, if do not match then once more download and archive file and decompress(ion) archives that deletion is downloaded, if the archive files after coupling is just finished with decompress(ion) is replaced the recreation archives that have earlier and is deleted archive file and the decompress(ion) archives of downloading, registration table and the system sensitizing range of the whole process inoperation WINDOWS that upgrades, program itself does not produce any influence to any file except that the catalogue of place own.
SHA-1 is designed to use together with DSA by NIST NSA, and less than 264 input, producing length is the hashed value of 160bit to length for it, and therefore anti-exhaustive (brute-force) property is better.SHA-1 when design based on the MD4 same principle, and imitated this algorithm.SHA-1 is the national standard by Unite States Standard (USS) Technical Board (NIST) promulgation, is a kind of hash function algorithm that is most widely used, and is used for handling responsive information by government department and private owner.ZIP compression and decompression technique are a kind of document handling methods of existing comparative maturity, repeat no more.
Claims (2)
1, a kind of method of game renewal of green may further comprise the steps:
(1), the game services end sends the SHA-1 eigenwert of recreation archives, and the game file archives utilized the ZIP technique compresses, be put into the game services end and open the HTTP service and wait for downloads;
(2), game client utilizes the SHA-1 algorithm that the SHA-1 eigenwert of recreation archives is compared with the SHA-1 eigenwert that receives, sees whether mate, disregard as coupling;
(3), as not matching, game client adopts to the request of game services end and carries out multithreading based on http protocol by WEB and download and need the game file archives that upgrade;
(4), the game file archives of downloading are carried out the ZIP decompress(ion), archive files after decompress(ion) finished is put in the temporary folder that the WINDOWS system provides, archive files SHA-1 eigenwert after extracting decompress(ion) then and finishing, the eigenwert coupling whether check sends over the game services end, the repeating step if do not match (3), replace existing recreation archives as the archive files that mates after then finishing, finish renewal with decompress(ion).
2, the method for the game renewal of green according to claim 1 is characterized in that, in the step (4), as download games archive files again then deletion simultaneously downloaded the archive file and the decompress(ion) archives that get off; After finishing, game renewal then deletes archive file and the decompress(ion) archives of having downloaded.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200710048238 CN101008902A (en) | 2007-01-12 | 2007-01-12 | Method of game update |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200710048238 CN101008902A (en) | 2007-01-12 | 2007-01-12 | Method of game update |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101008902A true CN101008902A (en) | 2007-08-01 |
Family
ID=38697346
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200710048238 Pending CN101008902A (en) | 2007-01-12 | 2007-01-12 | Method of game update |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101008902A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101262493B (en) * | 2008-01-14 | 2011-10-05 | 深圳市深信服电子科技有限公司 | Method for accelerating inter-network data transmission via stream buffer |
CN102447739A (en) * | 2011-11-18 | 2012-05-09 | 湖南赛格导航技术研究有限公司 | Data transmission method and system |
CN101656751B (en) * | 2008-08-18 | 2012-05-30 | 北京数码大方科技有限公司 | Method and system for accelerating file uploading and downloading |
CN103841181A (en) * | 2014-01-24 | 2014-06-04 | 东蓝数码股份有限公司 | Local area network multi-threading file transmission method |
CN106293724A (en) * | 2016-08-04 | 2017-01-04 | 北京白鹭时代信息技术有限公司 | A kind of many game managements and edition control method and device |
-
2007
- 2007-01-12 CN CN 200710048238 patent/CN101008902A/en active Pending
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101262493B (en) * | 2008-01-14 | 2011-10-05 | 深圳市深信服电子科技有限公司 | Method for accelerating inter-network data transmission via stream buffer |
CN101656751B (en) * | 2008-08-18 | 2012-05-30 | 北京数码大方科技有限公司 | Method and system for accelerating file uploading and downloading |
CN102447739A (en) * | 2011-11-18 | 2012-05-09 | 湖南赛格导航技术研究有限公司 | Data transmission method and system |
CN103841181A (en) * | 2014-01-24 | 2014-06-04 | 东蓝数码股份有限公司 | Local area network multi-threading file transmission method |
CN106293724A (en) * | 2016-08-04 | 2017-01-04 | 北京白鹭时代信息技术有限公司 | A kind of many game managements and edition control method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6216175B1 (en) | Method for upgrading copies of an original file with same update data after normalizing differences between copies created during respective original installations | |
CN103942058B (en) | A kind of EMBEDDED AVIONICS method for upgrading software and system | |
US10423585B2 (en) | Method and device for making differential upgrade package, and method and device for system differential upgrading | |
EP2524307B1 (en) | Operating system auto-update procedure | |
CN103678319B (en) | Resource file update method, device and system and server | |
CN101110788B (en) | Method and system for updating client software | |
EP2857965B1 (en) | Method and device for generating firmware over-the-air upgrade package | |
MXPA05006614A (en) | System and method for updating files utilizing delta compression patching. | |
CN101453418B (en) | Updating method for synchronization between customer terminal and server | |
CN107809324A (en) | A kind of OBD equipment and its upgrade method | |
CN101008902A (en) | Method of game update | |
CN107239288B (en) | Version upgrading method and device for mobile terminal | |
CN106528086A (en) | Method and system for upgrading Android software | |
CN102223380B (en) | Client terminal automatic updating frame based on Webservice and application thereof | |
CN104391728A (en) | Software upgrading delta pack acquiring method, corresponding upgrading method and device | |
JP2009536395A (en) | Information upgrade system and method of OTA-capable terminal {INFORMATIONUPGRADESYSTEMSYSTEMMETHODFORMATA-CAPABLEDEVICE} | |
CN103002024A (en) | Application program upgrade system and application program upgrade method | |
EP1733580A1 (en) | Updating of the preferred roaming list (prl) in a sim (subscriber identity module) / ruim (removable user identity module) card. | |
CN108089874A (en) | Upgrade method, the device and system of software | |
CN107203379B (en) | A kind of preset, the installation method of Android customized application APP | |
CN103218242A (en) | Method of automatic update | |
CN105183496A (en) | Method for automatically upgrading and pushing software based on domestic CPU and operating system | |
US20210349710A1 (en) | Software update agent device and software patching method through the same | |
CN109558161A (en) | Upgrade packet processing method, device and OTA cloud server | |
CN110870287A (en) | Over-the-air (OTA) update of partially compressed firmware |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |