CN111443936A - Method and system for updating client software - Google Patents
Method and system for updating client software Download PDFInfo
- Publication number
- CN111443936A CN111443936A CN202010297108.7A CN202010297108A CN111443936A CN 111443936 A CN111443936 A CN 111443936A CN 202010297108 A CN202010297108 A CN 202010297108A CN 111443936 A CN111443936 A CN 111443936A
- Authority
- CN
- China
- Prior art keywords
- downloaded
- resources
- resource
- client
- uninstalled
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 28
- 238000009434 installation Methods 0.000 claims description 13
- 238000012790 confirmation Methods 0.000 claims description 3
- 238000004891 communication Methods 0.000 abstract description 10
- 230000006870 function Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000008439 repair process Effects 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 230000007547 defect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000013468 resource allocation Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/34—Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention provides a method and a system for updating client software, wherein the method comprises the following steps: the client requests and acquires a resource updating list comprising identification information of resources to be updated from a directly connected server, matches the identification information of the resources to be updated with the identification information of the downloaded resources, and marks the unsuccessfully matched resources to be updated as the un-downloaded resources; the client side firstly requests other client sides in the same network segment to download the un-downloaded resources, and if the other client sides in the same network segment store the seeds of the un-downloaded resources, the un-downloaded resources are directly downloaded from the other client sides in the same network segment; if the request for downloading the un-downloaded resources from other clients in the same network segment fails, requesting a directly connected server to download the un-downloaded resources; and after downloading the un-downloaded resources successfully, performing software updating operation according to the downloaded resources. The invention can reduce the communication pressure on the server and improve the software updating efficiency.
Description
Technical Field
The present invention relates to the field of client communications technologies, and in particular, to a method and a system for updating client software.
Background
The repair of the demand and the defect needs to continuously update the software, most software products need to update resources from a server to upgrade the products, and the network bandwidth often affects the updating speed and the success rate of the software system.
The most common resource updating method at present is to actively push resources to a client for updating based on a server, and the resources are completely from the server, such as periodic repair of various software, newly added functions, and the like. The client actively requests resource updating, and the server receives the message and then issues the resource. However, the network resource allocation between the server and the client is limited, the server needs to respond to various messages of the client, and under the condition that the network bandwidth is fixed, a large number of clients directly request resources from the server may cause congestion of a communication channel, which not only affects the updating speed of each client, but also may affect the response speed of the client which needs to be normally used after updating, and causes the conditions of response timeout and the like. Simply increasing the number of servers also wastes resources.
Disclosure of Invention
The invention aims to provide a method and a system for updating client software, a client and a client software updating system, so as to reduce the communication pressure on a server and improve the software updating efficiency.
According to a first aspect of the invention, a method for updating client software comprises: the client requests and acquires a resource updating list comprising identification information of resources to be updated from a directly connected server, matches the identification information of the resources to be updated with the identification information of the downloaded resources, and marks the unsuccessfully matched resources to be updated as the un-downloaded resources;
the client side firstly requests other client sides in the same network segment to download the un-downloaded resource, and if the other client sides in the same network segment store the seed of the un-downloaded resource, the un-downloaded resource is directly downloaded from other client sides in the same network segment; if the request for downloading the un-downloaded resource to other clients in the same network segment fails, requesting a directly connected server to download the un-downloaded resource;
and after the un-downloaded resources are downloaded successfully, performing software updating operation according to the downloaded resources.
Preferably, the step of requesting the other clients in the same network segment that download the un-downloaded resource fails includes: and other clients in the same network segment do not have the un-downloaded resources, and the number of times of requesting downloading from the clients to other clients in the same network segment exceeds a preset threshold value.
Preferably, the step of performing a software update operation according to the downloaded resource comprises;
the client marks the downloaded resources as downloaded and uninstalled resources and checks whether a dependency relationship between the downloaded and uninstalled resources and existing installed resources exists;
if the dependency relationship between the downloaded and uninstalled resources and the existing installed resources is lost, stopping the updating;
and if the dependency relationship between the downloaded and uninstalled resources and the existing installed resources exists, installing the downloaded and uninstalled resources, and marking the downloaded and uninstalled resources as the installed resources.
Preferably, the step of installing the downloaded uninstalled resource is followed by: and after the client is restarted, deleting redundant resources.
Preferably, the step of deleting the redundant resources comprises: the excess resources are removed from the installation directory.
Preferably, the step of installing the downloaded uninstalled resource comprises: copying the downloaded uninstalled resource into an installation directory.
According to a second aspect of the invention, a system for updating client software comprises: a download resource confirmation module, configured to request and acquire a resource update list including identification information of a resource to be updated from a server, match the identification information of the resource to be updated with identification information of a downloaded resource, and mark a resource to be updated that is not successfully matched as an un-downloaded resource;
the resource downloading module is used for firstly requesting other clients in the same network segment to download the un-downloaded resource, and directly downloading the un-downloaded resource from other clients in the same network segment if the other clients in the same network segment store the seed of the un-downloaded resource; if the request for downloading the un-downloaded resource to other clients in the same network segment fails, requesting a directly connected server to download the un-downloaded resource;
and the software updating module is used for carrying out software updating operation according to the downloaded resource after the un-downloaded resource is downloaded successfully.
Preferably, the resource downloading module is further configured to request a server directly connected to download the un-downloaded resource when the un-downloaded resource does not exist in other clients in the same network segment and the number of times of downloading requests from the client to the other clients in the same network segment exceeds a preset threshold.
Preferably, the software update module is specifically configured to;
the client marks the downloaded resources as downloaded and uninstalled resources and checks whether a dependency relationship between the downloaded and uninstalled resources and existing installed resources exists;
if the dependency relationship between the downloaded and uninstalled resources and the existing installed resources is lost, stopping the updating;
and if the dependency relationship between the downloaded and uninstalled resources and the existing installed resources exists, installing the downloaded and uninstalled resources, and marking the downloaded and uninstalled resources as the installed resources.
Preferably, the client further comprises: and the resource deleting unit is used for deleting redundant resources after the client is restarted.
Preferably, the software update module copies the downloaded and uninstalled resource to an installation directory to implement the installation of the downloaded and uninstalled resource.
According to a third aspect of the present invention, a client software updating system includes a plurality of clients and a plurality of servers, where the plurality of clients are directly connected to at least one of the plurality of servers, and the client is the above-mentioned client.
According to a fourth aspect of the invention, a client comprises:
a download resource confirmation module, configured to request and acquire a resource update list including identification information of a resource to be updated from a server, match the identification information of the resource to be updated with identification information of a downloaded resource, and mark a resource to be updated that is not successfully matched as an un-downloaded resource;
the resource downloading module is used for firstly requesting other clients in the same network segment to download the un-downloaded resource, and directly downloading the un-downloaded resource from other clients in the same network segment if the other clients in the same network segment store the seed of the un-downloaded resource; if the request for downloading the un-downloaded resource to other clients in the same network segment fails, requesting a directly connected server to download the un-downloaded resource;
and the software updating module is used for carrying out software updating operation according to the downloaded resource after the un-downloaded resource is downloaded successfully.
And the resource downloading module is also used for requesting to download the un-downloaded resource from a directly connected server when the un-downloaded resource does not exist in other clients in the same network segment and the downloading frequency of the client to the other clients in the same network segment exceeds a preset threshold value.
The software update module is specifically configured to;
the client marks the downloaded resources as downloaded and uninstalled resources and checks whether a dependency relationship between the downloaded and uninstalled resources and existing installed resources exists;
if the dependency relationship between the downloaded and uninstalled resources and the existing installed resources is lost, stopping the updating;
and if the dependency relationship between the downloaded and uninstalled resources and the existing installed resources exists, installing the downloaded and uninstalled resources, and marking the downloaded and uninstalled resources as the installed resources.
Also includes; and the resource deleting unit is used for deleting redundant resources after the client is restarted.
And the software updating module copies the downloaded and uninstalled resources into an installation catalog to realize the installation of the downloaded and uninstalled resources.
The invention provides a client and a software updating method and system thereof.A client directly downloads resources to a server by changing an updating strategy into a method that the client firstly requests other clients in the same network segment to download the un-downloaded resources, and if the other clients in the same network segment store seeds of the un-downloaded resources, the un-downloaded resources are directly downloaded from the other clients in the same network segment; if the request for downloading the un-downloaded resource from other clients in the same network segment fails, the server connected directly requests to download the un-downloaded resource, so that the communication pressure between the server and the client is relieved, the client update of the software is performed in a resource update mode of reducing the occupation of the network bandwidth as much as possible under the condition of limited network bandwidth, the influence caused by the limitation of the network bandwidth can be reduced by ensuring update and operation, and more smooth use experience is brought to a software user.
Other characteristic features and advantages of the invention will become apparent from the following description of exemplary embodiments, which is to be read in connection with the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the invention and together with the description, serve to explain the principles of the invention. In the drawings, like reference numerals are used to indicate like elements. The drawings in the following description are directed to some, but not all embodiments of the invention. For a person skilled in the art, other figures can be derived from these figures without inventive effort.
FIG. 1 is a flow chart of a method for updating client software according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method for updating client software according to another embodiment of the present invention;
FIG. 3 is a block diagram of a system for updating client software according to an embodiment of the present invention;
FIG. 4 is a diagram of a client software update system according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention. It should be noted that the embodiments and features of the embodiments in the present application may be arbitrarily combined with each other without conflict.
As shown in fig. 1, the present invention provides a method for updating client software, the method comprising:
step 101: for example, the client requests and acquires the resource update list including the identification information of the preliminary update resource from the directly connected server. Matching the identification information of the prepared updating resources with the identification information of the downloaded resources, and marking the prepared updating resources which are not successfully matched as the un-downloaded resources; the resource specifically refers to a resource that needs to be updated by the client, and is also a program written by an application program interface following a certain specification. Resources are, for example, functions, software modules, code blocks, function blocks, code sets, etc. The resource may also be data content, such as multimedia data, text data, database files, and the like.
Step 102: firstly, requesting to download the un-downloaded resource from other clients in the same network segment (for example, each other client except for the client itself in all the clients in the same network segment), for example, the client first requests to download the un-downloaded resource from other clients in the same network segment (each other client in the same network segment), and if the seeds of the un-downloaded resource (specifically, the file set of the resource needing to be updated) are stored in the other clients in the same network segment (each), directly downloading the un-downloaded resource from the other clients in the same network segment (each); and if the request for downloading the un-downloaded resources from other clients in the same network segment fails, requesting a server directly connected with the server to download the un-downloaded resources.
Step 103: and after the un-downloaded resources are downloaded successfully, performing software updating operation according to the downloaded resources.
It should be noted that, in this embodiment, the client may be an electronic device such as a computer, a mobile phone, a tablet, a self-service machine, and the resource may include a plug-in, a picture, a text, an audio, and the like.
The client software updating method of the invention changes the client directly downloading the resource to the server into the client firstly requesting to download the un-downloaded resource to other clients in the same network segment by changing the updating strategy, and directly downloading the un-downloaded resource from other clients in the same network segment if the other clients in the same network segment store the seed of the un-downloaded resource; if the request for downloading the un-downloaded resource from other clients in the same network segment fails, the server connected directly requests to download the un-downloaded resource, so that the communication pressure between the server and the client is relieved, the client update of the software is performed in a resource update mode of reducing the occupation of the network bandwidth as much as possible under the condition of limited network bandwidth, the influence caused by the limitation of the network bandwidth can be reduced by ensuring update and operation, and more smooth use experience is brought to a software user.
As shown in fig. 2, the present invention provides a method for updating client software, which is a preferred implementation of the embodiment of the method shown in fig. 1, and the explanation of the embodiment shown in fig. 1 can also be applied to this embodiment, where the method for updating client software of this embodiment includes:
step 201: and checking the resource updating list, specifically comprising the steps that the client applies for the server and obtains the resource updating list for representing the pre-updating resource catalog.
Step 202: judging whether resources need to be downloaded, specifically, matching the identification information of the prepared updating resources with the identification information of the downloaded resources, if the resources need to be downloaded, marking the prepared updating resources which are not successfully matched as un-downloaded resources, and turning to the step 203; otherwise, step 209 is performed.
Step 203: the client initiates a request (e.g., UDP request) to other clients on the same network segment to download the resource, such as inquiring whether there is a seed for the un-downloaded resource.
Step 204: judging whether other clients in the same network segment store the seeds of the un-downloaded resources; if yes, go to step 205, otherwise go to step 206.
Step 205: directly downloading the un-downloaded resources from other clients in the same network segment; step 208 is then performed.
Step 206: and (3) whether the number of times of requesting downloading from other clients in the same network segment by the client exceeds a preset threshold value or not is judged, if not, the step 203 is returned to be executed, and if so, the step 207 is executed.
Step 207: the directly connected server requests to download the un-downloaded resource; proceed to step 208.
Step 208: judging whether the downloading of the resources is finished; the specific downloading operation comprises downloading the client resource to a resource downloading cache directory, wherein the resource is marked as downloaded and not installed. If the resource download is completed, step 209 is executed, otherwise step 211 is executed.
Step 209: after the resource downloading is completed, checking whether the resource dependency relationship is lost; if not, go to step 210; if it is not, go to step 211.
Step 210: when the resource dependency relationship is not lost, judging whether resources need to be updated or unloaded; if there are resources to be updated or unloaded, step 212 is performed, otherwise, step 215 is performed.
Step 211: the update is stopped.
Step 212: and installing the resource, specifically copying the downloaded uninstalled resource to an installation directory, and marking the resource as the installed resource.
Step 213: after the installation is successful, determining whether to restart the client according to user feedback; if it is determined to restart the client, step 214 is performed, otherwise step 215 is performed.
Step 214: and (4) unloading the redundant resources, namely deleting the redundant resources from the installation directory when the client is restarted.
Step 215: re-entering the operating system of the client.
The client software updating method of the invention changes the client directly downloading the resource to the server into the client firstly requesting to download the un-downloaded resource to other clients in the same network segment by changing the updating strategy, and directly downloading the un-downloaded resource from other clients in the same network segment if the other clients in the same network segment store the seed of the un-downloaded resource; and if the un-downloaded resources do not exist in other clients in the same network segment and the number of times of downloading requests from the clients to other clients in the same network segment exceeds a preset threshold value, requesting to download the un-downloaded resources to a directly connected server, so that the communication pressure between the server and the clients is conveniently reduced, the client updating of the software is realized in a resource updating mode of reducing the occupation of the network bandwidth as much as possible under the condition of limited network bandwidth, the influence caused by the limitation of the network bandwidth can be reduced by ensuring updating and operation, and smoother use experience is brought to software users.
As shown in fig. 3, the present invention further provides a system for updating client software, or may be a client, which is a corresponding device embodiment of the method embodiments shown in fig. 1 and fig. 2, and the explanation of the embodiments shown in fig. 1-fig. 2 may be applied to this embodiment, where the system or the client includes:
a download resource confirming module 301, configured to request and obtain a resource update list including identification information of a resource to be updated from a server, match the identification information of the resource to be updated with identification information of a downloaded resource, and mark a resource to be updated that is not successfully matched as an un-downloaded resource;
a resource downloading module 302, configured to first request other clients in the same network segment to download the un-downloaded resource, and if the other clients in the same network segment store the seed of the un-downloaded resource, directly download the un-downloaded resource from the other clients in the same network segment; if the request for downloading the un-downloaded resource to other clients in the same network segment fails, requesting a directly connected server to download the un-downloaded resource;
and the software updating module 303 is configured to perform a software updating operation according to the downloaded resource after the un-downloaded resource is downloaded successfully.
Preferably, the resource downloading module 302 is further configured to request a directly connected server to download the un-downloaded resource when the un-downloaded resource does not exist in other clients in the same network segment and the number of times that the client requests to download from other clients in the same network segment exceeds a preset threshold.
Preferably, the software update module 303 is specifically configured to; the client marks the downloaded resources as downloaded and uninstalled resources and checks whether a dependency relationship between the downloaded and uninstalled resources and existing installed resources exists; if the dependency relationship between the downloaded and uninstalled resources and the existing installed resources is lost, stopping the updating; and if the dependency relationship between the downloaded and uninstalled resources and the existing installed resources exists, installing the downloaded and uninstalled resources, and marking the downloaded and uninstalled resources as the installed resources.
Preferably, the client further comprises: and a resource deleting unit (not shown in the figure) for deleting the redundant resources after the client is restarted.
The client side of the invention firstly requests other client sides in the same network segment to download the un-downloaded resource, if the other client sides in the same network segment store the seed of the un-downloaded resource, the un-downloaded resource is directly downloaded from other client sides in the same network segment; and if the un-downloaded resources do not exist in other clients in the same network segment and the number of times of downloading requests from the clients to other clients in the same network segment exceeds a preset threshold value, requesting to download the un-downloaded resources to a directly connected server, so that the communication pressure between the server and the clients is conveniently reduced, the client updating of the software is realized in a resource updating mode of reducing the occupation of the network bandwidth as much as possible under the condition of limited network bandwidth, the influence caused by the limitation of the network bandwidth can be reduced by ensuring updating and operation, and smoother use experience is brought to software users.
As shown in fig. 4, the present invention further provides a client software updating system, which is a corresponding system embodiment to the method embodiments shown in fig. 1 and fig. 2, and the explanation of the embodiments shown in fig. 1 to fig. 3 can be applied to this embodiment, where the client software updating system includes: a plurality of the above clients and a plurality of servers, the plurality of clients being directly connected to at least one of the plurality of servers.
The working process of the client software updating system is briefly described based on two clients, namely client a and client B: the user A starts the client A, and the client A acquires the update address url of the plug-in through the communication port which establishes communication with the server. The background access url gets a list of plug-ins (or other resources including text, video, etc.) updates. The client a finds that the plug-in resource needs to be updated, and records the plug-in list in the memory of the client (which may be stored in other manners, such as in this document). Client a then initiates a UDP request to other clients on the same network segment (e.g., there are 10 clients on or within the same network segment, i.e., 9 (other) clients in addition to client a, client a initiates a UDP request to each (other) client on or within the same network segment (of the 9 clients in addition to client a)), asking if there is a seed for the un-downloaded plug-in. And if so, downloading the un-downloaded plug-in to the client. And if the download failure times do not exist or exceed the limit, applying for downloading from the direct connection server. At the moment, the client B has updated the plug-in resources, the client B is using, the client A finds that the client B in the same network segment has updated the plug-in resources and has the seeds of the un-downloaded plug-ins, applies a UDP request to the client B, the client A downloads the files to a local temporary folder, and pops up a prompt to prompt a user to update the plug-ins. And the user clicks the update to install the plug-in the temporary file into the client and restarts the client to reload the plug-in to complete the update. The client initiates a listening service to wait for other clients to initiate UDP requests.
The client software updating system of the embodiment has the corresponding technical effects of the client, and is not described herein again.
The above-described aspects may be implemented individually or in various combinations, and such variations are within the scope of the present invention.
Finally, it should be noted that: the above examples are only for illustrating the technical solutions of the present invention, and are not limited thereto. Although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (10)
1. A method for updating client software, the method comprising:
the client requests and acquires a resource updating list comprising identification information of resources to be updated from a directly connected server, matches the identification information of the resources to be updated with the identification information of the downloaded resources, and marks the unsuccessfully matched resources to be updated as the un-downloaded resources;
the client side firstly requests other client sides in the same network segment to download the un-downloaded resource, and if the other client sides in the same network segment store the seed of the un-downloaded resource, the un-downloaded resource is directly downloaded from other client sides in the same network segment; if the request for downloading the un-downloaded resource to other clients in the same network segment fails, requesting a directly connected server to download the un-downloaded resource;
and after the un-downloaded resources are downloaded successfully, performing software updating operation according to the downloaded resources.
2. The method of claim 1, wherein: the step of failing to request other clients in the same network segment to download the un-downloaded resources comprises the following steps:
and other clients in the same network segment do not have the un-downloaded resources, and the number of times of requesting downloading from the clients to other clients in the same network segment exceeds a preset threshold value.
3. The method of claim 2, wherein: the step of performing software updating operation according to the downloaded resource comprises;
the client marks the downloaded resources as downloaded and uninstalled resources and checks whether a dependency relationship between the downloaded and uninstalled resources and existing installed resources exists;
if the dependency relationship between the downloaded and uninstalled resources and the existing installed resources is lost, stopping the updating;
and if the dependency relationship between the downloaded and uninstalled resources and the existing installed resources exists, installing the downloaded and uninstalled resources, and marking the downloaded and uninstalled resources as the installed resources.
4. The method of claim 3, wherein: said step of installing said downloaded uninstalled resource is followed by:
and after the client is restarted, deleting redundant resources.
5. The method of claim 4, wherein:
wherein the step of deleting the redundant resources comprises: deleting redundant resources from the installation directory;
wherein the step of installing the downloaded uninstalled resource comprises: copying the downloaded uninstalled resource into an installation directory.
6. A system for updating client software, the system comprising:
a download resource confirmation module, configured to request and acquire a resource update list including identification information of a resource to be updated from a server, match the identification information of the resource to be updated with identification information of a downloaded resource, and mark a resource to be updated that is not successfully matched as an un-downloaded resource;
the resource downloading module is used for firstly requesting other clients in the same network segment to download the un-downloaded resource, and directly downloading the un-downloaded resource from other clients in the same network segment if the other clients in the same network segment store the seed of the un-downloaded resource; if the request for downloading the un-downloaded resource to other clients in the same network segment fails, requesting a directly connected server to download the un-downloaded resource;
and the software updating module is used for carrying out software updating operation according to the downloaded resource after the un-downloaded resource is downloaded successfully.
7. The system of claim 6, wherein: and the resource downloading module is also used for requesting to download the un-downloaded resource from a directly connected server when the un-downloaded resource does not exist in other clients in the same network segment and the downloading frequency of the client to the other clients in the same network segment exceeds a preset threshold value.
8. The system of claim 7, wherein: the software update module is specifically configured to;
the client marks the downloaded resources as downloaded and uninstalled resources and checks whether a dependency relationship between the downloaded and uninstalled resources and existing installed resources exists;
if the dependency relationship between the downloaded and uninstalled resources and the existing installed resources is lost, stopping the updating;
and if the dependency relationship between the downloaded and uninstalled resources and the existing installed resources exists, installing the downloaded and uninstalled resources, and marking the downloaded and uninstalled resources as the installed resources.
9. The system of claim 8, wherein: further comprising:
and the resource deleting unit is used for deleting redundant resources after the client is restarted.
10. The system of claim 8, wherein: and the software updating module copies the downloaded and uninstalled resources into an installation catalog to realize the installation of the downloaded and uninstalled resources.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010297108.7A CN111443936A (en) | 2020-04-15 | 2020-04-15 | Method and system for updating client software |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010297108.7A CN111443936A (en) | 2020-04-15 | 2020-04-15 | Method and system for updating client software |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111443936A true CN111443936A (en) | 2020-07-24 |
Family
ID=71651760
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010297108.7A Pending CN111443936A (en) | 2020-04-15 | 2020-04-15 | Method and system for updating client software |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111443936A (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1831771A (en) * | 2005-03-11 | 2006-09-13 | 联想(北京)有限公司 | Method for updating software |
CN104378391A (en) * | 2013-08-12 | 2015-02-25 | 无锡知谷网络科技有限公司 | Software updating method, system and device |
CN106210114A (en) * | 2016-07-28 | 2016-12-07 | 北京北信源软件股份有限公司 | A kind of multiple terminals software parallel downloads upgrade method |
US20160378455A1 (en) * | 2015-06-29 | 2016-12-29 | Facebook, Inc. | Methods and Systems for Installing an Application Version via Close-Range Communications |
CN107205057A (en) * | 2017-08-02 | 2017-09-26 | 无锡江南影视传播有限公司 | A kind of game resource update method, device and client |
JP2018041224A (en) * | 2016-09-06 | 2018-03-15 | 大日本印刷株式会社 | Software update system |
CN110602232A (en) * | 2019-09-20 | 2019-12-20 | 中国银行股份有限公司 | Terminal system version downloading method, device and system based on peer-to-peer network idea |
CN110659041A (en) * | 2019-08-22 | 2020-01-07 | 深圳市星汉智能科技有限公司 | Application upgrading method and system based on Android platform |
-
2020
- 2020-04-15 CN CN202010297108.7A patent/CN111443936A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1831771A (en) * | 2005-03-11 | 2006-09-13 | 联想(北京)有限公司 | Method for updating software |
CN104378391A (en) * | 2013-08-12 | 2015-02-25 | 无锡知谷网络科技有限公司 | Software updating method, system and device |
US20160378455A1 (en) * | 2015-06-29 | 2016-12-29 | Facebook, Inc. | Methods and Systems for Installing an Application Version via Close-Range Communications |
CN106210114A (en) * | 2016-07-28 | 2016-12-07 | 北京北信源软件股份有限公司 | A kind of multiple terminals software parallel downloads upgrade method |
JP2018041224A (en) * | 2016-09-06 | 2018-03-15 | 大日本印刷株式会社 | Software update system |
CN107205057A (en) * | 2017-08-02 | 2017-09-26 | 无锡江南影视传播有限公司 | A kind of game resource update method, device and client |
CN110659041A (en) * | 2019-08-22 | 2020-01-07 | 深圳市星汉智能科技有限公司 | Application upgrading method and system based on Android platform |
CN110602232A (en) * | 2019-09-20 | 2019-12-20 | 中国银行股份有限公司 | Terminal system version downloading method, device and system based on peer-to-peer network idea |
Non-Patent Citations (1)
Title |
---|
王喜: "软件更新中PUSH和P2P分发的研究与实现", 《中国优秀硕士学位论文全文数据库 (信息科技辑)》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20220004395A1 (en) | Securely and reliably transferring startup script | |
EP1921871B1 (en) | A method and download agent for downloading in parallel | |
US9304756B1 (en) | Methods and systems for transferring data over a network | |
US7930692B2 (en) | Updating information in network devices | |
TWI227441B (en) | Firmware upgrade method for digital subscriber line device | |
US9485134B2 (en) | Managing configurations of system management agents in a distributed environment | |
CN109391673B (en) | Method, system and terminal equipment for managing update file | |
WO2019201039A1 (en) | Method and system for updating application and application server | |
US10235159B2 (en) | System and method for providing automatic firmware update management | |
US9118696B2 (en) | Method, data transfer arrangement, server and terminal device for updating information in a terminal device | |
US20070033584A1 (en) | Application update methods and mobile communication devices utilizing the same | |
TW200305319A (en) | Delta replication of source files and packages across networked resources | |
CN103188097A (en) | Method, device and system achieving patch management | |
CN107015870A (en) | Realize method, device and the electronic equipment of web page and locally applied communication | |
WO2012151993A1 (en) | Service pushing method and device | |
WO2009117921A1 (en) | Distributed network management system, network management server and method | |
CN112615747B (en) | Method and device for automatically deploying and configuring network equipment | |
CN114090033A (en) | OTA (over the air) upgrading method and device, electronic equipment and readable medium | |
CN112732292B (en) | Method, system, equipment and readable storage medium for upgrading software | |
CN110716734A (en) | Software upgrading method and device, electronic equipment and medium | |
CN111698281B (en) | Resource downloading method and device, electronic equipment and storage medium | |
WO2024193352A1 (en) | Data processing method and apparatus, computer device, and readable storage medium | |
CN113342419B (en) | Push system loading method and device, electronic equipment and storage medium | |
CN101146111B (en) | A file download method and device | |
CN111443936A (en) | Method and system for updating client software |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200724 |