CN101179424A - Method and system for updating network client terminal - Google Patents
Method and system for updating network client terminal Download PDFInfo
- Publication number
- CN101179424A CN101179424A CNA2006101607498A CN200610160749A CN101179424A CN 101179424 A CN101179424 A CN 101179424A CN A2006101607498 A CNA2006101607498 A CN A2006101607498A CN 200610160749 A CN200610160749 A CN 200610160749A CN 101179424 A CN101179424 A CN 101179424A
- Authority
- CN
- China
- Prior art keywords
- client
- version number
- version
- upgrading message
- probability
- 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
Abstract
The invention discloses a method for updating a network client, which comprises the processes that: A. after a version server receives the version number that the client sends, the version server sends the upgrade message to the client according to the first probability which the version number corresponds to; B. the client is upgraded according to the received upgrade message. The problem existing in the prior art that the simultaneous upgrade of a large amount of the clients increases the load capacity of the version server is solved through the invention. The invention simultaneously discloses a system for updating the network client.
Description
Technical field
The present invention relates to the network application technical field, particularly a kind of method and system of updating network client terminal.
Background technology
At present, along with networks development, many network application softwares have appearred.These network application softwares provide various long-term services, and great majority also provide on-line automatic more new tool.
More typical network application software has: anti-viral software, anti-Trojan software, online game and instant communication software or the like.For example: massively multiplayer game, the life period of this software generally are 3 to 5 years, in order to keep and attract more user here, need constantly to release new game content during this, and repair the defective in the recreation, improve the function of recreation.Therefore, need constantly to carry out the automatic renewal of game client during this.
In the prior art, the function that client is upgraded automatically is generally all fairly simple: client is connected on the corresponding version server, version server is checked user client, if find it is not latest edition, then provide a download address to client, client is downloaded up-to-date Data Update bag by this address; After client downloads is finished, install automatically, installation, then client upgrades to the client of latest edition.
The method of above-mentioned Client Auto Update, as long as redaction is arranged, the user of all logging on client will download new packet, carries out the upgrading of version.General massively multiplayer game, it is millions of that the user reaches, at one time in, a large amount of client login version servers are upgraded, thereby have strengthened the bearing capacity of version server, have increased the cost that version server is safeguarded.Simultaneously, also have certain customers because network bandwidth deficiency, cause upgrading failure or waits for too long and abandon.In addition, in the redaction client, also may have serious defective, if the user pinpoints the problems after upgrading, client developer issues new version with regard to the problem that necessary emergency repair occurs.This just means that previous round upgrades failure, and all users need to upgrade automatically once more, must cause user's a large amount of complaints and loss like this.So there is very high commercial risks in each more new capital.
Total the above, the method for client upgrading at present can not be controlled flexibly to updating time and mode, has so just strengthened the bearing capacity of version server, has increased the risk that the cost safeguarded and redaction are issued.
Summary of the invention
The invention provides a kind of method and system of updating network client terminal, upgrade at one time, strengthened the problem of version server bearing capacity in order to solve a large amount of clients of existing in the prior art.
The inventive method comprises:
The corresponding relation of version number and transmission upgrading message first probability is set in version server,
A, after version server is received the version number that client sends, according to described version number with send the corresponding relation of upgrading message first probability, obtain pairing first probability of this version number, send upgrading message to client;
B, client are upgraded according to described upgrading message.
This method further comprises:
In version server, the corresponding relation of version number and transmission upgrading message second probability is set,
Then after version server is received the version number of client transmission, further comprise:
Judge whether contain service server sign ID in this version number, if do not have, execution in step A then, otherwise, according to pairing second probability of version number, send upgrading message to client, and execution in step B.
Service server ID is obtained according to following mode by described client:
A1, described client send log messages to service server after connecting service server;
After A2, described service server are received log messages, send the login success message that comprises self ID to client.
Step B comprises:
After client is received upgrading message, check local whether preserve with described upgrading message in the identical file of version number, if having, then the client file that current this locality is being moved according to the file of being preserved is upgraded; Otherwise, upgrade according to upgrading message.
If client comprises service server ID in the steps A in the version number that version server sends, then step B further comprises: after the client file that current this locality is being moved according to the file of being preserved or upgrading message is upgraded, be connected to the pairing service server of above-mentioned service server ID.
If the local fileversion number of preserving is different with the fileversion number in the upgrading message, before obtaining and upgrade file is installed, further comprise:
Show whether upgrade to the user,, then obtain and install upgrade file if the user selects upgrading, otherwise, finish.
A kind of updating network client terminal system, this system comprises:
Version server is used for after receiving the version number that client sends, and the corresponding relation according to version number that preserves and transmission upgrading message first probability obtains pairing first probability of this version number, sends upgrading message to client;
Client is used for sending version number to version server, and upgrades according to described upgrading message.
Described version server is further used for:
After receiving the version number that client sends, judge and whether contain service server ID in this version number, if do not have, then send upgrading message to client according to pairing first probability of this version number, otherwise, corresponding relation according to version number that preserves and transmission upgrading message second probability obtains pairing second probability of this version number, sends upgrading message to client.
A kind of version server, this version server comprises:
Memory module is used for storage version number and sends the corresponding relation of upgrading message first probability;
Control module, after being used to receive the version number of client transmission, the corresponding relation according to described version number and transmission upgrading message first probability obtains pairing first probability of this version number, sends upgrading message to client.
Described memory module also is further used for storage version number and sends the corresponding relation of upgrading message second probability;
Described control module, be used for after receiving the version number that client sends, judge and whether contain service server ID in this version number, if do not have, then send upgrading message to client according to pairing first probability of this version number, otherwise, according to the corresponding relation of version number that preserves and transmission upgrading message second probability, obtain pairing second probability of this version number, send upgrading message to client.
The present invention is by being provided with different upgrading probability to different version numbers in version server, the problem of having avoided a large amount of clients to upgrade at one time, thereby reduced the bearing capacity of version server and the risk of redaction issue, reduced maintenance cost.
Description of drawings
The structured flowchart that Fig. 1 forms for updating network client terminal of the present invention system;
Fig. 2 is for realizing the schematic flow sheet of the inventive method;
Fig. 3 is the schematic flow sheet of the embodiment of the invention one;
Fig. 4 is the schematic flow sheet of the embodiment of the invention two.
Embodiment
Upgrade at one time at present a large amount of clients, strengthened the problem of version server bearing capacity, the present invention is by being provided with different upgrading probability to different version numbers in version server, thereby solved the problems referred to above.
The structured flowchart that Fig. 1 forms for updating network client terminal of the present invention system.As shown in Figure 1, the updating network client terminal system comprises: client 10, service server 20 and version server 30.
Client 10, be connected with version server 30 with service server 20, be used for upgrading: send version number to version server 30 according to the upgrading message that the version server of receiving 30 sends, and after receiving upgrading message, check the local file identical of whether preserving with version number in the upgrading message, if have, then the client file that current this locality is being moved according to the file of preserving is upgraded, and restarts; Otherwise, preserve the client file of the same names of moving current this locality according to the filename in the upgrade file tabulation in the upgrading message, and obtain, install upgrade file, restart; With after service server 20 is connected, send log messages to service server 20, after receiving the login success message that comprises service server ID of service server 20 transmissions, send the version number that comprises service server ID to version server 30, after receiving upgrading message, check the local file identical of whether preserving with the version number in the upgrading message, if have, then the client file that current this locality is being moved according to the client file of this version number that preserves is upgraded, and reconnects on the service server ID corresponding service server 20; Otherwise, show whether upgrade to the user, if the user selects upgrading, preserve the client file of the same names of moving current this locality according to the filename in the upgrade file tabulation in the upgrading message, and obtain, install upgrade file, reconnect on the service server ID corresponding service server 20.
The client file that client 10 is being moved current this locality according to the client file of preserving identical with version number in the upgrading message upgrades and comprises: find current this locality identical client file of title with client file this version number that preserves that moving, and the current client file that is moving that will find replaces to the client file of this version number of preservation.
Service server 20 is connected with client 10, is used for sending the login success message that comprises self ID to client 10 after receiving the log messages that client 10 sends.
Version server 30 is connected with client 10, and the corresponding relation that is used to that version number is set and sends upgrading message first probability after receiving the version number that client 10 sends, according to pairing first probability of this version number, sends upgrading message to client 10.
Version server 30 also comprises:
At least comprise in the upgrading message: version number, upgrade file tabulation and upgrading address or upgrade file.
Version number that version server 30 is provided with and the first probability corresponding relation that sends upgrading message comprise:
If the top version number that the version number of receiving equals to preserve, then the probability that sends upgrading message to client 10 is 0;
If the version number of receiving is less than the minimum version of preserving number, then the probability that sends upgrading message to client 10 is 100%.
Version number that version server 30 is provided with and the second probability corresponding relation that sends upgrading message comprise:
If the top version number that the version number of receiving equals to preserve, then the probability that sends upgrading message to client 10 is 0;
If the top version number of the service server ID correspondence that the version number of receiving equals to preserve, then the probability that sends upgrading message to client 10 is 0;
If the version number of receiving is less than the minimum version of the service server ID correspondence of preserving number, then the probability that sends upgrading message to client 10 is 100%.
After version server 30 had been determined the probability of version number's correspondence of the client 10 received, the integer of one 1 to 100 of version number was given in Random assignment, if this integer in the probable value of correspondence, then sends upgrading message to client 10; Otherwise, do not carry out upgrading message to the client transmission.
Fig. 2 is for realizing the schematic flow sheet of the inventive method.As shown in Figure 2, the inventive method comprises the following steps:
Fig. 3 is the schematic flow sheet of the embodiment of the invention one.As shown in Figure 3, present embodiment one comprises the following steps:
Send the version number of self behind step 300, the client terminal start-up to version server.
After step 301, version server are received version number, judge service server ID whether contained in this version number,, then jump out this flow process if having; Otherwise compare with the top version number of preserving, if the version number of receiving less than the top version number of preserving, then execution in step 304; Otherwise, execution in step 302.
After step 307, client are received upgrading message, check the version number identical with the version number in the upgrading message that whether have of local preservation, if having, then execution in step 310; Otherwise, execution in step 308.
Upgrade file is obtained and installed to step 309, client, restarts.
When containing the upgrading address of version number in the upgrading message,, download and install upgrade file according to the upgrading address;
When containing the upgrade file of version number in the upgrading message, upgrade file is installed directly.
Fig. 4 is the schematic flow sheet of the embodiment of the invention two.As shown in Figure 4, present embodiment two comprises the following steps:
After step 400, client connect service server, send log messages to service server.
After step 401, service server are received this login message, send the login success message that comprises self ID to client.
After step 402, client receive that this lands success message, send self version number that comprises this service server ID to version server.
After step 403, version server are received version number, judge service server ID whether contained in this version number,, then jump out this flow process if do not have; Otherwise, the top version number of this version number and preservation is compared, if the version number of receiving less than the top version number of preserving, then execution in step 406; Otherwise, execution in step 404.
After step 410, client are received upgrading message, check the version number identical with the version number in the upgrading message that whether have of local preservation, if having, then execution in step 411; Otherwise, execution in step 412.
Upgrade file is obtained and installed to step 415, client, signs in to again on the service server ID corresponding service server.
When containing the upgrading address of version number in the upgrading message,, download and install upgrade file according to the upgrading address;
When containing the upgrade file of version number in the upgrading message, and upgrade file is installed directly.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.
Claims (10)
1. the method for a updating network client terminal is characterized in that, the corresponding relation of version number and transmission upgrading message first probability is set in version server, and this method comprises:
A, after version server is received the version number that client sends, according to described version number with send the corresponding relation of upgrading message first probability, obtain pairing first probability of this version number, send upgrading message to client;
B, client are upgraded according to described upgrading message.
2. the method for claim 1 is characterized in that, this method further comprises:
In version server, the corresponding relation of version number and transmission upgrading message second probability is set,
Then after version server is received the version number of client transmission, further comprise:
Judge whether contain service server sign ID in this version number, if do not have, execution in step A then, otherwise, according to pairing second probability of version number, send upgrading message to client, and execution in step B.
3. method as claimed in claim 2 is characterized in that, service server ID is obtained according to following mode by described client:
A1, institute's client send log messages to service server after connecting service server;
After A2, described service server are received log messages, send the login success message that comprises self ID to client.
4. the method for claim 1 is characterized in that, step B comprises:
After client is received upgrading message, check local whether preserve with described upgrading message in the identical file of version number, if having, then the client file that current this locality is being moved according to the file of being preserved is upgraded; Otherwise, upgrade according to upgrading message.
5. method as claimed in claim 4, it is characterized in that, if client comprises service server ID in the steps A in the version number that version server sends, then step B further comprises: after the client file that current this locality is being moved according to the file of being preserved or upgrading message is upgraded, be connected to the pairing service server of above-mentioned service server ID.
6. method as claimed in claim 5 is characterized in that, if the local fileversion number of preserving is different with the fileversion number in the upgrading message, before obtaining and upgrade file is installed, further comprises:
Show whether upgrade to the user,, then obtain and install upgrade file if the user selects upgrading, otherwise, finish.
7. a updating network client terminal system is characterized in that, this system comprises:
Version server is used for after receiving the version number that client sends, and the corresponding relation according to version number that preserves and transmission upgrading message first probability obtains pairing first probability of this version number, sends upgrading message to client;
Client is used for sending version number to version server, and upgrades according to described upgrading message.
8. system as claimed in claim 7 is characterized in that, described version server is further used for:
After receiving the version number that client sends, judge and whether contain service server ID in this version number, if do not have, then send upgrading message to client according to pairing first probability of this version number, otherwise, corresponding relation according to version number that preserves and transmission upgrading message second probability obtains pairing second probability of this version number, sends upgrading message to client.
9. a version server is characterized in that, this version server comprises:
Memory module is used for storage version number and sends the corresponding relation of upgrading message first probability;
Control module, after being used to receive the version number of client transmission, the corresponding relation according to described version number and transmission upgrading message first probability obtains pairing first probability of this version number, sends upgrading message to client.
10. server as claimed in claim 9 is characterized in that, described memory module also is further used for storage version number and sends the corresponding relation of upgrading message second probability;
Described control module, be used for after receiving the version number that client sends, judge and whether contain service server ID in this version number, if do not have, then send upgrading message to client according to pairing first probability of this version number, otherwise, according to the corresponding relation of version number that preserves and transmission upgrading message second probability, obtain pairing second probability of this version number, send upgrading message to client.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2006101607498A CN101179424B (en) | 2006-11-29 | 2006-11-29 | Method and system for updating network client terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2006101607498A CN101179424B (en) | 2006-11-29 | 2006-11-29 | Method and system for updating network client terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101179424A true CN101179424A (en) | 2008-05-14 |
CN101179424B CN101179424B (en) | 2010-09-08 |
Family
ID=39405524
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2006101607498A Active CN101179424B (en) | 2006-11-29 | 2006-11-29 | Method and system for updating network client terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101179424B (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102262544A (en) * | 2010-05-24 | 2011-11-30 | 腾讯科技(深圳)有限公司 | Method and device for upgrading software |
CN102541596A (en) * | 2011-12-22 | 2012-07-04 | 中标软件有限公司 | Operating system upgrading method and device |
CN102624771A (en) * | 2011-08-05 | 2012-08-01 | 北京小米科技有限责任公司 | Client upgrading method |
CN101778097B (en) * | 2009-11-25 | 2013-11-06 | 中兴通讯股份有限公司 | Network updating method and system and main service side used for realizing network upgrade |
CN103401718A (en) * | 2013-08-08 | 2013-11-20 | 天津恒达文博科技有限公司 | Method and device for wireless setting of equipment |
CN103488773A (en) * | 2013-09-25 | 2014-01-01 | 天脉聚源(北京)传媒科技有限公司 | Website data acquiring method and device |
CN104598261A (en) * | 2013-10-30 | 2015-05-06 | 三星Sds株式会社 | Apparatus and method of executing update, recording medium using the same, and server and method of providing update |
CN105721450A (en) * | 2016-01-27 | 2016-06-29 | 网易(杭州)网络有限公司 | Method, device and system for logging in network game |
CN107172060A (en) * | 2017-06-06 | 2017-09-15 | 武汉票据交易中心有限公司 | A kind of login method of client container |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105528205A (en) * | 2015-11-30 | 2016-04-27 | 用友优普信息技术有限公司 | Update control method and update control system |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1184772C (en) * | 2002-04-30 | 2005-01-12 | 华为技术有限公司 | Method of configuration and upgrade of network apparatus in communication system |
TW200535697A (en) * | 2004-04-30 | 2005-11-01 | Hon Hai Prec Ind Co Ltd | System and method for automatic updating program |
CN1777333B (en) * | 2005-12-22 | 2010-12-29 | 北京邮电大学 | Random access scheme for communication system |
-
2006
- 2006-11-29 CN CN2006101607498A patent/CN101179424B/en active Active
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101778097B (en) * | 2009-11-25 | 2013-11-06 | 中兴通讯股份有限公司 | Network updating method and system and main service side used for realizing network upgrade |
CN102262544B (en) * | 2010-05-24 | 2016-06-08 | 腾讯科技(深圳)有限公司 | The method and apparatus of software upgrading |
CN102262544A (en) * | 2010-05-24 | 2011-11-30 | 腾讯科技(深圳)有限公司 | Method and device for upgrading software |
CN102624771A (en) * | 2011-08-05 | 2012-08-01 | 北京小米科技有限责任公司 | Client upgrading method |
CN102624771B (en) * | 2011-08-05 | 2015-10-28 | 小米科技有限责任公司 | A kind of method of client upgrading |
CN102541596A (en) * | 2011-12-22 | 2012-07-04 | 中标软件有限公司 | Operating system upgrading method and device |
CN103401718A (en) * | 2013-08-08 | 2013-11-20 | 天津恒达文博科技有限公司 | Method and device for wireless setting of equipment |
CN103488773A (en) * | 2013-09-25 | 2014-01-01 | 天脉聚源(北京)传媒科技有限公司 | Website data acquiring method and device |
CN104598261A (en) * | 2013-10-30 | 2015-05-06 | 三星Sds株式会社 | Apparatus and method of executing update, recording medium using the same, and server and method of providing update |
CN104598261B (en) * | 2013-10-30 | 2018-07-31 | 三星Sds株式会社 | It updates executive device and method, update provides server and update providing method |
CN105721450A (en) * | 2016-01-27 | 2016-06-29 | 网易(杭州)网络有限公司 | Method, device and system for logging in network game |
CN105721450B (en) * | 2016-01-27 | 2020-01-21 | 网易(杭州)网络有限公司 | Method, device and system for logging in online game |
CN107172060A (en) * | 2017-06-06 | 2017-09-15 | 武汉票据交易中心有限公司 | A kind of login method of client container |
CN107172060B (en) * | 2017-06-06 | 2020-03-17 | 武汉票据交易中心有限公司 | Login method of client container |
Also Published As
Publication number | Publication date |
---|---|
CN101179424B (en) | 2010-09-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101179424B (en) | Method and system for updating network client terminal | |
US8170540B2 (en) | System and methods for remotely upgrading software applications | |
CN103841155B (en) | A kind of method for downloading software and software download device | |
US7818405B2 (en) | Method and system for providing device-initiated software upgrades | |
CN101951400B (en) | Software installation and upgrading method of application terminal in home network and system thereof | |
CN100435567C (en) | Separate-type signal processing apparatus and software version updating method thereof | |
CN1361634A (en) | Method for processing information in honeycomb base station system | |
CN101241364B (en) | Local controller, remote management controller and method for automatically updating the local controller of an air conditioner system | |
CN101222363A (en) | IP access gate batch upgrading system and method | |
CN102065110A (en) | On-line updating method and system for client side software on basis of P2SP (Peer to Server and to Peer) | |
CN104410665B (en) | A kind of method for down loading and equipment upgrading bag | |
KR20040004035A (en) | Application catalog on an application server for wireless devices | |
CN106790679B (en) | Method for downloading application resource package, server and terminal | |
CN101860545A (en) | System and method for implementing automatic configuration of equipment | |
CN103678319A (en) | Resource file updating method, device and system and server | |
CN105517015A (en) | Upgrading method, device of wifi product by over the air OTA and terminal | |
CN102291424A (en) | Vehicle-mounted GPRS (general packet radio service) communication system with FTP (file transfer protocol) remote wireless upgrading function and method thereof | |
CN105721941A (en) | Over-the-air upgrading control method and device of cloud television | |
EP2178252A1 (en) | Method for sharing community network service information | |
CN105138105A (en) | Power-saving processing method and device, mobile terminal and cloud server | |
CN106470227B (en) | A kind of configuration method and device of OTA upgrade package | |
CN101330510A (en) | Method, system, server and client for distributing down directory tree data | |
CN106550022A (en) | A kind of application program distributes control process method and system | |
CN108874410B (en) | Patch management method and device | |
CN104410721B (en) | The method and system of caching automatically are supported according to update content |
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 |