CN105573783A - Game client version updating method - Google Patents
Game client version updating method Download PDFInfo
- Publication number
- CN105573783A CN105573783A CN201510921260.7A CN201510921260A CN105573783A CN 105573783 A CN105573783 A CN 105573783A CN 201510921260 A CN201510921260 A CN 201510921260A CN 105573783 A CN105573783 A CN 105573783A
- Authority
- CN
- China
- Prior art keywords
- file
- file list
- server
- list
- consistent
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
Abstract
The invention discloses a game client version updating method, which comprises the following steps: (1) downloading a file list in a server, judging whether a current client is the latest client or not, if not, going to the step (2), and if so, not carrying out updating; (2) reading one file in the file list of the server, judging whether the file which is consistent with the file in name exists in a local file list or not, if so, going to the step (3), and if not, downloading the file adding the file to the local file list after downloading is ended; and (3) judging whether the files with consistent names are consistent in size or not, if so, not updating the file, and if not, downloading the file in the file list of the server. Compared with the prior art, the game client version updating method has higher efficiency.
Description
Technical field
The present invention relates to a kind of game client method for updating edition, belong to game operation support field.
Background technology
In various game operation, client release renewal is a very basic link, revises leak, improves player experience, increase game content by frequent updating version, improves game stability.Existing update method is that whole bag upgrades, and efficiency is lower.
Summary of the invention
In order to solve the problems of the technologies described above, the invention provides a kind of game client method for updating edition.
In order to achieve the above object, the technical solution adopted in the present invention is:
A kind of game client method for updating edition, comprises the following steps,
Step one, the listed files in Download Server, judges whether active client is up-to-date client, if not, then go to step two, if so, then do not upgrade;
Step 2, reads a file in server file list, judges whether there is the file consistent with this file name in local file list, if existed, then go to step three, if there is no, then download this file, after having downloaded, in local file list, add this file;
Step 3, judges that whether the size of the file that two titles are consistent is consistent, if so, does not then upgrade this file; This file in then Download Server listed files.
All version number is comprised in server file list and local file list.
If the version number in server file list is identical with the version number in local file list, then judges that active client is as up-to-date client, otherwise be not up-to-date client, need upgrade.
Download file adopts multithreading downloading mode.
After renewal terminates, the unnecessary file in Delete Local File list;
Detailed process is,
Read a file in local file list, judge whether there is the file consistent with this file name in server file list, if existed, then do not delete, if there is no, then delete this file.
After unnecessary file in Delete Local File list, delete the server file list of downloading.
The beneficial effect that the present invention reaches: the present invention compared with prior art efficiency is higher.
Embodiment
Following examples only for technical scheme of the present invention is clearly described, and can not limit the scope of the invention with this.
A kind of game client method for updating edition, comprises the following steps:
Step one, the listed files in Download Server, judges whether active client is up-to-date client, if not, then go to step two, if so, then do not upgrade.
All version number is comprised in server file list and local file list, if the version number in server file list is identical with the version number in local file list, then judge that active client is as up-to-date client, otherwise be not up-to-date client, need upgrade.
Step 2, reads a file in server file list, judges whether there is the file consistent with this file name in local file list, if existed, then go to step three, if there is no, then download this file, after having downloaded, in local file list, add this file.
Step 3, judges that whether the size of the file that two titles are consistent is consistent, if so, does not then upgrade this file; This file in then Download Server listed files.
Above-mentioned download file adopts multithreading downloading mode.
After renewal terminates, the unnecessary file in first Delete Local File list, then deletes the server file list of download.
The detailed process of the unnecessary file in Delete Local File list is: read a file in local file list, judge whether there is the file consistent with this file name in server file list, if existed, then do not delete, if there is no, then this file is deleted.
In sum, above-mentioned game client method for updating edition existing technology phase specific efficiency is higher.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the prerequisite not departing from the technology of the present invention principle; can also make some improvement and distortion, these improve and distortion also should be considered as protection scope of the present invention.
Claims (6)
1. a game client method for updating edition, is characterized in that: comprise the following steps,
Step one, the listed files in Download Server, judges whether active client is up-to-date client, if not, then go to step two, if so, then do not upgrade;
Step 2, reads a file in server file list, judges whether there is the file consistent with this file name in local file list, if existed, then go to step three, if there is no, then download this file, after having downloaded, in local file list, add this file;
Step 3, judges that whether the size of the file that two titles are consistent is consistent, if so, does not then upgrade this file; This file in then Download Server listed files.
2. a kind of game client method for updating edition according to claim 1, is characterized in that: all comprise version number in server file list and local file list.
3. a kind of game client method for updating edition according to claim 2, it is characterized in that: if the version number in server file list is identical with the version number in local file list, then judge that active client is as up-to-date client, otherwise be not up-to-date client, need upgrade.
4. a kind of game client method for updating edition according to claim 1, is characterized in that: download file adopts multithreading downloading mode.
5. a kind of game client method for updating edition according to claim 1, is characterized in that: after renewal terminates, the unnecessary file in Delete Local File list;
Detailed process is,
Read a file in local file list, judge whether there is the file consistent with this file name in server file list, if existed, then do not delete, if there is no, then delete this file.
6. a kind of game client method for updating edition according to claim 5, is characterized in that: after the unnecessary file in Delete Local File list, deletes the server file list of downloading.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510921260.7A CN105573783A (en) | 2015-12-14 | 2015-12-14 | Game client version updating method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510921260.7A CN105573783A (en) | 2015-12-14 | 2015-12-14 | Game client version updating method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105573783A true CN105573783A (en) | 2016-05-11 |
Family
ID=55883958
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510921260.7A Pending CN105573783A (en) | 2015-12-14 | 2015-12-14 | Game client version updating method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105573783A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106293823A (en) * | 2016-08-04 | 2017-01-04 | 北京白鹭时代信息技术有限公司 | A kind of game accelerator automatic heating updates and loading method and device |
CN106708539A (en) * | 2017-01-25 | 2017-05-24 | 腾讯科技(深圳)有限公司 | Client updating method and device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101859250A (en) * | 2009-04-07 | 2010-10-13 | 盛趣信息技术(上海)有限公司 | Online game client system |
CN102053853A (en) * | 2010-12-30 | 2011-05-11 | 北京像素软件科技股份有限公司 | Version updating method of online game |
-
2015
- 2015-12-14 CN CN201510921260.7A patent/CN105573783A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101859250A (en) * | 2009-04-07 | 2010-10-13 | 盛趣信息技术(上海)有限公司 | Online game client system |
CN102053853A (en) * | 2010-12-30 | 2011-05-11 | 北京像素软件科技股份有限公司 | Version updating method of online game |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106293823A (en) * | 2016-08-04 | 2017-01-04 | 北京白鹭时代信息技术有限公司 | A kind of game accelerator automatic heating updates and loading method and device |
CN106708539A (en) * | 2017-01-25 | 2017-05-24 | 腾讯科技(深圳)有限公司 | Client updating method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103402194B (en) | A kind of method recommending software when software upgrading and realize the system of the method | |
ES2936338T3 (en) | Mobile terminal and widget sharing software product | |
CN102053853A (en) | Version updating method of online game | |
JP2016517051A5 (en) | ||
CN104066077A (en) | OTA downloading and upgrading method and device thereof | |
CN104539696A (en) | Client end incremental updating method and system | |
CN106302753A (en) | The method and system of client-side program incremental update | |
CN105573783A (en) | Game client version updating method | |
WO2009048894A3 (en) | Managing updates to create a virtual machine facsimile | |
WO2016058350A1 (en) | Base station software version management method and device | |
CN105677410A (en) | Method for downloading test program through server | |
CN105867988A (en) | Method and system for Android App hot update based on Hook technology | |
CN102063494A (en) | Database synchronizing method and device | |
CN103713926B (en) | Method and system for updating software of client in advance | |
CN106648759A (en) | Common programming device firmware updating method | |
CN105760183A (en) | File processing method, device, and communication system | |
CN104915234B (en) | A kind of Android mobile terminal upgrading report method and system | |
WO2015196623A1 (en) | Incremental upgrade method and system for file | |
CN104572212A (en) | Terminal updating system and updating method thereof | |
CN105068826B (en) | The method and device that a kind of pair of navigation data is updated | |
US9730095B2 (en) | System and method for reducing mobile network signaling | |
CN103699404B (en) | A kind of method of the corresponding multiple prefabricated application programs of same movement different type of machines | |
CN105183797A (en) | Substation file management and control method based on IEC61850 file service | |
CN102647478A (en) | Automatic updating method for electronic name card, server and system | |
CN104836842A (en) | Method and device for synchronizing FTP server files |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160511 |