CN105279436A - Software updating method and system - Google Patents

Software updating method and system Download PDF

Info

Publication number
CN105279436A
CN105279436A CN201410267532.1A CN201410267532A CN105279436A CN 105279436 A CN105279436 A CN 105279436A CN 201410267532 A CN201410267532 A CN 201410267532A CN 105279436 A CN105279436 A CN 105279436A
Authority
CN
China
Prior art keywords
software
updated
file
user terminal
download
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
CN201410267532.1A
Other languages
Chinese (zh)
Other versions
CN105279436B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410267532.1A priority Critical patent/CN105279436B/en
Publication of CN105279436A publication Critical patent/CN105279436A/en
Application granted granted Critical
Publication of CN105279436B publication Critical patent/CN105279436B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a software updating method comprising the following steps: a business server obtains update information of to-be updated software, and pushes the update information of to-be updated software to a social network group related with the to-be updated software; a user terminal obtains the update information from the social network group, and version number and file version information of the to-be updated software on the user terminal can be obtained according to the update information; the user terminal sends an update request to an update server according to the version number and file version information of the to-be updated software; the update server sends a corresponding update configuration file to the user terminal according to the update request; the user terminal updates the to-be updated software according to the update configuration file. The invention also discloses a software update system; the update information can be pushed with unity, thus ensuring software patch update timeliness, and improving software usage security.

Description

Oftware updating method and system
Technical field
The present invention relates to networking technology area, particularly relate to Oftware updating method and system.
Background technology
Along with the development of network technology, the computer of user is provided with application software miscellaneous, as various game and various system softwares etc.
As everyone knows, existing software developer, when developing software, usually there is unforeseen leak, and these leaks progressively comes out when software application.Leak for this software at official's Web realease patch file, for user's download patches file, thus is repaired the leak of software, is improved the security of software application by software developer.But due to the official website that user needs initiatively access software, the lastest imformation of patch file could be obtained, therefore cause the renewal of application software not in time, cannot patching bugs in time, thus cause software in use, there is risk.
Summary of the invention
The fundamental purpose of the embodiment of the present invention is to provide a kind of Oftware updating method and system, is intended to realize the unified of lastest imformation and pushes, ensure the promptness that software patch upgrades, improve the security of software application.
For achieving the above object, embodiments provide a kind of Oftware updating method, comprise the following steps:
Service server obtains the lastest imformation of software to be updated, and the lastest imformation of software to be updated is pushed to the social networks group with described software context to be updated;
User terminal obtains described lastest imformation from described social networks group, obtains version number and the file version information of software to be updated on described user terminal according to described lastest imformation;
Described user terminal sends according to the version number of described software to be updated and file version information and updates request to update server;
Described update server sends corresponding Reconfigurations file to described user terminal according to described update request; Described Reconfigurations file comprises the information of each patch file in the package informatin of download package and each download package;
Described user terminal carries out update process according to described Reconfigurations file to described software to be updated.
Further, the embodiment of the present invention additionally provides a kind of software update system, comprises service server, user terminal and update server, wherein,
The lastest imformation of software to be updated for obtaining the lastest imformation of software to be updated, and is pushed to the social networks group with described software context to be updated by described service server;
User terminal is used for obtaining described lastest imformation from described social networks group, obtains version number and the file version information of software to be updated on described user terminal according to described lastest imformation; And send according to the version number of described software to be updated and file version information and update request to update server;
Described update server is also for sending corresponding Reconfigurations file to described user terminal according to described update request; Described Reconfigurations file comprises the information of each patch file in the package informatin of download package and each download package;
Described user terminal is also for carrying out update process according to described Reconfigurations file to described software to be updated.
The lastest imformation of software to be updated is pushed to the social networks group with described software context to be updated by service server by the present invention, when user terminal gets this lastest imformation by this social networks group, scanning obtains version number and the file version information of software to be updated on user terminal, and this version number and file version information are sent to update server, push a Reconfigurations file to user terminal by this update server, thus user terminal is upgraded according to Reconfigurations file.Because the present invention unifies to push by adopting the lastest imformation of social networks group to software, thus ensure that the promptness that user terminal upgrades software patch, improve the security of the use of software.In addition, the notice concentrated more easily forms the buildup effect of p2p, is conducive to promoting that user upgrades the formation of p2p among a small circle.The upgrading of software simultaneously upgrades, and does not need to install upgrading device corresponding to multiple software, can adopt the solution that general.
Accompanying drawing explanation
Fig. 1 is the communication structure schematic diagram of software update system first embodiment of the present invention;
Fig. 2 be in software update system of the present invention user terminal by social networks group receive lastest imformation time examples of interfaces figure;
Fig. 3 is the schematic flow sheet of Oftware updating method first embodiment of the present invention;
Fig. 4 is the schematic flow sheet of Oftware updating method second embodiment of the present invention;
Fig. 5 is the schematic flow sheet of Oftware updating method of the present invention 3rd embodiment;
Fig. 6 is the schematic flow sheet of Oftware updating method of the present invention 4th embodiment;
Fig. 7 is the schematic flow sheet of Oftware updating method of the present invention 5th embodiment.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further with reference to accompanying drawing.
Embodiment
Technical scheme of the present invention is further illustrated below in conjunction with Figure of description and specific embodiment.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
The present invention proposes a kind of software update system.With reference to Fig. 1, the software update system of this embodiment comprises service server 100, user terminal 200 and update server 300, wherein,
The lastest imformation of software to be updated for obtaining the lastest imformation of software to be updated, and is pushed to the social networks group with described software context to be updated by described service server 100;
The patch that the software update system that the present embodiment provides can be applied to Games Software upgrades, above-mentioned social networks group can for QQ group, UC group, the prosperous group of Ali and Fetion group etc. by the population of identical hobby or feature to chatting together and the group of the platform exchanged.The content of above-mentioned lastest imformation can be arranged according to actual needs, such as, can comprise dbase to be updated, and the patch file title upgraded, patch file information and download link etc.Particularly, after official's game publisher server of software to be updated issues software update information to be updated, the lastest imformation of this software to be updated is sent to service server 100, this service server 100 can in form of a message or bulletin form this lastest imformation is pushed to social networks group.Such as, can with group message or in time message be sent to each member in QQ group, or in announcement board display update information.
User terminal 200, for obtaining described lastest imformation from described social networks group, obtains version number and the file version information of software to be updated on described user terminal 200 according to described lastest imformation; And send according to the version number of described software to be updated and file version information and update request to update server 300;
Described update server 300 is also for sending corresponding Reconfigurations file to described user terminal 200 according to described update request; Described Reconfigurations file comprises the information of each patch file in the package informatin of download package and each download package;
When user logs in above-mentioned social networks group, above-mentioned lastest imformation will be got, and upgrade according to the selecting property of content selectable of lastest imformation.Such as when user clicks this lastest imformation, by the scanning download module of activated user terminal 200, thus software to be updated on described user terminal 200 is scanned, obtain version number and the file version information of software to be updated.Particularly, user for the content of above-mentioned lastest imformation, optionally can also carry out part renewal or update all.Such as above-mentioned lastest imformation comprises the renewal of Fig. 1 over the ground and the renewal of ground Fig. 2, user Fig. 1 over the ground only can be selected to carry out upgrading or only over the ground Fig. 2 carry out upgrading or Fig. 1 and ground Fig. 2 upgrades simultaneously over the ground.
Above-mentioned file version information can comprise filename, file size and file Hash etc.Above-mentioned update server 300 at software upgrading publisher server by after needing the patch file upgraded to upload to CDN source server, obtain the version information to link corresponding to patch file, file size, configuration and respective upgrades.When update server 300 gets the update request of user terminal 200 transmission, according to version number and the file version information of the software to be updated in update request, update server 300 is inquired about the patch file list configuration (i.e. the Reconfigurations file of update server 300 transmission) that the version of software upgrading to be updated after renewal obtaining described user terminal 200 needs to upgrade.The package informatin of above-mentioned download package comprises multiple field: filename, N bag downloads chain, N bag Hash, the download of D bag chain, D bag Hash, separator is provided with between wherein adjacent field, in the present embodiment this separator be question mark (?), N bag is full dose bag, and D bag is difference bag.Multiple patch file can be comprised in each download package, such as file [Package1] is to [PackageN], the information that each patch file comprises is multiple field: file size after file Hash, upgrading preceding document size, upgrading after filename path, upgrading preceding document Hash (algorithm of file Hash is CRC32 or SHA, or Md5), upgrading; Separator is provided with between wherein adjacent field.In the present embodiment this separator be question mark (?), Hash is Hash.
Described user terminal 200 is also for carrying out update process according to described Reconfigurations file to described software to be updated.
After user terminal 200 receives above-mentioned Reconfigurations file, user terminal 200 will according to this Reconfigurations file, CDN source server will be accessed, and on CDN source server, download package is downloaded, after download package has been downloaded, can install by automatic or manual, thus complete software patch renewal.Be understandable that, p2p and p2s mode can be adopted in the process downloaded.
The lastest imformation of software to be updated is pushed to the social networks group with described software context to be updated by service server 100 by the present invention, when user terminal 200 gets this lastest imformation by this social networks group, scanning obtains version number and the file version information of software to be updated on user terminal 200, and this version number and file version information are sent to update server 300, push a Reconfigurations file to user terminal 200 by this update server 300, thus user terminal 200 is upgraded according to Reconfigurations file.Because the present invention unifies to push by adopting the lastest imformation of social networks group to software, thus ensure that the promptness that user terminal 200 pairs of software patchs upgrade, improve the security of the use of software.In addition, the notice concentrated more easily forms the buildup effect of p2p, is conducive to promoting that user upgrades the formation of p2p among a small circle.The upgrading of software simultaneously upgrades, and does not need to install upgrading device corresponding to multiple software, can adopt the solution that general.
Further, based on above-mentioned first embodiment, in the second embodiment of software update system of the present invention, above-mentioned service server 100 is also for receiving the lastest imformation of the software to be updated that described update server 300 sends; And in social networking service device 400, search the social networks group with described software context to be updated according to described lastest imformation.
At software upgrading publisher server by after needing the patch file upgraded to upload to CDN source server, obtain the version information to link corresponding to patch file, file size, configuration and respective upgrades.And send lastest imformation to service server 100, be synchronized on service server 100 by update content.Above-mentioned service server 100 obtains the title of software to be updated according to lastest imformation, according to the title of this software to be updated, from the social networks group of the social networks group data library lookup social networking service device 400 and this software context to be updated.Such as can according to the description of the message content in group or group, judge this social networks group whether with software context to be updated.Particularly, for games, a certain user creates a QQ group by QQ, group's descriptor of this QQ group can be arranged the game that this QQ group mainly discusses, as passed through live wire.The information that all members in this group discuss is all the information relevant to passing through live wire, and this relevant information can for passing through live wire map, the weaponry passing through live wire etc.Namely QQ group hunting is carried out, to obtain the social networks group with software context to be updated by keyword messages such as dbase, software inhouse information.
Further, based on above-described embodiment, above-mentioned software update system also comprises social networking service device 400;
Described service server 100 is also for sending inquiry request to described social networking service device 400 according to described lastest imformation;
Described social networking service device 400 is for inquiring about the social networks group be associated with described software to be updated according to described inquiry request; And in the social networks group be associated with described software to be updated, filter out group member number be greater than first threshold and group message number is greater than the social networks group of Second Threshold; Social networks group after screening is sent to described service server 100;
At software upgrading publisher server by after needing the patch file upgraded to upload to CDN source server, obtain the version information to link corresponding to patch file, file size, configuration and respective upgrades.And send lastest imformation to service server 100, be synchronized on service server 100 by update content.Above-mentioned service server 100 sends inquiry request to social networking service device 400 according to lastest imformation, and this inquiry request comprises the title of software to be updated.The group information of the names associate of software to be updated with this searched by this social networking service device 400 in social networks group data storehouse according to the dbase to be updated in inquiry request.Such as can according to the description of the message content in group or group, judge this social networks group whether with software context to be updated.Particularly, for games, a certain user creates a QQ group by QQ, group's descriptor of this QQ group can be arranged the game that this QQ group mainly discusses, as passed through live wire.The information that all members in this group discuss is all the information relevant to passing through live wire, and this relevant information can for passing through live wire map, the weaponry passing through live wire etc.Namely QQ group hunting is carried out, to obtain the social networks group with software context to be updated by keyword messages such as dbase, software inhouse information.Because the present embodiment screens social networks group, only updating message is pushed to group member number and be greater than first threshold and group message number is greater than the social networks group (the social networks group that namely liveness is larger) of Second Threshold, thus decrease the burden of propelling movement.
Be understandable that, with timely message push to QQ group member time, judge the liveness of group member according to the timely message count of group member, and lastest imformation is pushed to the larger group member of liveness with the form of timely message, thus improve the specific aim of lastest imformation propelling movement.
Further, based on above-described embodiment, in the present embodiment, the package informatin of above-mentioned download package comprises full dose package informatin and difference package informatin;
Described user terminal 200, also for upgrade in described patch file preceding document Hash and described file version information file Hash being compared, is determined download full dose bag or download difference bag according to the result of comparison; When determining to download full dose bag, download corresponding full dose bag according to full dose package informatin; When determining to download difference bag, download corresponding difference bag according to difference package informatin; After download completes, carry out installation process.
The information of full dose bag is that above-mentioned N bag Hash claims to download chain with N bag, and the information of difference bag is that above-mentioned D bag Hash claims to download chain with D bag.After user terminal 200 receives the Reconfigurations file of update server 300 transmission, patch file upgrading preceding document Hash and described file version information file Hash in Reconfigurations file are compared, when both are consistent, the information according to difference bag downloads this difference bag at CDN source server; When both are inconsistent, the information according to full dose bag downloads this full dose bag at CDN source server; P2p and p2s mode can be adopted in the process downloaded.After download completes, carry out Auto-mounting or manual installation by user terminal 200.
Further, based on above-described embodiment, in the present embodiment, described user terminal 200 also for the information according to patch file in described Reconfigurations file, carries out checking treatment to patch file in described download package; Described verification message comprises the Hash of patch file and the size of patch file.
Above-mentioned download package comprises full dose bag and difference bag, particularly, after download package has been downloaded, can verify according to file Hash after the upgrading of patch file in Reconfigurations file and the rear download package of file size to current download of upgrading, after judging the download package file Hash of front download and the upgrading of whether corresponding with the configuration file patch file of file size, file Hash is in the same size with rear file of upgrading.If consistent, then represent that the download package of current download does not exist exception, can continue to install; If inconsistent, then represent that the download package of current download exists abnormal, need again to download; Then again can be downloaded this download package by user terminal 200.
As shown in Figure 2, do further application note below: in the present embodiment by the software update system of above-described embodiment, above-mentioned software to be updated is for passing through live wire, and social networking group of above-mentioned society is QQ group, and user A is the member in certain QQ group.When passing through live wire and there is renewal, will the lastest imformation synchronized transmission of live wire be passed through on service server 100 by above-mentioned update server 300, and send inquiry request to social networking service device 400 by this service server 100 by according to the title of passing through live wire.By this social networking service device 400 according to inquiry request, carry out retrieving the QQ group that obtains this user A place and other and the QQ group passing through live wire and associate to pass through the title of live wire, the map passing through live wire and the weaponry that passes through live wire, and the QQ pocket transmission of acquisition will be retrieved to service server 100; Now the lastest imformation of passing through live wire is sent to QQ group by service server 100, particularly, form by group message is sent in QQ group or with the form of timely message and is sent to the member in each QQ group, can push the lastest imformation that live wire is passed through in display in addition by the form of bulletin.When user A logs in QQ on user terminal 200, to receive and show the lastest imformation that this passes through live wire, user A is by clicking this lastest imformation, thus the upgrading scanning download module triggering this locality scans the version number of passing through live wire of user terminal 200 this locality and local file version information, is sent to update server 300 after having scanned.Update server 300 according to the version number of passing through live wire of user terminal 200 this locality and the inquiry of local file version information obtain user terminal 200 current version pass through that live wire is updated to target version pass through the patch file upgraded required for live wire, form Reconfigurations file; And this Reconfigurations file is sent to user terminal 200, the upgrading scanning download module for user terminal 200 carries out download and the installation of patch file.
The present invention proposes a kind of Oftware updating method.With reference to Fig. 3, the Oftware updating method of this embodiment comprises the following steps:
Step S10, service server obtains the lastest imformation of software to be updated, and the lastest imformation of software to be updated is pushed to the social networks group with described software context to be updated;
The patch that the Oftware updating method that the present embodiment provides can be applied to Games Software upgrades, above-mentioned social networks group can for QQ group, UC group, the prosperous group of Ali and Fetion group etc. by the population of identical hobby or feature to chatting together and the group of the platform exchanged.The content of above-mentioned lastest imformation can be arranged according to actual needs, such as, can comprise dbase to be updated, and the patch file title upgraded, patch file information and download link etc.Particularly, after official's game publisher server of software to be updated issues software update information to be updated, the lastest imformation of this software to be updated is sent to service server, this service server can in form of a message or bulletin form this lastest imformation is pushed to social networks group.Such as, can with group message or in time message be sent to each member in QQ group, or in announcement board display update information.
Step S11, user terminal obtains described lastest imformation from described social networks group, obtains version number and the file version information of software to be updated on described user terminal according to described lastest imformation;
When user logs in above-mentioned social networks group, above-mentioned lastest imformation will be got, and upgrade according to the selecting property of content selectable of lastest imformation.Such as when user clicks this lastest imformation, by the scanning download module of activated user terminal, thus software to be updated on described user terminal is scanned, obtain version number and the file version information of software to be updated.Particularly, user for the content of above-mentioned lastest imformation, optionally can also carry out part renewal or update all.Such as above-mentioned lastest imformation comprises the renewal of Fig. 1 over the ground and the renewal of ground Fig. 2, user Fig. 1 over the ground only can be selected to carry out upgrading or only over the ground Fig. 2 carry out upgrading or Fig. 1 and ground Fig. 2 upgrades simultaneously over the ground.
Step S12, described user terminal sends according to the version number of described software to be updated and file version information and updates request to update server;
Step S13, described update server sends corresponding Reconfigurations file to described user terminal according to described update request; Described Reconfigurations file comprises the information of each patch file in the package informatin of download package and each download package;
Above-mentioned file version information can comprise filename, file size and file Hash etc.Above-mentioned update server to be used for after needing the patch file upgraded to upload to CDN source server at software upgrading publisher server, obtains the version information to link corresponding to patch file, file size, configuration and respective upgrades.When update server gets the update request of user terminal transmission, according to version number and the file version information of the software to be updated in update request, update server is inquired about the patch file list configuration (i.e. the Reconfigurations file of update server 300 transmission) that the version of software upgrading to be updated after renewal obtaining described user terminal needs to upgrade.The package informatin of above-mentioned download package comprises multiple field: filename, N bag downloads chain, N bag Hash, the download of D bag chain, D bag Hash, separator is provided with between wherein adjacent field, in the present embodiment this separator be question mark (?), N bag is full dose bag, and D bag is difference bag.Multiple patch file can be comprised in each download package, such as file [Package1] is to [PackageN], the information that each patch file comprises is multiple field: file size after file Hash, upgrading preceding document size, upgrading after filename path, upgrading preceding document Hash (algorithm of file Hash is CRC32 or SHA, or Md5), upgrading; Separator is provided with between wherein adjacent field.In the present embodiment this separator be question mark (?), Hash is Hash.
Step S14, described user terminal carries out update process according to described Reconfigurations file to described software to be updated.
After user terminal receives above-mentioned Reconfigurations file, user terminal according to this Reconfigurations file, will will access CDN source server, and on CDN source server, download package is downloaded, after download package has been downloaded, can install by automatic or manual, thus completed software patch renewal.Be understandable that, p2p and p2s mode can be adopted in the process downloaded.
The lastest imformation of software to be updated is pushed to the social networks group with described software context to be updated by service server by the present invention, when user terminal gets this lastest imformation by this social networks group, scanning obtains version number and the file version information of software to be updated on user terminal, and this version number and file version information are sent to update server, push a Reconfigurations file to user terminal by this update server, thus user terminal is upgraded according to Reconfigurations file.Because the present invention unifies to push by adopting the lastest imformation of social networks group to software, thus ensure that the promptness that user terminal upgrades software patch, improve the security of the use of software.In addition, the notice concentrated more easily forms the buildup effect of p2p, is conducive to promoting that user upgrades the formation of p2p among a small circle.The upgrading of software simultaneously upgrades, and does not need to install upgrading device corresponding to multiple software, can adopt the solution that general.
Further, with reference to Fig. 4, provide the second embodiment of Oftware updating method of the present invention, implement on the basis of embodiment first, the Oftware updating method that the present embodiment provides also comprised before execution above-mentioned steps S10:
Step S15, described service server receives the lastest imformation of the software to be updated that described update server sends;
Step S16, described service server searches the social networks group with described software context to be updated according to described lastest imformation in social networking service device.
At software upgrading publisher server by after needing the patch file upgraded to upload to CDN source server, obtain the version information to link corresponding to patch file, file size, configuration and respective upgrades.And send lastest imformation to service server, be synchronized on service server by update content.Above-mentioned service server obtains the title of software to be updated according to lastest imformation, according to the title of this software to be updated, from the social networks group of the social networks group data library lookup social networking service device and this software context to be updated.Such as can according to the description of the message content in group or group, judge this social networks group whether with software context to be updated.Particularly, for games, a certain user creates a QQ group by QQ, group's descriptor of this QQ group can be arranged the game that this QQ group mainly discusses, as passed through live wire.The information that all members in this group discuss is all the information relevant to passing through live wire, and this relevant information can for passing through live wire map, the weaponry passing through live wire etc.Namely QQ group hunting is carried out, to obtain the social networks group with software context to be updated by keyword messages such as dbase, software inhouse information.
Further, with reference to Fig. 5, provide the 3rd embodiment of Oftware updating method, implement on the basis of embodiment first, in the Oftware updating method that the present embodiment provides, above-mentioned steps S16 specifically comprises:
Step S161, described service server sends inquiry request to described social networking service device according to described lastest imformation;
Step S162, the social networks group be associated with described software to be updated inquired about by described social networking service device according to described inquiry request;
Step S163, described social networking service device filters out group member number and is greater than first threshold and group message number is greater than the social networks group of Second Threshold in the social networks group be associated with described software to be updated;
Step S164, the social networks group after screening is sent to described service server by described social networking service device.
At software upgrading publisher server by after needing the patch file upgraded to upload to CDN source server, obtain the version information to link corresponding to patch file, file size, configuration and respective upgrades.And send lastest imformation to service server, be synchronized on service server by update content.Above-mentioned service server sends inquiry request to social networking service device according to lastest imformation, and this inquiry request comprises the title of software to be updated.The group information of the names associate of software to be updated with this searched by this social networking service device in social networks group data storehouse according to the dbase to be updated in inquiry request.Such as can according to the description of the message content in group or group, judge this social networks group whether with software context to be updated.Particularly, for games, a certain user creates a QQ group by QQ, group's descriptor of this QQ group can be arranged the game that this QQ group mainly discusses, as passed through live wire.The information that all members in this group discuss is all the information relevant to passing through live wire, and this relevant information can for passing through live wire map, the weaponry passing through live wire etc.Namely QQ group hunting is carried out, to obtain the social networks group with software context to be updated by keyword messages such as dbase, software inhouse information.Because the present embodiment screens social networks group, only updating message is pushed to group member number and be greater than first threshold and group message number is greater than the social networks group (the social networks group that namely liveness is larger) of Second Threshold, thus decrease the burden of propelling movement.
Be understandable that, with timely message push to QQ group member time, judge the liveness of group member according to the timely message count of group member, and lastest imformation is pushed to the larger group member of liveness with the form of timely message, thus improve the specific aim of lastest imformation propelling movement.
Further, with reference to Fig. 6, provide the 4th embodiment of Oftware updating method, on the basis of above-mentioned arbitrary enforcement embodiment, in the Oftware updating method that the present embodiment provides, the package informatin of above-mentioned download package comprises full dose package informatin and difference package informatin;
Above-mentioned steps S14 comprises:
Step S141, upgrade in described patch file preceding document Hash and described file version information file Hash are compared by described user terminal, determine download full dose bag or download difference bag according to the result of comparison;
Step S142, when determining to download full dose bag, downloads corresponding full dose bag according to full dose package informatin; When determining to download difference bag, download corresponding difference bag according to difference package informatin;
Step S143, after download completes, described user terminal carries out installation process.
The information of full dose bag is that above-mentioned N bag Hash claims to download chain with N bag, and the information of difference bag is that above-mentioned D bag Hash claims to download chain with D bag.After user terminal receives the Reconfigurations file of update server transmission, patch file upgrading preceding document Hash and described file version information file Hash in Reconfigurations file are compared, when both are consistent, the information according to difference bag downloads this difference bag at CDN source server; When both are inconsistent, the information according to full dose bag downloads this full dose bag at CDN source server; P2p and p2s mode can be adopted in the process downloaded.After download completes, carry out Auto-mounting or manual installation by user terminal.
Further, with reference to Fig. 7, provide the 5th embodiment of Oftware updating method, implement on the basis of embodiment the above-mentioned 4th, the Oftware updating method that the present embodiment provides also comprised before user terminal carries out installation process:
Step S144, described user terminal, according to the information of patch file in described Reconfigurations file, carries out checking treatment to patch file in described download package.
Above-mentioned download package comprises full dose bag and difference bag, particularly, after download package has been downloaded, can verify according to file Hash after the upgrading of patch file in Reconfigurations file and the rear download package of file size to current download of upgrading, after judging the download package file Hash of front download and the upgrading of whether corresponding with the configuration file patch file of file size, file Hash is in the same size with rear file of upgrading.If consistent, then represent that the download package of current download does not exist exception, can continue to install; If inconsistent, then represent that the download package of current download exists abnormal, need again to download; Then again can be downloaded this download package by user terminal.
As shown in Figure 2, do further application note below: in the present embodiment by the Oftware updating method of above-described embodiment, above-mentioned software to be updated is for passing through live wire, and social networking group of above-mentioned society is QQ group, and user A is the member in certain QQ group.When passing through live wire and there is renewal, will the lastest imformation synchronized transmission of live wire be passed through on service server by above-mentioned update server, and send inquiry request to social networking service device by this service server according to the title that this passes through live wire.By this social networking service device according to inquiry request, carry out retrieving the QQ group that obtains this user A place and other and the QQ group passing through live wire and associate to pass through the title of live wire, the map passing through live wire and the weaponry that passes through live wire, and the QQ pocket transmission of acquisition will be retrieved to service server; Now the lastest imformation of passing through live wire is sent to QQ group by service server 100, particularly, form by group message is sent in QQ group or with the form of timely message and is sent to the member in each QQ group, can push the lastest imformation that live wire is passed through in display in addition by the form of bulletin.When user A logs in QQ on the subscriber terminal, to receive and show the lastest imformation that this passes through live wire, user A is by clicking this lastest imformation, thus the upgrading scanning download module triggering this locality scans the version number of passing through live wire of user terminal this locality and local file version information, is sent to update server after having scanned.Update server according to the version number of passing through live wire of user terminal this locality and the inquiry of local file version information obtain user terminal current version pass through that live wire is updated to target version pass through the patch file upgraded required for live wire, form Reconfigurations file; And this Reconfigurations file is sent to user terminal, the upgrading scanning download module for user terminal carries out download and the installation of patch file.
The foregoing is only the preferred embodiments of the present invention; not thereby its scope of the claims is limited; every utilize instructions of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; directly or indirectly be used in the technical field that other are relevant, be all in like manner included in scope of patent protection of the present invention.

Claims (10)

1. an Oftware updating method, is characterized in that, comprises the following steps:
Service server obtains the lastest imformation of software to be updated, and the lastest imformation of software to be updated is pushed to the social networks group with described software context to be updated;
User terminal obtains described lastest imformation from described social networks group, obtains version number and the file version information of software to be updated on described user terminal according to described lastest imformation;
Described user terminal sends according to the version number of described software to be updated and file version information and updates request to update server;
Described update server sends corresponding Reconfigurations file to described user terminal according to described update request; Described Reconfigurations file comprises the information of each patch file in the package informatin of download package and each download package;
Described user terminal carries out update process according to described Reconfigurations file to described software to be updated.
2. Oftware updating method as claimed in claim 1, it is characterized in that, described service server obtains the lastest imformation of software to be updated, and the lastest imformation of software to be updated is pushed to the social networks group of described software context to be updated before also comprise:
Described service server receives the lastest imformation of the software to be updated that described update server sends;
Described service server searches the social networks group with described software context to be updated according to described lastest imformation in social networking service device.
3. Oftware updating method as claimed in claim 2, it is characterized in that, described service server is searched according to described lastest imformation and is comprised with the social networks group of described software context to be updated in social networking service device:
Described service server sends inquiry request to described social networking service device according to described lastest imformation;
The social networks group be associated with described software to be updated inquired about by described social networking service device according to described inquiry request;
Described social networking service device filters out group member number and is greater than first threshold and group message number is greater than the social networks group of Second Threshold in the social networks group be associated with described software to be updated;
Social networks group after screening is sent to described service server by described social networking service device.
4. Oftware updating method as claimed any one in claims 1 to 3, it is characterized in that, the package informatin of described download package comprises full dose package informatin and difference package informatin;
Described user terminal carries out update process according to described Reconfigurations file and comprises:
Upgrade in described patch file preceding document Hash and described file version information file Hash are compared by described user terminal, determine download full dose bag or download difference bag according to the result of comparison;
When determining to download full dose bag, download corresponding full dose bag according to full dose package informatin;
When determining to download difference bag, download corresponding difference bag according to difference package informatin;
After download completes, described user terminal carries out installation process.
5. Oftware updating method as claimed in claim 4, it is characterized in that, described user terminal also comprises before carrying out installation process:
Described user terminal, according to the information of patch file in described Reconfigurations file, carries out checking treatment to patch file in described download package; Described verification message comprises the Hash of patch file and the size of patch file.
6. a software update system, is characterized in that, comprises service server, user terminal and update server, wherein,
The lastest imformation of software to be updated for obtaining the lastest imformation of software to be updated, and is pushed to the social networks group with described software context to be updated by described service server;
User terminal is used for obtaining described lastest imformation from described social networks group, obtains version number and the file version information of software to be updated on described user terminal according to described lastest imformation; And send according to the version number of described software to be updated and file version information and update request to update server;
Described update server is also for sending corresponding Reconfigurations file to described user terminal according to described update request; Described Reconfigurations file comprises the information of each patch file in the package informatin of download package and each download package;
Described user terminal is also for carrying out update process according to described Reconfigurations file to described software to be updated.
7. software update system as claimed in claim 6, is characterized in that, described service server is also for receiving the lastest imformation of the software to be updated that described update server sends; And in social networking service device, search the social networks group with described software context to be updated according to described lastest imformation.
8. software update system as claimed in claim 7, it is characterized in that, described software update system also comprises social networking service device;
Described service server is also for sending inquiry request to described social networking service device according to described lastest imformation;
Described social networking service device is used for inquiring about according to described inquiry request the social networks group be associated with described software to be updated; And in the social networks group be associated with described software to be updated, filter out group member number be greater than first threshold and group message number is greater than the social networks group of Second Threshold; Social networks group after screening is sent to described service server.
9. the software update system according to any one of claim 6 to 8, is characterized in that, the package informatin of described download package comprises full dose package informatin and difference package informatin;
Described user terminal, also for upgrade in described patch file preceding document Hash and described file version information file Hash being compared, is determined download full dose bag or download difference bag according to the result of comparison; When determining to download full dose bag, download corresponding full dose bag according to full dose package informatin; When determining to download difference bag, download corresponding difference bag according to difference package informatin; After download completes, carry out installation process.
10. software update system as claimed in claim 9, it is characterized in that, described user terminal also for the information according to patch file in described Reconfigurations file, carries out checking treatment to patch file in described download package; Described verification message comprises the Hash of patch file and the size of patch file.
CN201410267532.1A 2014-06-16 2014-06-16 Oftware updating method and system Active CN105279436B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410267532.1A CN105279436B (en) 2014-06-16 2014-06-16 Oftware updating method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410267532.1A CN105279436B (en) 2014-06-16 2014-06-16 Oftware updating method and system

Publications (2)

Publication Number Publication Date
CN105279436A true CN105279436A (en) 2016-01-27
CN105279436B CN105279436B (en) 2019-05-17

Family

ID=55148432

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410267532.1A Active CN105279436B (en) 2014-06-16 2014-06-16 Oftware updating method and system

Country Status (1)

Country Link
CN (1) CN105279436B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105847373A (en) * 2016-04-01 2016-08-10 乐视控股(北京)有限公司 Electronic letter paper updating method and device
CN106095822A (en) * 2016-05-31 2016-11-09 北京小米移动软件有限公司 Software recommendation method, device and server
CN107451474A (en) * 2016-05-31 2017-12-08 百度在线网络技术(北京)有限公司 Software vulnerability restorative procedure and device for terminal
CN107491321A (en) * 2017-07-03 2017-12-19 北京奇安信科技有限公司 A kind of processing method and processing device for being used to realize automatic software updating
CN109819024A (en) * 2019-01-17 2019-05-28 平安城市建设科技(深圳)有限公司 Information-pushing method, device, storage medium and terminal based on data analysis
CN109918097A (en) * 2017-12-12 2019-06-21 优信数享(北京)信息技术有限公司 A kind of method that binary difference calorimetric updates, apparatus and system
CN109918098A (en) * 2017-12-12 2019-06-21 优信数享(北京)信息技术有限公司 What a kind of APP heat updated mentions survey method, apparatus and system
WO2023108849A1 (en) * 2021-12-13 2023-06-22 上海仙途智能科技有限公司 Configuration data management method and apparatus for automatic driving system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101026592A (en) * 2006-02-23 2007-08-29 腾讯科技(深圳)有限公司 Community information update notification method and system
US20120110463A1 (en) * 2010-11-01 2012-05-03 International Business Machines Corporation Application Recommendation
CN103309694A (en) * 2012-03-14 2013-09-18 腾讯科技(深圳)有限公司 Application program updating method and device
CN103607456A (en) * 2013-11-21 2014-02-26 厦门雅迅网络股份有限公司 Remote software upgrade method for clustered mobile terminals
CN103677876A (en) * 2012-09-12 2014-03-26 中兴通讯股份有限公司 Manufacturing and installing method, device and system of software installation package

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101026592A (en) * 2006-02-23 2007-08-29 腾讯科技(深圳)有限公司 Community information update notification method and system
US20120110463A1 (en) * 2010-11-01 2012-05-03 International Business Machines Corporation Application Recommendation
CN103309694A (en) * 2012-03-14 2013-09-18 腾讯科技(深圳)有限公司 Application program updating method and device
CN103677876A (en) * 2012-09-12 2014-03-26 中兴通讯股份有限公司 Manufacturing and installing method, device and system of software installation package
CN103607456A (en) * 2013-11-21 2014-02-26 厦门雅迅网络股份有限公司 Remote software upgrade method for clustered mobile terminals

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105847373A (en) * 2016-04-01 2016-08-10 乐视控股(北京)有限公司 Electronic letter paper updating method and device
CN106095822A (en) * 2016-05-31 2016-11-09 北京小米移动软件有限公司 Software recommendation method, device and server
CN107451474A (en) * 2016-05-31 2017-12-08 百度在线网络技术(北京)有限公司 Software vulnerability restorative procedure and device for terminal
CN107451474B (en) * 2016-05-31 2020-06-26 百度在线网络技术(北京)有限公司 Software bug fixing method and device for terminal
CN106095822B (en) * 2016-05-31 2020-10-09 北京小米移动软件有限公司 Software recommendation method and device and server
CN107491321A (en) * 2017-07-03 2017-12-19 北京奇安信科技有限公司 A kind of processing method and processing device for being used to realize automatic software updating
CN109918097A (en) * 2017-12-12 2019-06-21 优信数享(北京)信息技术有限公司 A kind of method that binary difference calorimetric updates, apparatus and system
CN109918098A (en) * 2017-12-12 2019-06-21 优信数享(北京)信息技术有限公司 What a kind of APP heat updated mentions survey method, apparatus and system
CN109819024A (en) * 2019-01-17 2019-05-28 平安城市建设科技(深圳)有限公司 Information-pushing method, device, storage medium and terminal based on data analysis
WO2023108849A1 (en) * 2021-12-13 2023-06-22 上海仙途智能科技有限公司 Configuration data management method and apparatus for automatic driving system

Also Published As

Publication number Publication date
CN105279436B (en) 2019-05-17

Similar Documents

Publication Publication Date Title
CN105279436A (en) Software updating method and system
CN108111331B (en) Method, device, storage medium, processor and system for acquiring update data packet
CN104346167B (en) The method and device of channel bag is applied in generation
CN102105884B (en) Streaming malware definition updates
CN102307210B (en) Data downloading system and data management and downloading method thereof
CN103034512B (en) The method and apparatus of more new procedures
CN102752326B (en) The method of deal with data, server and system in the time of download file
CN102833350A (en) Processing method and processing device of WebApp updating
US20150112798A1 (en) Advertisement processing method and apparatus
KR101281825B1 (en) Apparatus and method that enhance security using virtual interface in cloud system
CN102724308A (en) Software update method and software update system
CN103647803A (en) A method for a mobile terminal to subscribe content and an apparatus
CN104468817A (en) Method and device for achieving resource download through CDN, server and client side
CN103647816A (en) Method and device for upgrading application software
CN102830992A (en) Plug-in loading method and system
CN104699511B (en) Plug-in unit upgrade method and device
CN102541596A (en) Operating system upgrading method and device
CN105808273A (en) Software upgrading method and software upgrading device
CN104426955A (en) Processing method of shared file, and cloud storage server
CN104731623B (en) Mastery routine starts the method and device of plug-in unit
KR20130012929A (en) Method and system for efficient download of data package
CN105208108A (en) File uploading/downloading method and system in Web environment, server and client end
CN103747010A (en) Method, system and device for controlling PC (personal computer) by mobile terminal
CN103366117A (en) Repairing method and system for files infected by infectious viruses
CN104391729A (en) Root privilege based procedure upgrading method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant