CN105279436B - Oftware updating method and system - Google Patents

Oftware updating method and system Download PDF

Info

Publication number
CN105279436B
CN105279436B CN201410267532.1A CN201410267532A CN105279436B CN 105279436 B CN105279436 B CN 105279436B CN 201410267532 A CN201410267532 A CN 201410267532A CN 105279436 B CN105279436 B CN 105279436B
Authority
CN
China
Prior art keywords
software
updated
information
file
user terminal
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.)
Active
Application number
CN201410267532.1A
Other languages
Chinese (zh)
Other versions
CN105279436A (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

Landscapes

  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

The present invention discloses a kind of Oftware updating method, comprising the following steps: service server obtains the more new information of software to be updated, and the more new information of software to be updated is pushed to the social networks group with the software context to be updated;User terminal obtains the more new information from the social networks group, according to the version number of software to be updated on user terminal described in the update acquisition of information and file version information;The user terminal updates request to update server according to the version number of the software to be updated and file version information transmission;The update server sends corresponding more new configuration file to the user terminal according to update request;The user terminal is updated processing to the software to be updated according to the more new configuration file.Invention additionally discloses a kind of software update systems.The present invention realizes the unified push of more new information, ensure that the timeliness that software patch updates, improves the safety that software uses.

Description

Oftware updating method and system
Technical field
The present invention relates to network technique field more particularly to Oftware updating method and systems.
Background technique
With the development of network technology, miscellaneous application software is installed on the computer of user, such as various game And various system softwares etc..
It is well known that existing software developer when developing software, usually has unforeseen loophole, and these are leaked Hole software using when be gradually exposed.Software developer by for the loophole of the software in official's Web realease patch file, So that user downloads patch file, to repair the loophole of software, the safety that software uses is improved.But since user needs The official website of active access software, could obtain the more new information of patch file, therefore lead to the update of application software not in time, nothing The timely patching bugs of method, when in use so as to cause software, there are risks.
Summary of the invention
The main purpose of the embodiment of the present invention is to provide a kind of Oftware updating method and system, it is intended to realize more new information Unified push guarantees the timeliness that software patch updates, and improves the safety that software uses.
To achieve the above object, the embodiment of the invention provides a kind of Oftware updating methods, comprising the following steps:
Service server obtains the more new information of software to be updated, and the more new information of software to be updated is pushed to and institute State the social networks group of software context to be updated;
User terminal obtains the more new information from the social networks group, uses according to the update acquisition of information The version number of software to be updated and file version information in the terminal of family;
The user terminal updates request to more according to the version number of the software to be updated and file version information transmission New demand servicing device;
The update server sends corresponding more new configuration file to the user terminal according to update request;Institute State the information of each patch file in the package informatin and each download package that more new configuration file includes download package;
The user terminal is updated processing to the software to be updated according to the more new configuration file.
Further, the embodiment of the invention also provides a kind of software update systems, including service server, user terminal With update server, wherein
The service server is used to obtain the more new information of software to be updated, and the more new information of software to be updated is pushed away It send to the social networks group with the software context to be updated;
User terminal is used to obtain the more new information from the social networks group, according to update acquisition of information institute State the version number of software to be updated and file version information on user terminal;And according to the version number of the software to be updated and text The transmission of part version information updates request to update server;
The update server is also used to request to send according to the update corresponding more new configuration file to the user Terminal;The more new configuration file includes the information of each patch file in the package informatin and each download package of download package;
The user terminal is also used to be updated processing to the software to be updated according to the more new configuration file.
The present invention is pushed to the more new information of software to be updated and the software context to be updated by service server Social networks group, when user terminal gets the more new information by the social networks group, it is whole that scanning obtains user The version number of software to be updated and file version information on end, and the version number and file version information are sent to more new demand servicing Device, by the more new configuration file of update server push one to user terminal, to make user terminal according to more new configuration file It is updated.Since the present invention carries out unified push by using more new information of the social networks group to software, to guarantee The timeliness that user terminal updates software patch, improves the safety of software used.In addition, the notice concentrated more is held The building-up effect for easily forming p2p may advantageously facilitate the formation that small range user updates p2p.The upgrading of software updates simultaneously, is not required to The corresponding upgrading device of multiple softwares is installed, a general solution can be used.
Detailed description of the invention
Fig. 1 is the communication structure schematic diagram of invention software more new system first embodiment;
Fig. 2 is interface when user terminal is by social networks group reception more new information in invention software more new system Exemplary diagram;
Fig. 3 is the flow diagram of invention software update method first embodiment;
Fig. 4 is the flow diagram of invention software update method second embodiment;
Fig. 5 is the flow diagram of invention software update method 3rd embodiment;
Fig. 6 is the flow diagram of invention software update method fourth embodiment;
Fig. 7 is the flow diagram of the 5th embodiment of invention software update method.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
Technical solution of the present invention is further illustrated with reference to the accompanying drawings and specific embodiments of the specification.It should be appreciated that this Locate described specific embodiment to be only used to explain the present invention, be not intended to limit the present invention.
The invention proposes a kind of software update systems.Referring to Fig.1, the software update system of the embodiment includes business clothes Business device 100, user terminal 200 and update server 300, wherein
The service server 100 is used to obtain the more new information of software to be updated, and the update of software to be updated is believed Breath pushes to the social networks group with the software context to be updated;
The patch that software update system provided in this embodiment can be applied to Games Software updates, above-mentioned social networks group Group can be liked or the population of feature is to together can be with for QQ group, UC crowds, the prosperous group of Ali and Fetion group etc. by identical It chats and the group of the platform exchanged.The content of above-mentioned more new information can be configured according to actual needs, such as may include Dbase to be updated, and the patch file title, patch file information and the download link that update etc..Specifically, when to more After official's game publisher server of new software issues software update information to be updated, the more new information of the software to be updated is sent out It send to service server 100, which can in form of a message or the form of bulletin pushes the more new information To social networks group.For example, each member in QQ group can be sent to group message or timely message, or announcing More new information is shown in column.
User terminal 200 is used to obtain the more new information from the social networks group, is obtained according to the more new information Take the version number of software to be updated and file version information on the user terminal 200;And according to the version of the software to be updated This number updates request to update server 300 with file version information transmission;
The update server 300 is also used to request to send according to the update corresponding more new configuration file to the use Family terminal 200;The more new configuration file includes the letter of each patch file in the package informatin and each download package of download package Breath;
When user logs in above-mentioned social networks group, above-mentioned more new information will acquire, and according in more new information Hold alternative to be updated.Such as when the user clicks the more new information when, will trigger user terminal 200 scanning download mould Block obtains version number and the FileVersion of software to be updated to be scanned to software to be updated on the user terminal 200 Information.Specifically, user can also be directed to the content of above-mentioned more new information, selective carry out part update or all update. Such as in above-mentioned more new information including to map 1 update and ground Fig. 2 update, user may be selected only to map 1 be updated, Or only to map 2 is updated or to map 1 and ground Fig. 2 while being updated.
Above-mentioned file version information may include filename, file size and file Hash etc..Above-mentioned update server 300 For obtaining to patch text after software upgrading publisher server will need the patch file updated to upload to CDN source server The corresponding link of part, file size, configuration and respective upgrades version information.User terminal is got when updating server 300 When 200 updates sent are requested, according to the version number and file version information for updating the software to be updated in request, taken updating Inquiry obtains the patch that the software upgrading to be updated of the user terminal 200 needs to update to updated version on business device 300 Listed files configuration (i.e. the more new configuration file of update server 300 transmission).The package informatin of above-mentioned download package includes multiple words Section: filename, N packet downloading chain, N packet Hash, D packet download chain, D packet Hash, wherein separator is equipped between adjacent field, this In embodiment the separator be question mark (?), N packet is full dose packet, and D packet is difference packet.It may include multiple in each download package Patch file, such as file [Package1] arrive [PackageN], and the information that each patch file includes is multiple fields: file Name path, upgrading preceding document Hash (algorithm of file Hash is CRC32 perhaps SHA or Md5), upgrading after file Hash, File size after upgrading preceding document size, upgrading;Separator is wherein equipped between adjacent field.The separator in the present embodiment For question mark (?), Hash is Hash.
The user terminal 200 is also used to be updated place to the software to be updated according to the more new configuration file Reason.
After user terminal 200 receives above-mentioned more new configuration file, user terminal 200 will configure text according to the update Part will access CDN source server, and be downloaded on CDN source server to download package, can after the completion of download package downloading Automatic or manual installation, to complete software patch update.It is understood that p2p and p2s can be used during downloading Mode.
The more new information of software to be updated is pushed to by service server 100 and is closed with the software to be updated by the present invention The social networks group of connection, when user terminal 200 gets the more new information by the social networks group, scanning, which obtains, to be used The version number of software to be updated and file version information in family terminal 200, and the version number and file version information are sent to Server 300 is updated, a more new configuration file is pushed to user terminal 200, to make user terminal by the update server 300 200 are updated according to more new configuration file.Due to the present invention by using social networks group to the more new information of software into The unified push of row, to ensure that the timeliness that user terminal 200 updates software patch, improves the safety of software used Property.In addition, the building-up effect of p2p is more readily formed in the notice concentrated, the formation that small range user updates p2p may advantageously facilitate. The upgrading of software updates simultaneously, does not need to install the corresponding upgrading device of multiple softwares, can use a general solution.
Further, above-mentioned first embodiment, in the second embodiment of invention software more new system, above-mentioned industry are based on Business server 100 is also used to receive the more new information for the software to be updated that the update server 300 is sent;And according to it is described more New information is searched and the social networks group of the software context to be updated in social network server 400.
After software upgrading publisher server will need the patch file updated to upload to CDN source server, obtain to benefit The corresponding link of fourth file, file size, configuration and respective upgrades version information.And it sends and updates information to service server 100, i.e., it will update in content synchronization to service server 100.Above-mentioned service server 100 is to be updated according to acquisition of information is updated The title of software is looked into according to the title of the software to be updated from the social networks group data library in social network server 400 Look for the social networks group with the software context to be updated.Such as it can be sentenced according to the description of message content or group in group Break the social networks group whether with software context to be updated.Specifically, by taking games as an example, a certain user is created by QQ One QQ groups, firewire is such as passed through in the settable QQ groups of game mainly discussed in the QQ groups of group's description information.In this group The information that all members discuss all is information relevant to firewire is passed through, which can be to pass through firewire map, pass through Weaponry of firewire etc..QQ group hunting can be carried out by keyword messages such as dbase, software inhouse information, to obtain Obtain the social networks group with software context to be updated.
Further, based on the above embodiment, above-mentioned software update system further includes social network server 400;
The service server 100 is also used to send inquiry request to the social networking service according to the more new information Device 400;
The social network server 400 is used to be inquired according to the inquiry request associated with the software to be updated Social networks group;And group member number is filtered out in social networks group associated with the software to be updated and is greater than the One threshold value and group message number are greater than the social networks group of second threshold;Social networks group after screening is sent to institute State service server 100;
After software upgrading publisher server will need the patch file updated to upload to CDN source server, obtain to benefit The corresponding link of fourth file, file size, configuration and respective upgrades version information.And it sends and updates information to service server 100, i.e., it will update in content synchronization to service server 100.Above-mentioned service server 100 sends inquiry according to more new information and asks It asks to social network server 400, which includes the title of software to be updated.400 basis of social network server Dbase to be updated in inquiry request is searched and the names associate of the software to be updated in social networks group data library Group information.Such as can according to the description of message content or group in group, judge the social networks group whether with to Update software context.Specifically, by taking games as an example, a certain user creates a QQ groups by QQ, the QQ groups of group's description The settable QQ groups of game mainly discussed, such as pass through firewire in information.The information that all members in this group discuss all is Information relevant to firewire is passed through, the relevant information can be to pass through firewire map, the weaponry for passing through firewire etc..? QQ group hunting is carried out by keyword messages such as dbase, software inhouse information, to obtain the society with software context to be updated Hand over network group.Since the present embodiment screens social networks group, update message is only pushed into group member number Greater than first threshold and group message number is greater than social networks group (the i.e. biggish social networks group of liveness of second threshold Group), to reduce the burden of push.
It is understood that when pushing to QQ group member with timely message, according to the timely message count of group member Judge the liveness of group member, and by more new information and when message form push to the biggish group member of liveness, To improve the specific aim of more new information push.
Further, based on the above embodiment, in the present embodiment, the package informatin of above-mentioned download package include full dose package informatin and Difference package informatin;
The user terminal 200 is also used to that preceding document Hash and the file version information will be upgraded in the patch file Middle file Hash is compared, and determines downloading full dose packet or downloading difference packet according to the result of comparison;Full dose packet is downloaded when determining When, corresponding full dose packet is downloaded according to full dose package informatin;When determining downloading difference packet, downloaded according to difference package informatin corresponding Difference packet;After the completion of downloading, installation process is carried out.
The information of full dose packet is that above-mentioned N packet Hash claims to download chain with N packet, and the information of difference packet claims for above-mentioned D packet Hash and D Packet downloading chain.It, will more new configuration file after user terminal 200 receives the more new configuration file for updating the transmission of server 300 Middle patch file upgrading preceding document Hash is compared with file Hash in the file version information, when the two is consistent, root The difference packet is downloaded in CDN source server according to the information of difference packet;When the two is inconsistent, according to the information of full dose packet in CDN Source server downloads the full dose packet;P2p and p2s mode can be used during downloading.After the completion of downloading, by user terminal 200 are installed automatically or are installed manually.
Further, based on the above embodiment, in the present embodiment, the user terminal 200 is also used to according to the update The information of patch file in configuration file carries out checking treatment to patch file in the download package;The verification message includes The Hash of patch file and the size of patch file.
Above-mentioned download package includes that full dose packet and difference packet after the completion of download package downloading, can specifically be configured according to updating File Hash and file size after upgrading verify the download package currently downloaded after the upgrading of patch file in file, judge In the download package of preceding downloading file Hash and file size whether with file after the upgrading for corresponding to patch file in configuration file Hash and file after upgrading are in the same size.If consistent, then it represents that the download package currently downloaded does not have exception, can continue to pacify Dress;If inconsistent, then it represents that the download package currently downloaded has exception, needs to re-download;It then can be by user terminal 200 to this Download package is re-downloaded.
As shown in Fig. 2, below further application note: the present embodiment will be done to the software update system of above-described embodiment In, above-mentioned software to be updated is to pass through firewire, and above-mentioned society's social activity network group is QQ groups, and user A is the member in certain QQ crowds.When When passing through firewire in the presence of updating, business service is sent to by the update synchronizing information that above-mentioned update server 300 will be travelling through firewire On device 100, and inquiry request will be sent to social network server according to the title for passing through firewire by the service server 100 400.By the social network server 400 according to inquiry request, passing through the title of firewire, passing through the map of firewire and passing through fire The weaponry of line carry out retrieval obtain QQ group where the user A and other with to pass through firewire QQ group associated, and will retrieve The QQ pocket transmission of acquisition is to service server 100;The more new information that service server 100 will be travelling through firewire at this time is sent to QQ Group, specifically, can be sent to by way of group message QQ group it is interior or be sent to each QQ groups in the form of timely message Interior member can additionally push the more new information that firewire is passed through in display by way of bulletin.User A is in user terminal When logging in QQ on 200, will receive and show that this passes through the more new information of firewire, user A can by clicking the more new information, thus The local upgrading scanning download module of triggering believes the local version number for passing through firewire of user terminal 200 and local file version Breath is scanned, and is sent to after the completion of scanning and is updated server 300.Server 300 is updated to wear according to user terminal 200 is local The firewire that passes through that more version number of firewire and the inquiry of local file version information obtain 200 current version of user terminal is updated to mesh Mark version passes through the patch file updated required for firewire, forms more new configuration file;And the more new configuration file is sent To user terminal 200, so that the upgrading scanning download module of user terminal 200 carries out the downloading and installation of patch file.
The invention proposes a kind of Oftware updating methods.Referring to Fig. 3, the Oftware updating method of the embodiment includes following step It is rapid:
Step S10, service server obtains the more new information of software to be updated, and the more new information of software to be updated is pushed away It send to the social networks group with the software context to be updated;
The patch that Oftware updating method provided in this embodiment can be applied to Games Software updates, above-mentioned social networks group Group can be liked or the population of feature is to together can be with for QQ group, UC crowds, the prosperous group of Ali and Fetion group etc. by identical It chats and the group of the platform exchanged.The content of above-mentioned more new information can be configured according to actual needs, such as may include Dbase to be updated, and the patch file title, patch file information and the download link that update etc..Specifically, when to more After official's game publisher server of new software issues software update information to be updated, the more new information of the software to be updated is sent out Send to service server, the service server can in form of a message or bulletin form by this, more new information pushes to social activity Network group.For example, each member in QQ group can be sent to group message or timely message, or shown in announcement board Show more new information.
Step S11, user terminal obtain the more new information from the social networks group, are obtained according to the more new information Take the version number of software to be updated and file version information on the user terminal;
When user logs in above-mentioned social networks group, above-mentioned more new information will acquire, and according in more new information Hold alternative to be updated.Such as when the user clicks the more new information when, the scanning download module of user terminal will be triggered, from And software to be updated on the user terminal is scanned, obtain version number and the file version information of software to be updated.Tool Body, user can also be directed to the content of above-mentioned more new information, selective carry out part update or all update.Such as it is above-mentioned The update of update and ground Fig. 2 in more new information including to map 1, user may be selected only to map 1 and be updated or only over the ground Fig. 2 is updated or to map 1 and ground Fig. 2 while being updated.
Step S12, the user terminal is sent according to the version number of the software to be updated and file version information to be updated Request extremely updates server;
Step S13, the update server send corresponding more new configuration file to the use according to update request Family terminal;The more new configuration file includes the information of each patch file in the package informatin and each download package of download package;
Above-mentioned file version information may include filename, file size and file Hash etc..Above-mentioned update server is used In after software upgrading publisher server will need the patch file updated to upload to CDN source server, obtain to patch file Corresponding link, file size, configuration and respective upgrades version information.User terminal transmission is got when updating server When updating request, according to the version number and file version information for updating the software to be updated in request, looked on updating server It askes and obtains patch file list configuration that the software upgrading to be updated of the user terminal is updated to updated version needs (i.e. Update the more new configuration file that server 300 is sent).The package informatin of above-mentioned download package includes multiple fields: under filename, N packet It carries chain, N packet Hash, D packet and downloads chain, D packet Hash, wherein separator is equipped between adjacent field, the separation in the present embodiment Symbol be question mark (?), N packet is full dose packet, and D packet is difference packet.It may include multiple patch files in each download package, such as text Part [Package1] arrives [PackageN], and the information that each patch file includes is multiple fields: filename path, upgrading are above Part Hash (algorithm of file Hash is CRC32 perhaps SHA or Md5), upgrading after file Hash, upgrading preceding document size, File size after upgrading;Separator is wherein equipped between adjacent field.In the present embodiment the separator be question mark (?), Hash For Hash.
Step S14, the user terminal are updated processing to the software to be updated according to the more new configuration file.
After user terminal receives above-mentioned more new configuration file, user terminal will will be visited according to the more new configuration file It asks CDN source server, and download package is downloaded on CDN source server, it, can automatic or hand after the completion of download package downloading Dynamic installation, to complete software patch update.It is understood that p2p and p2s mode can be used during downloading.
The present invention is pushed to the more new information of software to be updated and the software context to be updated by service server Social networks group, when user terminal gets the more new information by the social networks group, it is whole that scanning obtains user The version number of software to be updated and file version information on end, and the version number and file version information are sent to more new demand servicing Device, by the more new configuration file of update server push one to user terminal, to make user terminal according to more new configuration file It is updated.Since the present invention carries out unified push by using more new information of the social networks group to software, to guarantee The timeliness that user terminal updates software patch, improves the safety of software used.In addition, the notice concentrated more is held The building-up effect for easily forming p2p may advantageously facilitate the formation that small range user updates p2p.The upgrading of software updates simultaneously, is not required to The corresponding upgrading device of multiple softwares is installed, a general solution can be used.
Further, referring to Fig. 4, the second embodiment of invention software update method is provided, is implemented first On the basis of example, Oftware updating method provided in this embodiment is before executing above-mentioned steps S10 further include:
Step S15, the service server receive the more new information for the software to be updated that the update server is sent;
Step S16, the service server is searched in social network server according to the more new information and it is described to Update the social networks group of software context.
After software upgrading publisher server will need the patch file updated to upload to CDN source server, obtain to benefit The corresponding link of fourth file, file size, configuration and respective upgrades version information.And it sends and updates information to business service Device will update in content synchronization to service server.Above-mentioned service server is according to update acquisition of information software to be updated Title, according to the title of the software to be updated, from social network server social networks group data library lookup with should be to Update the social networks group of software context.Such as the social activity can be judged according to the description of message content or group in group Network group whether with software context to be updated.Specifically, by taking games as an example, a certain user creates a QQ by QQ Group, firewire is such as passed through in the settable QQ groups of game mainly discussed in the QQ groups of group's description information.In this group it is all at The information that member discusses all is information relevant to firewire is passed through, which can be to pass through firewire map, pass through firewire Weaponry etc..Can by the keyword messages such as dbase, software inhouse information carry out QQ group hunting, with obtain with to Update the social networks group of software context.
Further, referring to Fig. 5, the 3rd embodiment of Oftware updating method is provided, in the base that first implements embodiment On plinth, above-mentioned steps S16 is specifically included in Oftware updating method provided in this embodiment:
Step S161, the service server send inquiry request to the social networking service according to the more new information Device;
Step S162, the social network server are inquired associated with the software to be updated according to the inquiry request Social networks group;
Step S163, the social network server sieve in social networks group associated with the software to be updated Select the social networks group that group member number is greater than second threshold greater than first threshold and group message number;
Social networks group after screening is sent to the business service by step S164, the social network server Device.
After software upgrading publisher server will need the patch file updated to upload to CDN source server, obtain to benefit The corresponding link of fourth file, file size, configuration and respective upgrades version information.And it sends and updates information to business service Device will update in content synchronization to service server.Above-mentioned service server sends inquiry request to society according to more new information Network server is handed over, which includes the title of software to be updated.The social network server is according in inquiry request Dbase to be updated is searched and the group information of the names associate of the software to be updated in social networks group data library.Example Such as can according to the description of message content or group in group, judge the social networks group whether with software context to be updated. Specifically, by taking games as an example, a certain user creates a QQ groups by QQ, settable in the QQ groups of group's description information to be somebody's turn to do The QQ groups of game mainly discussed, such as pass through firewire.The information that all members in this group discuss all is related to firewire is passed through Information, which can be to pass through firewire map, the weaponry for passing through firewire etc..Can by dbase, The keyword messages such as software inhouse information carry out QQ group hunting, to obtain the social networks group with software context to be updated.By Social networks group is screened in the present embodiment, only by update message push to group member number greater than first threshold, And group message number is greater than the social networks group (i.e. the biggish social networks group of liveness) of second threshold, to reduce The burden of push.
It is understood that when pushing to QQ group member with timely message, according to the timely message count of group member Judge the liveness of group member, and by more new information and when message form push to the biggish group member of liveness, To improve the specific aim of more new information push.
Further, referring to Fig. 6, the fourth embodiment of Oftware updating method is provided, in any of the above-described implementation embodiment On the basis of, the package informatin of above-mentioned download package includes full dose package informatin and difference packet in Oftware updating method provided in this embodiment Information;
Above-mentioned steps S14 includes:
Step S141, the user terminal will upgrade preceding document Hash and the file version information in the patch file Middle file Hash is compared, and determines downloading full dose packet or downloading difference packet according to the result of comparison;
Step S142 downloads corresponding full dose packet according to full dose package informatin when determining downloading full dose packet;It is downloaded when determining When difference packet, corresponding difference packet is downloaded according to difference package informatin;
Step S143, after the completion of downloading, the user terminal carries out installation process.
The information of full dose packet is that above-mentioned N packet Hash claims to download chain with N packet, and the information of difference packet claims for above-mentioned D packet Hash and D Packet downloading chain.It, will patch in more new configuration file after user terminal, which receives, updates more new configuration file that server is sent Document upgrading preceding document Hash is compared with file Hash in the file version information, when the two is consistent, according to difference The information of packet downloads the difference packet in CDN source server;When the two is inconsistent, serviced according to the information of full dose packet in the source CDN Device downloads the full dose packet;P2p and p2s mode can be used during downloading.After the completion of downloading, carried out certainly by user terminal Dynamic installation or manually installation.
Further, referring to Fig. 7, the 5th embodiment of Oftware updating method is provided, implements embodiment the above-mentioned 4th On the basis of, Oftware updating method provided in this embodiment is before user terminal carries out installation process further include:
Step S144, the information of user terminal patch file in the more new configuration file according to, to the downloading Patch file carries out checking treatment in packet.
Above-mentioned download package includes that full dose packet and difference packet after the completion of download package downloading, can specifically be configured according to updating File Hash and file size after upgrading verify the download package currently downloaded after the upgrading of patch file in file, judge In the download package of preceding downloading file Hash and file size whether with file after the upgrading for corresponding to patch file in configuration file Hash and file after upgrading are in the same size.If consistent, then it represents that the download package currently downloaded does not have exception, can continue to pacify Dress;If inconsistent, then it represents that the download package currently downloaded has exception, needs to re-download;It then can be by user terminal under this Packet is carried to be re-downloaded.
As shown in Fig. 2, below further application note: the present embodiment will be done to the Oftware updating method of above-described embodiment In, above-mentioned software to be updated is to pass through firewire, and above-mentioned society's social activity network group is QQ groups, and user A is the member in certain QQ crowds.When When passing through firewire in the presence of updating, service server is sent to by the update synchronizing information that above-mentioned update server will be travelling through firewire On, and inquiry request is sent to social network server according to the title for passing through firewire by the service server.By the social activity Network server according to inquiry request, with the weaponry that passes through the title of firewire, pass through the map of firewire and pass through firewire into Row retrieval obtain QQ group where the user A and other with pass through that firewire is QQ group associated, and the QQ pocket transmission of acquisition will be retrieved To service server;The more new information that service server 100 will be travelling through firewire at this time is sent to QQ groups, specifically, can pass through group The form of group message is sent to QQ group members that are interior or being sent in each QQ crowds in the form of timely message, additionally can be with The more new information of firewire is passed through in push display by way of bulletin.When user A logs in QQ on the subscriber terminal, it will receive and show Show that this passes through the more new information of firewire, user A can be by clicking the more new information, to trigger local upgrading scanning downloading mould Block is scanned the version number for passing through firewire of user terminal local and local file version information, is sent to after the completion of scanning Update server.Server is updated to be inquired according to the version number for passing through firewire of user terminal local and local file version information Obtain user terminal current version passes through the patch file that passes through firewire required for update of the firewire update to target version, shape At more new configuration file;And more new configuration file is sent to the user terminal by this, for the upgrading scanning downloading mould of user terminal The downloading and installation of block progress patch file.
The above description is only a preferred embodiment of the present invention, is not intended to limit its scope of the patents, all to utilize the present invention Equivalent structure or equivalent flow shift made by specification and accompanying drawing content is directly or indirectly used in other relevant technology necks Domain is included within the scope of the present invention.

Claims (10)

1. a kind of Oftware updating method, which comprises the following steps:
Service server obtains the more new information of software to be updated, and by the more new information of software to be updated push to it is described to Update the social networks group of software context;
User terminal obtains the more new information from the social networks group, according to the end of user described in the update acquisition of information The version number of software to be updated and file version information on end;
The user terminal updates request to update clothes according to the version number of the software to be updated and file version information transmission Business device;
The update server sends corresponding more new configuration file to the user terminal according to update request;It is described more New configuration file includes the information of each patch file in the package informatin and each download package of download package;
The user terminal is updated processing to the software to be updated according to the more new configuration file.
2. Oftware updating method as described in claim 1, which is characterized in that the service server obtains software to be updated More new information, and by the more new information of software to be updated push to before the social networks group of the software context to be updated Further include:
The service server receives the more new information for the software to be updated that the update server is sent;
The service server is searched and the software context to be updated according to the more new information in social network server Social networks group.
3. Oftware updating method as claimed in claim 2, which is characterized in that the service server is according to the more new information It is searched in social network server and includes: with the social networks group of the software context to be updated
The service server sends inquiry request to the social network server according to the more new information;
The social network server inquires social networks group associated with the software to be updated according to the inquiry request Group;
The social network server filters out group member in social networks group associated with the software to be updated Number is 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 the service server by the social network server.
4. Oftware updating method as claimed any one in claims 1 to 3, which is characterized in that the package informatin of the download package Including full dose package informatin and difference package informatin;
The user terminal is updated processing according to the more new configuration file
The user terminal will upgrade in the patch file in preceding document Hash and the file version information file Hash into Row compares, and determines downloading full dose packet or downloading difference packet according to the result of comparison;
When determining downloading full dose packet, corresponding full dose packet is downloaded according to full dose package informatin;
When determining downloading difference packet, corresponding difference packet is downloaded according to difference package informatin;
After the completion of downloading, the user terminal carries out installation process.
5. Oftware updating method as claimed in claim 4, which is characterized in that the user terminal go back before installation process Include:
The user terminal according to the information of patch file in the more new configuration file, to patch file in the download package into Row checking treatment;The information of the patch file includes the Hash of patch file and the size of patch file.
6. a kind of software update system, which is characterized in that including service server, user terminal and update server, wherein
The service server is used to obtain the more new information of software to be updated, and the more new information of software to be updated is pushed to With the social networks group of the software context to be updated;
User terminal is used to obtain the more new information from the social networks group, uses according to the update acquisition of information The version number of software to be updated and file version information in the terminal of family;And according to the version number of the software to be updated and file version The transmission of this information updates request to update server;
The update server is also used to request to send according to the update corresponding more new configuration file to the user terminal; The more new configuration file includes the information of each patch file in the package informatin and each download package of download package;
The user terminal is also used to be updated processing to the software to be updated according to the more new configuration file.
7. software update system as claimed in claim 6, which is characterized in that the service server be also used to receive it is described more The more new information for the software to be updated that new demand servicing device is sent;And according to the more new information searched in social network server with The social networks group of the software context to be updated.
8. software update system as claimed in claim 7, which is characterized in that the software update system further includes social networks Server;
The service server is also used to send inquiry request to the social network server according to the more new information;
The social network server is used for according to inquiry request inquiry social network associated with the software to be updated Network group;And group member number is filtered out in social networks group associated with the software to be updated greater than the first threshold Value and group message number are greater than the social networks group of second threshold;Social networks group after screening is sent to the industry Business server.
9. the software update system as described in any one of claim 6 to 8, which is characterized in that the package informatin of the download package Including full dose package informatin and difference package informatin;
The user terminal is also used to that file in preceding document Hash and the file version information will be upgraded in the patch file Hash is compared, and determines downloading full dose packet or downloading difference packet according to the result of comparison;When determining downloading full dose packet, according to Full dose package informatin downloads corresponding full dose packet;When determining downloading difference packet, corresponding difference packet is downloaded according to difference package informatin; After the completion of downloading, installation process is carried out.
10. software update system as claimed in claim 9, which is characterized in that the user terminal is also used to according to more The information of patch file in new configuration file carries out checking treatment to patch file in the download package;The patch file Information includes 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 CN105279436A (en) 2016-01-27
CN105279436B true 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)

Families Citing this family (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
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
CN109918098A (en) * 2017-12-12 2019-06-21 优信数享(北京)信息技术有限公司 What a kind of APP heat updated mentions survey method, apparatus and system
CN109918097A (en) * 2017-12-12 2019-06-21 优信数享(北京)信息技术有限公司 A kind of method that binary difference calorimetric updates, apparatus and system
CN109819024A (en) * 2019-01-17 2019-05-28 平安城市建设科技(深圳)有限公司 Information-pushing method, device, storage medium and terminal based on data analysis
CN115291962A (en) * 2021-12-13 2022-11-04 上海仙途智能科技有限公司 Configuration data management method and device of automatic driving system

Citations (4)

* 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
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8595626B2 (en) * 2010-11-01 2013-11-26 International Business Machines Corporation Application recommendation

Patent Citations (4)

* 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
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

Also Published As

Publication number Publication date
CN105279436A (en) 2016-01-27

Similar Documents

Publication Publication Date Title
CN105279436B (en) Oftware updating method and system
CN108111331B (en) Method, device, storage medium, processor and system for acquiring update data packet
JP6644001B2 (en) Virus processing method, apparatus, system, device, and computer storage medium
US8261258B1 (en) Common installer client
CN104951480B (en) The indexing unit and method that resource stores in a kind of CDN system
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
US20140007084A1 (en) Method and system for synchronizing application programs across devices
US9274774B2 (en) Common installer server
US20070143379A1 (en) Metadata driven deployment of applications
CN103442026A (en) Application program processing method, device and system
CN104699511B (en) Plug-in unit upgrade method and device
CN109391673A (en) A kind of method, system and the terminal device of management update file
KR20160122254A (en) Method of deploying a set of software application(s)
CN105049514B (en) A kind of document down loading method and device
CN103036706A (en) Local processing method of application upgrading abnormity
CN103677898A (en) Method for checking loaded extension and/or plug-in on server side and server
US9749295B2 (en) Systems and methods for internet traffic analysis
CN105262739A (en) Security defense method, terminal, server, and system
CN106227541A (en) A kind of program updates download process method and mobile terminal
CN112702195A (en) Gateway configuration method, electronic device and computer readable storage medium
US20150160996A1 (en) Method, device, client end and system for network resource management
CN104092732A (en) Intelligent terminal software updating method and device
CN111176706A (en) Terminal upgrading method and device, electronic equipment and storage medium

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