[go: up one dir, main page]

CN101795203B - Method and device for downloading software upgrading data packet - Google Patents

Method and device for downloading software upgrading data packet Download PDF

Info

Publication number
CN101795203B
CN101795203B CN2009100071148A CN200910007114A CN101795203B CN 101795203 B CN101795203 B CN 101795203B CN 2009100071148 A CN2009100071148 A CN 2009100071148A CN 200910007114 A CN200910007114 A CN 200910007114A CN 101795203 B CN101795203 B CN 101795203B
Authority
CN
China
Prior art keywords
software
client
request message
upgrading
data bag
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
CN2009100071148A
Other languages
Chinese (zh)
Other versions
CN101795203A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2009100071148A priority Critical patent/CN101795203B/en
Publication of CN101795203A publication Critical patent/CN101795203A/en
Application granted granted Critical
Publication of CN101795203B publication Critical patent/CN101795203B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses a method and a device for downloading a software upgrading data packet. The method comprises the following steps: receiving a software upgrading resource list transmitted by an update server, wherein the software upgrading resource list comprises at least one piece of address information, and a software upgrading data packet is stored in a client corresponding to each piece of address information; in a point-to-point network, transmitting a first request message of downloading the software upgrading data packet to at least one client according to the address information; and receiving the software upgrading data packet transmitted by the client according to the first request message. A seed source capable of providing the software upgrading data packet is acquired by signaling interaction of the client with the update server, and needed data is downloaded from the seed source by the client. The software upgrading is performed by P2P and HTTP between universal clients, is suitable for the condition of high concurrency value of the terminal, occupies small exit bandwidth and reduces the bandwidth and load of the server. Meanwhile, the downloading speed of the software upgrading and the success ratio for the software upgrading can be improved, and the quality of service is improved.

Description

The method for down loading of software upgrade data bag and device
Technical field
The embodiment of the invention relates to communication technical field, relates in particular to a kind of method for down loading and device of software upgrade data bag.
Background technology
No matter be enterprise product or individual product's software, software automatic updating is absolutely necessary, but along with the increasing and the increase of software installation kit capacity of customer volume, and is increasingly high to server stress performance, bandwidth requirement.But because the server bandwidth resource-constrained, under the ever-increasing situation of customer volume, the error rate and the speed of download of software automatic updating show that day by day existing software upgrading technology can't reach user's requirement.If through limiting the number of users of software upgrading every day, will cause upgrade cycle long, and there is bigger compatibility issue in the mutual communication of the client of different editions.
Mainly be based on the auto-update of server formula in the prior art software upgrading scheme; Comprise that specifically client is through comparing to up-to-date version number of server lookup and the version number of oneself; If it is inconsistent then to server transmission download request; Server sends the desired data bag according to download request to client, carries out edition upgrading.
In realizing process of the present invention; The inventor finds to have following problem in the prior art at least: carry out the mutual completion software upgrading of signaling and data between client and the server; The client concurrency that server can be supported is limited; Server load is heavier, even causes server failure, and the client terminal software updating success rate is low; Client data bag speed of download is slower; Update time is longer; Even some client release compatibility issues can appear, and for requiring server, the software upgrading of satisfying client provide the installation version compatibility of download too high, and software upgrading has certain limitation.
Summary of the invention
The embodiment of the invention provides a kind of method for down loading and device of software upgrade data bag; In order to solve defectives such as server load of the prior art is heavy, the packet speed of download is slow, the software upgrade success rate is low; Realize signaling and data separating in the software upgrade process, improve the software upgrade success rate.
The embodiment of the invention provides a kind of method for down loading of software upgrade data bag, comprising:
Receive software upgrading the Resources list that upgrade server sends, said software upgrading the Resources list comprises at least one address information, and each address information clients corresponding stores the software upgrade data bag;
In point to point network, send first request message of downloading said software upgrade data bag at least one client according to said address information;
Receive the said software upgrade data bag that said client is sent according to said first request message.
The embodiment of the invention provides a kind of subscriber equipment, comprising:
First receiver module is used to receive software upgrading the Resources list that upgrade server sends, and said software upgrading the Resources list comprises at least one address information, and each address information clients corresponding stores the software upgrade data bag;
First data demand module; Be used at point to point network; Send first request message of downloading said software upgrade data bag according to said address information at least one client, and receive the said software upgrade data bag that said client is sent according to said first request message.
The embodiment of the invention provides a kind of upgrade server, comprising:
Second receiver module is used to receive second request message that carries out software release upgrade that subscriber equipment sends, and said second request message comprises redaction information;
First sending module; Be used for sending software upgrading the Resources list to said subscriber equipment according to said second request message; Said software upgrading the Resources list comprises the address information of several clients, and said client stores has the software upgrade data bag corresponding with said redaction information.
The embodiment of the invention provides a kind of Resource Server, comprising:
The 3rd receiver module is used for receiving the 5th request message of the said software upgrade data bag of the download fragment data that subscriber equipment sends;
Second sending module is used for sending said fragment data according to said the 5th request message to said subscriber equipment.
The embodiment of the invention provides a kind of software upgrade data bag download system, comprising:
Upgrade server; Be used to receive second request message that carries out software release upgrade that subscriber equipment sends; Said second request message comprises redaction information; And send software upgrading the Resources list to said subscriber equipment according to said second request message, and said software upgrading the Resources list comprises the address information of several clients, said client stores has the software upgrade data bag corresponding with said redaction information;
Be in several clients in the point to point network; Be used to receive first request message of the said software upgrade data bag of download that said subscriber equipment sends according to said address information, and the said software upgrade data bag of being stored that sends according to said first request message.
The method for down loading and the device of the software upgrade data bag that the embodiment of the invention provides, client is through knowing the seed source that the software upgrade data bag can be provided with the Signalling exchange of upgrade server, client is downloaded desired data from seed source.The auto-update of software is carried out in P2P and breakpoint transmission between the general client, adapts to the big situation of terminal concurrence amount, and it is less to take outlet bandwidth, reduces the bandwidth and the load of server; And can improve the speed of download and the software upgrade success rate of software upgrading, improve service quality.
Description of drawings
Fig. 1 is method for down loading embodiment one flow chart of software upgrade data bag of the present invention;
Fig. 2 is method for down loading embodiment two signaling diagrams of software upgrade data bag of the present invention;
Fig. 3 sets up P2P group of networks embodiment signaling diagram between client of the present invention;
Fig. 4 is mutual embodiment signaling diagram for P2S of the present invention downloads;
Fig. 5 is mutual embodiment signaling diagram for P2P of the present invention downloads;
Fig. 6 is subscriber equipment embodiment one structural representation of the present invention;
Fig. 7 is subscriber equipment embodiment two structural representations of the present invention;
Fig. 8 is a upgrade server example structure sketch map of the present invention;
Fig. 9 is a Resource Server example structure sketch map of the present invention;
Figure 10 is a software upgrade data bag download system example structure sketch map of the present invention.
Embodiment
Further specify the technical scheme of the embodiment of the invention below in conjunction with accompanying drawing and specific embodiment.
Fig. 1 is method for down loading embodiment one flow chart of software upgrade data bag of the present invention, and as shown in Figure 1, this method comprises:
Step 100 receives software upgrading the Resources list that upgrade server sends, and said software upgrading the Resources list comprises at least one address information, and each address information clients corresponding stores the software upgrade data bag;
The version that client installed software in order to guarantee of software is installed is a latest edition; Can periodically from upgrade server, inquire about and know latest version information; If find that software version has renewal; Then send second request message that carries out software release upgrade to upgrade server, said second request message comprises redaction information, so that upgrade server can be downloaded used software upgrading the Resources list according to this second request message return data.After upgrade server receives this second request message; Can be according to the redaction information inquiry seed source of being asked; That is to say the corresponding software upgrade data bag of redaction information which client inquiry has stored to ask with the client of sending upgrade request; And the client that will inquire about the transmission request that at least one address information composite software upgrading the Resources list of seed source of obtaining sends, supply it to carry out download and upgrade.By on can know in said software upgrading the Resources list and comprise at least one address information that and all corresponding client of each address information all stores the required software upgrade data bag of client that sends upgrade request on certain client.To equality, upgrade server can carry out the seed source search through broadcast type between the client, and the scope of search is configurable, for example can support 5 at most.
Described upgrade server only is used for the version information of software and seed source information are managed; The download function of software upgrade data bag is not provided for client; Client can obtain to download the seed source information of required software upgrade data bag through the Signalling exchange of upgrade server, and packet is to be provided by other clients or functional entity.
Step 101 in point to point network, is sent first request message of downloading said software upgrade data bag according to said address information at least one client;
Receive software upgrading the Resources list of upgrade server transmission when the client of sending the software upgrading request after; Joining point to point network is in the P2P network; And in this P2P network, search whether there is the client that stores the software upgrade data bag that provides in software upgrading the Resources list; Be in particular the client of sending the software upgrading request and at first will add in the upgrading multi-broadcast group in the P2P network, after joining the software upgrading multi-broadcast group, the client that in software upgrading the Resources list, provides, equally also join in the software upgrading multi-broadcast group is sent the 3rd request message that becomes the upgrading partner; Request is set up the upgrading partnership with this seed source; After receiving the 3rd request message as the client of seed source,, then return success response message if agree to set up the upgrading partnership.The client of sending the software upgrading request receives the success response message of the 3rd request message that sends as the client of seed source, and with its foundation upgrading partnership, promptly can download required software upgrade data bag from this client as seed source.In the P2P network, be reciprocity between each client, promptly client both can be Data Receiving person, also can be the data sender.
After sending the client of software upgrading request and setting up completion upgrading partnership as the client of seed source; The client of sending the software upgrading request is to sending first request message as at least one client in the client of seed source, request downloaded software upgrading data packet.Be specially; The client of sending the software upgrading request is according to the address information in software upgrading the Resources list; Send said first request message at least one client; Promptly can be to send first request message according to address information in software upgrading the Resources list to a corresponding client of this address information, also can be to send first request message according to a plurality of address informations in software upgrading the Resources list to the corresponding a plurality of clients of these a plurality of address informations.Selecting a client still is that a plurality of clients are carried out data and downloaded and can be determined according to actual conditions by the client of sending the software upgrading request.
Step 102 receives the said software upgrade data bag that said client is sent according to said first request message.
After receiving first request message as the client of seed source, software stored upgrading data packet own is returned to the client of sending the software upgrading request, the client of sending the software upgrading request receives the software upgrade data bag that seed source sends.In order to prevent that downloading interruption because of abnormal conditions generation data causes the data failed download; In carrying out the data process of downloading, can adopt the breakpoint transmission technology in the present embodiment; Can on the basis of institute's data downloaded, proceed the download of software upgrade data bag to have no progeny in being implemented in; And need not to download again, avoid the wasting of resources, improve data transmission efficiency.Send the client application breakpoint transmission technology of software upgrading request, receive the fragment data of seed source according to the software upgrade data bag of first request message transmission.In order further to improve the speed of download of data; Can a packet be divided into a plurality of fragment datas; Like this; Send the client of software upgrading request and can download different fragment datas from a plurality of different seed source clients simultaneously, realize the download of whole software upgrading data packet through the parallel mode of downloading.
In the present embodiment for fear of the client that the software upgrade data bag is provided because of abnormal off-line, transfer of data is interrupted, and causes the waste of resource; Can be when carrying out the software upgrade data packet procedures; Send heartbeat message by the client of sending the software upgrading request to the seed source client, monitor this client and whether be in line states, if the seed source client is online; Then after receiving heartbeat message, can return response immediately and show the download that can continue to provide data.After having sent heartbeat message, do not receive any response if send the client of software upgrading request; Then show the seed source client abnormal off-line required software upgrade data bag can't normally be provided, the client of then sending the software upgrading request can realize that data download to the download request that other seed source clients are sent.
In the method for down loading of the software upgrade data bag that present embodiment provides, client is through knowing the seed source that the software upgrade data bag can be provided with the Signalling exchange of upgrade server, and client is downloaded desired data from seed source.The auto-update of software is carried out in P2P and breakpoint transmission between the general client, adapts to the big situation of terminal concurrence amount, and it is less to take outlet bandwidth, reduces the bandwidth and the load of server; And can improve the speed of download and the software upgrade success rate of software upgrading, improve service quality.
In the above-described embodiments; If sending the client reception seed source client of software upgrading request interrupts according to the software upgrade data bag that first request message sends; Then in the P2P network; The client of sending the software upgrading request is sent the 4th request message of the fragment data of not downloading in the downloaded software upgrading data packet according to address information other clients in software upgrading the Resources list; That is to say that working as a seed source client interrupts because of abnormal off-line causes data packet transmission; Then can in software upgrading the Resources list, search the seed source client that another can provide the software upgrade data bag, and send the 4th request message according to corresponding address information, the fragment data of not downloading is as yet downloaded in request on the basis of the fragment data of having downloaded.After another kind of component client receives the 4th request message, the fragment data of asking with returning, the client of sending the software upgrading request receives the said fragment data that another kind of component client is sent.
If comprising, the software upgrade data that the client reception seed source client of transmission software upgrading request is sent according to first request message interrupts; And when not having in software upgrading the Resources list the seed source client of software upgrade data bag can be provided; The 5th request message of the fragment data that the client of transmission software upgrading request is not downloaded in Resource Server transmission downloaded software upgrading data packet; After Resource Server receives the 5th request message; Return the fragment data of the software upgrade data bag of being asked of storage, the client of sending the software upgrading request receives the fragment data of not downloading as yet that Resource Server sends on the basis of the fragment data of having downloaded.
Wherein, Store the pairing software upgrade data bag of various software redactions in the Resource Server; When the seed source client in the P2P network can not provide desired data for the client of the request of sending; The client of the request of sending can directly be sent request of data to Resource Server, and therefrom obtains desired data.In the present embodiment; Be used to provide the server of software upgrade service to separate with existing; Form Resource Server and upgrade server, described upgrade server only is used for the version information of software and seed source information are managed, and is responsible for carrying out Signalling exchange with client; And Resource Server is used for the software upgrade data bag is managed, and realizes separating of data and signaling through Resource Server with upgrade server, can realize parallel expansion.
Present embodiment provides a kind of auto-update of the client software based on the P2P network; Carry out breakpoint transmission each other between the client that utilization has been upgraded or part has been upgraded and carry out auto-update; Make full use of the bandwidth resources of client; Greatly reduce the load of Resource Server, reduce the occupation rate of bandwidth.Both reduced the operation cost of server, can also improve service quality.
Fig. 2 is method for down loading embodiment two signaling diagrams of software upgrade data bag of the present invention, and as shown in Figure 2, this method comprises:
Step 1a, customer end A is inquired about redaction to upgrade server, and carries current version number;
Step 2a, upgrade server returns response message, carries latest edition this shop;
Step 3a, customer end A judges whether that according to latest edition this shop needs carry out software upgrading;
Step 4a if need, then sends the request message that obtains redaction to upgrade server;
Step 5a, upgrade server comprises in this software upgrading the Resources list that according to request message composite software upgrading the Resources list several store the address information of the client of software upgrade data bag;
Step 6a, upgrade server sends software upgrading the Resources list to customer end A;
Step 7a, customer end A adds the P2P network;
Step 8a, customer end A judges whether there is the partner's client that has latest edition in the P2P network;
Step 9a if exist, then sends the breakpoint transmission data download request of supporting to customer end B;
Step 10a, customer end B responds request, returns data download;
Step 11a, in the data downloading process, customer end A is sent heartbeat message to customer end B;
Step 12a, customer end A is known customer end B not in the P2P network through heartbeat message, then sends to customer end B and breaks off the message that P2P connects;
Step 13a if data are downloaded as yet completion on the customer end A, then continues to set up new P2P and downloads;
Step 14a on customer end B downloaded files basis, continues to send the request of breakpoint transmission data download to client C;
Step 15a, client C responds request, returns data download;
Step 19a judges whether that download finishes;
Step 20a finishes if download, and then carries out data check again;
Step 21a, after the verification succeeds, the prompting user carries out software upgrading.
In the above-described embodiments; If the data of customer end A are downloaded as yet and are not accomplished; Also data download on other seed sources such as for example client C not; And directly download not data downloaded to the Resource Server request, therefore can use following step 16a, step 17a and step 18a replaces step 13a, step 14a and step 15a in the above-mentioned flow process, is specially:
Step 16a if data are downloaded as yet completion on customer end A, then downloads from the enterprising line data of Resource Server;
Step 17a on customer end B downloaded files basis, continues to send the request of breakpoint transmission data download to Resource Server;
Step 18a, Resource Server responds request, returns data download;
After customer end A is finished software upgrading, with the upgrading from successful information with the upgrading after software version information send to upgrade server, for other client the software upgrade data bag is provided as the P2P seed source.
Should be noted that in the above-described embodiments it is to download in the flow process in whole data to carry out incessantly that customer end A is sent heartbeat message to customer end B, downloads effectively to guarantee data.
Fig. 3 sets up P2P group of networks embodiment signaling diagram between client of the present invention, and as shown in Figure 3, this method comprises:
Step 1b, customer end A, customer end B and client C join respectively in the upgrading multi-broadcast group;
Step 2b, customer end A is carried out multicast and is sought the upgrading partner, sends to add to client C to be the upgrading partnership request;
It is the partner that upgrades that step 3b, client C judge whether to agree customer end A is added;
Step 4b if agree, then sends to customer end A and agrees to add the response message for the upgrading partner;
Step 5b, it is the partner that upgrades that customer end A adds client C;
Step 6b, customer end A is carried out multicast and is sought the upgrading partner, sends to add to customer end B to be partnership request;
Step 7b, it is the partner that upgrades that customer end B judges whether to agree customer end A is added;
Step 8b if agree, then sends to customer end A and agrees to add the response message for the upgrading partner;
Step 9b, it is the partner that upgrades that customer end A adds customer end B.
Customer end A is sent to customer end B and client C and is added for upgrading partnership request and be regardless of sequencing in present embodiment, also can carry out simultaneously.The upgrading multi-broadcast group here can be a virtual group; After each client all joins in the upgrading multi-broadcast group of P2P network; Any client wherein all can provide required data and each client all can be used as seed source for other client to other its client-requested data download.
Fig. 4 is mutual embodiment signaling diagram for P2S of the present invention downloads, and is as shown in Figure 4, and this method comprises:
Step 1c, client is the request message of file fragment to the fragment data that Resource Server sends the downloaded software upgrading data packet;
Step 2c, Resource Server sends required file fragment to client;
Step 3c, client judges whether to have downloaded all file fragments;
Step 4c if downloaded all file fragments, then carries out verification to file;
Step 5c is if the verification failure then will be carried out the download of file data again;
Step 6c if verification succeeds is then pointed out user installation this document, carries out software upgrading.
In the method that present embodiment provides; When to be the seed source client that relates in software upgrading the Resources list of sending of data download request client owing to reason such as roll off the production line can not provide desired data for the client that request msg is downloaded, client and Resource Server carried out from Resource Server, downloading alternately desired data at upgrade server.Certainly client also can be directly and Resource Server carry out the data download alternately, adopt which kind of data downloading mode to decide according to real network resource allocation and loading condition.
Fig. 5 is mutual embodiment signaling diagram for P2P of the present invention downloads, and is as shown in Figure 5, and this method comprises:
Step 1d, customer end A is sent data request information to customer end B, the fragment data of request downloaded software upgrading data packet;
Step 2d, customer end B is carried required fragment data to customer end A return data request response;
Step 3d, customer end A is sent heartbeat message to customer end B, and whether the monitoring customer end B is online;
Step 4d, customer end B is returned heartbeat message to customer end A;
Step 5d, customer end A judges whether to have downloaded all fragment datas;
Step 6d if downloaded all fragment datas, then carries out verification to file;
Step 7d if verification succeeds is then pointed out user installation this document, carries out software upgrading.
Step 8d, customer end A is sent to customer end B and is broken off the message that P2P connects.
After customer end A is finished software upgrading, with the upgrading from successful information with the upgrading after software version information send to upgrade server, for other client the software upgrade data bag is provided as the P2P seed source.
Should be noted that in the above-described embodiments it is in whole download flow process, to carry out incessantly that customer end A is sent heartbeat message to customer end B, download effectively to guarantee data.
Among above-mentioned each embodiment between the general client P2P and breakpoint transmission carry out the auto-update of software, adapt to the big situation of terminal concurrence amount, make full use of the bandwidth resources of client, reduce the bandwidth and the load of server; And can improve the speed of download and the software upgrade success rate of software upgrading, and both having reduced the operation cost of server, can also improve service quality.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be accomplished through the relevant hardware of program command; Aforesaid program can be stored in the computer read/write memory medium; This program the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
Fig. 6 is subscriber equipment embodiment one structural representation of the present invention; As shown in Figure 6; This subscriber equipment comprises first receiver module 11 and first data demand module 12; Wherein first receiver module 11 is used to receive software upgrading the Resources list that upgrade server sends, and this software upgrading the Resources list comprises at least one address information, and each address information clients corresponding stores the software upgrade data bag; First data demand module 12 is used for the network at P2P, sends first request message of downloaded software upgrading data packet according to this address information at least one client, and receives the software upgrade data bag that client is sent according to first request message.
Subscriber equipment then sends second request message to upgrade server if the current version of the software that discovery is safeguarded self is different with latest edition, and software release upgrade is carried out in request.After upgrade server receives request message; Can be according to the redaction information inquiry seed source of being asked; That is to say the corresponding software upgrade data bag of redaction information which client inquiry has stored to ask with the client of sending upgrade request; And the client of the address information composite software upgrading the Resources list that will inquire about at least one seed source that obtains transmission request of sending, supply it to carry out download and upgrade.By on can know in said software upgrading the Resources list and comprise at least one address information that and all corresponding client of each address information all stores the required software upgrade data bag of client that sends upgrade request on certain client.After first receiver module 11 receives software upgrading the Resources list of upgrade server transmission; At least one client in the client that in software upgrading the Resources list, relates to through first data demand module 12 is sent first request message of downloaded software upgrading data packet; Be specially; Subscriber equipment promptly sends the client of software upgrading request according to the address information in software upgrading the Resources list; Send said first request message at least one client; Promptly can be to send first request message according to address information in software upgrading the Resources list to a corresponding client of this address information, also can be to send first request message according to a plurality of address informations in software upgrading the Resources list to the corresponding a plurality of clients of these a plurality of address informations.Selecting a client still is that a plurality of clients are carried out data and downloaded and can determine according to actual conditions by sending software upgrading requesting users equipment.After client was returned desired data according to request, subscriber equipment received each fragment data of downloaded software upgrading data packet through first data demand module 12.
The described subscriber equipment of present embodiment also can be described as client, and it is through knowing the seed source that the software upgrade data bag can be provided with the Signalling exchange of upgrade server, and client is downloaded desired data from seed source.The auto-update of software is carried out in P2P and breakpoint transmission between the general client, adapts to the big situation of terminal concurrence amount, and it is less to take outlet bandwidth, reduces the bandwidth and the load of server; And can improve the speed of download and the software upgrade success rate of software upgrading, improve service quality.
Fig. 7 is subscriber equipment embodiment two structural representations of the present invention; As shown in Figure 7; This subscriber equipment comprises first receiver module 11 and first data demand module 12; Comprise that also edition upgrading request module 13 is used for sending second request message that carries out software release upgrade to upgrade server, this second request message comprises redaction information, so that upgrade server returns software upgrading the Resources list according to said second request message.The subscriber equipment that relates in the foregoing description will can be accomplished through edition upgrading request module 13 to the up-to-date version information of upgrade server query software.
When subscriber equipment interrupts from a seed source client-requested software upgrade data bag; Then can be in the P2P network through first data demand module 12; Send the 4th request message of downloading the fragment data of not downloading in this software upgrade data bag according to the address information in software upgrading the Resources list to other clients; Other client continues to send desired data according to request to subscriber equipment, and subscriber equipment receives the fragment data that other clients are sent according to the 4th request message through first data demand module 12.
When subscriber equipment interrupts from a seed source client-requested software upgrade data bag; And when not having in the P2P network client of desired data to be provided for this subscriber equipment; Subscriber equipment can also send the 5th request message of downloading the fragment data of not downloading in this software upgrade data bag to Resource Server through first data demand module 12, and receives the required fragment data that Resource Server sends according to the 5th request message.
Can also comprise first memory module 14 that is used to store said software upgrade data bag in the subscriber equipment, when the user need carry out software upgrading, from first memory module 14, obtain upgrade file according to the upgrading indication and carry out software upgrading.
The described subscriber equipment of present embodiment can adapt to the different software upgrade case through to different client side or upgrade server request msg.The auto-update of software is carried out in P2P and breakpoint transmission between the general client, adapts to the big situation of terminal concurrence amount, reduces the bandwidth and the load of server; And can improve the speed of download and the software upgrade success rate of software upgrading, improve service quality.
Fig. 8 is a upgrade server example structure sketch map of the present invention; As shown in Figure 8; This upgrade server comprises second receiver module 21 and first sending module 22; Wherein second receiver module 21 is used to receive second request message that carries out software release upgrade that subscriber equipment sends, and this second request message comprises redaction information; First sending module 22 is used for sending software upgrading the Resources list according to this second request message to subscriber equipment, and this software upgrading the Resources list comprises the address information of several clients, and client stores has the software upgrade data bag corresponding with redaction information.
Particularly; User equipment requests obtains redaction information; After second receiver module 21 in the upgrade server receives this request; The redaction information of carrying is sent to first sending module 22; Redaction information composite software upgrading the Resources list that first sending module 22 is required according to subscriber equipment comprises the address information that several can provide its required software upgrade data bag for subscriber equipment in this software upgrading the Resources list, subscriber equipment can obtain the software upgrade data bag from clients corresponding according to this address information.
The upgrade server that present embodiment provides is realized the management to upgraded version and seed source client-side information; Only carry out Signalling exchange, and the data download service is not provided, reduce the load of upgrade server with subscriber equipment; Subscriber equipment is downloaded desired data from client in point to point network; Further improve the concurrency of customer equipment data download and the speed that data are downloaded, improve the software upgrade success rate, improve service quality.
Fig. 9 is a Resource Server example structure sketch map of the present invention; As shown in Figure 9; This Resource Server comprises the 3rd receiver module 31 and second sending module 32, and wherein the 3rd receiver module 31 is used for receiving the 5th request message of the downloaded software upgrading data packet fragment data that subscriber equipment sends; Second sending module 32 is used for sending fragment data according to the 5th request message to subscriber equipment.
Particularly; Client in software upgrading the Resources list that subscriber equipment sends according to upgrade server all can not provide data for subscriber equipment; Then subscriber equipment can turn to the upgrade server request to download still uncompleted data on the basis of original data download.After the 3rd receiver module 31 in the Resource Server receives the request of subscriber equipment, send required fragment data through second sending module 32 to subscriber equipment according to request.Can also comprise in the Resource Server that second memory module, 33, the second sending modules 32 that are used to store said software upgrade data bag can obtain corresponding data from second memory module 33 and send to subscriber equipment.
The Resource Server that present embodiment provides is realized the file management of software upgrade data bag; Not responsible and subscriber equipment carries out Signalling exchange, only is used to the user data resource is provided, and reduces the load of Resource Server; Subscriber equipment is downloaded desired data from client in point to point network; Further improve the concurrency of customer equipment data download and the speed that data are downloaded, improve the software upgrade success rate, improve service quality.
Figure 10 is a software upgrade data bag download system example structure sketch map of the present invention; Shown in figure 10; This software upgrade data bag download system comprises upgrade server 2 and is in several clients 1 in the point to point network; Wherein upgrade server 2 is used to receive second request message that carries out software release upgrade that subscriber equipment sends, and said second request message comprises redaction information, and sends software upgrading the Resources list according to said second request message to subscriber equipment; Said software upgrading the Resources list comprises the address information of several clients, and client 1 stores the software upgrade data bag corresponding with said redaction information; Client 1 is used to receive first request message of the said software upgrade data bag of download that subscriber equipment sends according to said address information, and the said software upgrade data bag of being stored that sends according to said first request message.The client that software upgrading is carried out in the request of refering in particular to of described subscriber equipment.
System also comprises Resource Server 3.Resource Server 3 is used for receiving the 5th request message of the said software upgrade data bag of the download fragment data that subscriber equipment sends, and sends the said fragment data of being stored to subscriber equipment according to said the 5th request message.
Upgrade server and Resource Server that upgrade server that relates in the present embodiment and Resource Server can adopt aforementioned each embodiment to provide repeat no more here.
In the software upgrade data bag download system that present embodiment provides, an original server is divided into two independently servers, and is respectively applied for the mutual of completion signaling and data; Realized separating of signaling and Data Control; Can realize parallel expansion, improve auto-update speed and efficient, reduce the bandwidth and the load of server; Improve the software upgrade success rate, improve service quality.
What should explain at last is: above embodiment is only in order to explaining technical scheme of the present invention, but not to its restriction; Although with reference to previous embodiment the present invention has been carried out detailed explanation, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these are revised or replacement, do not make the spirit and the scope of the essence disengaging various embodiments of the present invention technical scheme of relevant art scheme.

Claims (11)

1. the method for down loading of a software upgrade data bag is characterized in that, comprising:
Receive software upgrading the Resources list that upgrade server sends, said software upgrading the Resources list comprises at least one address information, and each address information clients corresponding stores the software upgrade data bag;
In point to point network, send first request message of downloading said software upgrade data bag at least one client according to said address information;
Receive the said software upgrade data bag that said client is sent according to said first request message;
Wherein, after software upgrading the Resources list that said reception upgrade server sends, in point to point network, send first request message of downloading said software upgrade data bag according to said address information at least one client and comprise before:
Join the software upgrading multi-broadcast group in the said point to point network, and the said client that is in said software upgrading multi-broadcast group in said software upgrading the Resources list is sent the 3rd request message that becomes the upgrading partner;
Receive the success response message of said the 3rd request message of said client transmission, and set up the upgrading partnership with said client.
2. the method for down loading of software upgrade data bag according to claim 1 is characterized in that, comprises before software upgrading the Resources list that said reception upgrade server sends:
Send second request message that carries out software release upgrade to said upgrade server, so that said upgrade server returns said software upgrading the Resources list according to said second request message, said second request message comprises redaction information.
3. the method for down loading of software upgrade data bag according to claim 1 is characterized in that, the said client of said reception comprises according to the said software upgrade data bag that said first request message sends:
Application breakpoint transmission technology receives the fragment data of said client according to the said software upgrade data bag of said first request message transmission.
4. the method for down loading of software upgrade data bag according to claim 3 is characterized in that, said method also comprises:
Send in the process of fragment data receiving said client, send to said client and be used to monitor the whether online heartbeat message of said client.
5. according to the method for down loading of the described arbitrary software upgrade data bag of claim 1 to 4, it is characterized in that if the said client of said reception is interrupted according to the said software upgrade data bag that said first request message sends, then said method also comprises:
In said point to point network, send the 4th request message of downloading the fragment data of not downloading in the said software upgrade data bag according to said address information other clients in said software upgrading the Resources list;
Receive the said fragment data that said other clients are sent according to said the 4th request message.
6. according to the method for down loading of the described arbitrary software upgrade data bag of claim 1 to 4, it is characterized in that if the said client of said reception is interrupted according to the said software upgrade data bag that said first request message sends, then said method also comprises:
Send the 5th request message of downloading the fragment data of not downloading in the said software upgrade data bag to Resource Server;
Receive the said fragment data that said Resource Server sends according to said the 5th request message.
7. a subscriber equipment is characterized in that, comprising:
First receiver module is used to receive software upgrading the Resources list that upgrade server sends, and said software upgrading the Resources list comprises at least one address information, and each address information clients corresponding stores the software upgrade data bag;
First data demand module; Be used at point to point network; Send first request message of downloading said software upgrade data bag according to said address information at least one client, and receive the said software upgrade data bag that said client is sent according to said first request message;
Wherein, Said first data demand module also is used for; Join the software upgrading multi-broadcast group in the said point to point network, and the said client that is in said software upgrading multi-broadcast group in said software upgrading the Resources list is sent the 3rd request message that becomes the upgrading partner;
Receive the success response message of said the 3rd request message of said client transmission, and set up the upgrading partnership with said client.
8. subscriber equipment according to claim 7 is characterized in that, also comprises:
The edition upgrading request module; Be used for sending second request message that carries out software release upgrade to said upgrade server; So that said upgrade server returns said software upgrading the Resources list according to said second request message, said second request message comprises redaction information.
9. according to claim 7 or 8 described subscriber equipmenies, it is characterized in that said first data demand module also is used for:
In said point to point network; Send the 4th request message of downloading the fragment data of not downloading in the said software upgrade data bag according to said address information other clients in said software upgrading the Resources list, and receive the said fragment data that said other clients are sent according to said the 4th request message.
10. according to claim 7 or 8 described subscriber equipmenies, it is characterized in that said first data demand module also is used for:
Send the 5th request message of downloading the fragment data of not downloading in the said software upgrade data bag to Resource Server, and receive the said fragment data that said Resource Server sends according to said the 5th request message.
11. according to claim 7 or 8 described subscriber equipmenies, it is characterized in that, also comprise:
First memory module is used to store said software upgrade data bag.
CN2009100071148A 2009-02-03 2009-02-03 Method and device for downloading software upgrading data packet Active CN101795203B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009100071148A CN101795203B (en) 2009-02-03 2009-02-03 Method and device for downloading software upgrading data packet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009100071148A CN101795203B (en) 2009-02-03 2009-02-03 Method and device for downloading software upgrading data packet

Publications (2)

Publication Number Publication Date
CN101795203A CN101795203A (en) 2010-08-04
CN101795203B true CN101795203B (en) 2012-08-15

Family

ID=42587636

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009100071148A Active CN101795203B (en) 2009-02-03 2009-02-03 Method and device for downloading software upgrading data packet

Country Status (1)

Country Link
CN (1) CN101795203B (en)

Families Citing this family (36)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101778097B (en) * 2009-11-25 2013-11-06 中兴通讯股份有限公司 Network updating method and system and main service side used for realizing network upgrade
CN102185917A (en) * 2011-04-29 2011-09-14 深圳市五巨科技有限公司 Method and system for adaptation between server and mobile terminal, and server adaptation device
CN102413185B (en) * 2011-11-25 2015-02-04 广州杰赛科技股份有限公司 Cloud platform automatic updating system based on BT technology
CN103379142A (en) * 2012-04-17 2013-10-30 国基电子(上海)有限公司 Terminal device firmware upgrading method and system
CN102868731B (en) * 2012-08-27 2014-12-17 济南大学 Method and device for software online updating and downloading acceleration
CN103716350B (en) 2012-09-29 2018-03-30 腾讯科技(北京)有限公司 A kind of method, apparatus and system that control is synchronized to resource
CN103024009A (en) * 2012-11-30 2013-04-03 广东欧珀移动通信有限公司 A method for updating e-book data based on peer-to-peer network transmission
CN104038520B (en) * 2013-03-05 2017-11-10 北京畅游天下网络技术有限公司 A kind of multi version distributive resource managing method and system
CN103152206A (en) * 2013-03-25 2013-06-12 安科智慧城市技术(中国)有限公司 Method and system for updating multiple devices
CN104378391A (en) * 2013-08-12 2015-02-25 无锡知谷网络科技有限公司 Software updating method, system and device
CN103702186A (en) * 2013-11-29 2014-04-02 康佳集团股份有限公司 Set-top box point-to-point upgrade realization method and system based on Internet
CN103685496A (en) * 2013-12-06 2014-03-26 华为技术有限公司 Transmission method and device of file data
CN103986595B (en) * 2014-04-14 2018-03-06 美的集团股份有限公司 The method and server of accident analysis and upgrading
CN105094860A (en) * 2014-05-05 2015-11-25 中兴通讯股份有限公司 Terminal software online upgrade method and device
CN104239098A (en) * 2014-09-09 2014-12-24 北京金山安全软件有限公司 Automatic software upgrading method and device and mobile terminal
CN104202667A (en) * 2014-09-19 2014-12-10 青岛海信宽带多媒体技术有限公司 IPTV (internet protocol television) set-top box upgrading method and system
CN105516745A (en) * 2014-09-25 2016-04-20 深圳Tcl数字技术有限公司 Terminal upgrading method and device
CN104320774B (en) * 2014-10-16 2020-07-10 小米科技有限责任公司 Upgrading method, device and equipment
US10268471B2 (en) * 2015-03-24 2019-04-23 Huawei Technologies Co., Ltd. Method for upgrading terminal system, terminal, and system
CN105099774B (en) * 2015-07-08 2018-07-24 上海斐讯数据通信技术有限公司 A kind of router software upgrade method and system
CN106713384B (en) * 2015-11-12 2021-07-13 厦门雅迅网络股份有限公司 Remote updating method and system for peripheral programs of vehicle-mounted terminal
CN106850720A (en) * 2015-12-07 2017-06-13 中兴通讯股份有限公司 Method for upgrading software, apparatus and system
CN105635277A (en) * 2015-12-30 2016-06-01 北京京东尚科信息技术有限公司 Upgrade packet providing method and device and client side upgrade method and device
CN106506595B (en) * 2016-10-08 2019-09-20 深圳广田智能科技有限公司 Upgrade method based on point-to-point Internet of Things intelligent Community equipment
CN109218359A (en) * 2017-07-03 2019-01-15 深圳市中兴微电子技术有限公司 A kind of method and server end of internet of things equipment software upgrading
CN109634630A (en) * 2018-10-29 2019-04-16 平安科技(深圳)有限公司 Application program update method, apparatus, electronic equipment and storage medium
CN109542489A (en) * 2018-12-18 2019-03-29 新华三技术有限公司 Upgrade method, device and server
CN109639827B (en) * 2019-01-07 2021-11-09 新华三云计算技术有限公司 Client upgrading method and device
CN111478929B (en) * 2019-01-23 2021-06-11 大唐移动通信设备有限公司 Video service data transmission method and device
CN110602232A (en) * 2019-09-20 2019-12-20 中国银行股份有限公司 Terminal system version downloading method, device and system based on peer-to-peer network idea
CN110933663B (en) * 2019-12-17 2020-11-24 珠海格力电器股份有限公司 Multi-connected air conditioning unit and remote upgrading method thereof
CN113741937B (en) * 2021-09-02 2024-03-15 北京百度网讯科技有限公司 Application updating method and device for cloud terminal and computer program product
CN114006898A (en) * 2021-10-30 2022-02-01 杭州迪普信息技术有限公司 Version changing method, device and system
CN114157645A (en) * 2021-12-02 2022-03-08 深圳市绿联科技股份有限公司 Software upgrading method, software upgrading device and storage medium
CN114422486B (en) * 2022-03-14 2024-01-16 潍柴动力股份有限公司 Terminal software version upgrading method, system and vehicle
CN115118718B (en) * 2022-08-30 2022-12-16 深圳市华曦达科技股份有限公司 Android terminal device upgrade updating method and system and readable storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141303A (en) * 2007-09-24 2008-03-12 华为技术有限公司 Client terminal updating method, server, client terminal of network management system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141303A (en) * 2007-09-24 2008-03-12 华为技术有限公司 Client terminal updating method, server, client terminal of network management system

Also Published As

Publication number Publication date
CN101795203A (en) 2010-08-04

Similar Documents

Publication Publication Date Title
CN101795203B (en) Method and device for downloading software upgrading data packet
CN100411341C (en) Parallel downloading method and terminal
CN101540775B (en) Method and device for distributing contents and network system for distributing contents
US10708350B2 (en) Method and system for content delivery of mobile terminal applications
CN101706817B (en) Distributed file system and garbage data cleaning method thereof
CN102945175A (en) Terminal software online upgrading system and method based on cloud computing environment
CN101645928A (en) Content resource caching method, device and system
CN103581245A (en) Content delivery method and system of content delivery network
CN102215479B (en) AKU is downloaded and method, server and the system of installation
CN103019757A (en) Method, device and system for synchronizing software among multiple clients
CN101800731B (en) Network transmission management server, network transmission management method and network transmission system
CN102420863B (en) Rapid file distribution system, method thereof and apparatus thereof
KR20100060304A (en) Distributed content delivery system based on network awareness and method thereof
CN101150465A (en) A method for obtaining seed information and supernode and common nodes in P2P network
CN103595782A (en) Distributed storage system and method for downloading files thereof
CN102664950A (en) Data communication method between welding power sources and computers
GB2403040A (en) Application programming interface for provisioning services
CN101465758A (en) Method for managing equipment, system and network management server
CN101521606A (en) Log information processing method, log server and communication system
CN113055469A (en) Cloud container storage control method and system, electronic equipment and storage medium
CN101854745A (en) Transmission method of software version and device thereof
CN102916907A (en) Download method and system based on home gateway, and home gateway
US20160100021A1 (en) Information processing device, destination information updating method, and record medium
CN113824750B (en) Data transmission method and data transmission system
CN109660428B (en) High availability cluster system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20200217

Address after: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee after: HUAWEI TECHNOLOGIES Co.,Ltd.

Address before: Kokusai Hotel No. 11 Nanjing Avenue in the flora of 210012 cities in Jiangsu Province

Patentee before: Huawei Technologies Co.,Ltd.

TR01 Transfer of patent right