CN106713483A - Distributed software distribution method - Google Patents
Distributed software distribution method Download PDFInfo
- Publication number
- CN106713483A CN106713483A CN201710017072.0A CN201710017072A CN106713483A CN 106713483 A CN106713483 A CN 106713483A CN 201710017072 A CN201710017072 A CN 201710017072A CN 106713483 A CN106713483 A CN 106713483A
- Authority
- CN
- China
- Prior art keywords
- distribution
- software
- server
- client
- distribution node
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- 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/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1001—Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
Abstract
The invention provides a distributed software distribution method, comprising the following steps: a server issues software distribution commands to all clients, wherein the software distribution commands contain random time; after reaching the random time, the client requests a distribution node from the server; the client of which the random time is 0 directly downloads the software from the server, opens a download port after completing the download, and registers as the distribution node to the server; if the request for the distribution node succeeds, the client can download the required software from the distribution node; if the request for the distribution node fails or times out, the client will download the software from the server; and the server sends the distribution node to the client after receiving the register of the distribution node. According to the distributed software distribution method provided by the invention, the client in the network is fully used to ensure that the load of the backbone network and the primary server can be reduced, and the distribution speed and efficiency can be increased; and meanwhile, as the opening time of the distribution node is limited, the attack risk of terminals can be reduced.
Description
Technical field
The present invention relates to software distribution technology field, a kind of distributed software distribution method is particularly related to.
Background technology
To realize the unified management to enterprise's Computer Software, generally require in the computer of each employee install,
Update or unload some specific softwares.Traditional way is to carry out the download of software, installation, more manually by each employee
New or unloading, this way not only wastes the substantial amounts of working time, and easily occur installing version it is inconsistent the problems such as,
It is less efficient and reliability is not high.To solve the above problems, software distribution technology is occurred in that, software distribution refers to connect by network
Connect software being installed in many different computers from server or being united to the software in computer for automatic batch
One upgrading and unloading, so as to the software for reaching efficiently and accurately is managed.
At present, the software distribution in enterprise network is general using single node (master server), can be led when distributing and performing
Cause moment a large amount of clients to access master server simultaneously and cause the problems such as offered load is excessive, and server can't bear the heavy load, and then lead
Cause distribution failure.
The content of the invention
The present invention proposes a kind of distributed software distribution method, solves software distribution in the prior art and uses single node
It is main, cause server load excessive, the problem for causing distribution to fail.
The technical proposal of the invention is realized in this way:
A kind of distributed software distribution method, comprises the following steps:
S1, server issue software distribution command to all clients, and the software distribution command includes random time;
S2, after the random time, the user end to server asks distribution node;Random time is 0
Client directly downloads software from the server, and download is opened download port and turns into distribution to server registration and saves after terminating
Point;
If S21, request distribution node success, client will download required software from distribution node;If client
Hold and ask failed download to distribution node, client is by again to the distribution node that server request is new;
If S22, the failure of request distribution node or time-out, client will download software from server, download is opened after terminating
Open download port and turn into distribution node to server registration;
After S3, server receive distribution node registration, when the client request for being received again by same subnet is downloaded, will divide
Hair node is sent to client.
As a further improvement on the present invention, in step S2 and S3, user end to server is registered as distribution node
Meanwhile, set time-out time, when server detect distribution node up to time-out time after, will delete the distribution node, no longer under
Send out the distribution node.
As a further improvement on the present invention, server issues software distribution command by communication port.
As a further improvement on the present invention, the software distribution command also includes:Software I D, software URL and execution bar
Part.
As a further improvement on the present invention, the software distribution command is json forms.
Beneficial effects of the present invention are:
Distributed software distribution method of the invention, will change over many distribution node machines by single distribution node intelligence
System, makes full use of the client in network, reduces core network load and master server load, improves distribution speed and efficiency;
Simultaneously because the unlatching of distribution node has time restriction, so reducing the risk that terminal is attacked.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, without having to pay creative labor, may be used also
Other accompanying drawings are obtained with according to these accompanying drawings.
Fig. 1 is the flow chart of distributed software distribution in embodiment.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made
Embodiment, belongs to the scope of protection of the invention.
As shown in figure 1, being the flow chart of distributed software distribution in embodiment.
Distributed software distribution method in embodiment, comprises the following steps:
S1, server issue software distribution command to client, while issuing a random time to the client;
S2, after the random time, the user end to server asks distribution node;Random time is 0
Client directly downloads software from the server, and download is opened download port and turns into distribution to server registration and saves after terminating
Point;
If S21, request distribution node success, client will download required software from distribution node;If client
Hold and ask failed download to distribution node, client is by again to the distribution node that server request is new;
If S22, the failure of request distribution node or time-out, client will download software from server, download is opened after terminating
Open download port and turn into distribution node to server registration;
After S3, server receive distribution node registration, when the client request for being received again by same subnet is downloaded, will divide
Hair node is sent to client.
Preferably, software distribution command described in embodiment is json forms.
To prevent distribution node from opening download port for a long time and reducing by the risk of virus attack, in embodiment, step
S2 and S3, while user end to server is registered as distribution node, sets time-out time, when server detects distribution section
After point reaches time-out time, the distribution node will be deleted, no longer issue the distribution node.
Preferably, server issues software distribution command by communication port in embodiment.
Distributed software distribution method in embodiment, the software distribution command includes:Software I D, unique mark distribution
Software;Software URL, the software for issuing path on the server;Execution condition, command line parameter when software is performed.
Above-described embodiment changes into code, such as:
In embodiment, distributed software distribution method changes over many distribution node mechanism by single distribution node intelligence,
Server issues a random time (unit is the second) to the client, and preventing software and downloading simultaneously causes server to be gathered around
Plug, while being also convenient for the client first that random time is 0 downloads software and as Distributor, be not for random time
0 client can only start to download after random time;The client in network is made full use of, core network load is reduced
With master server load, distribution speed and efficiency are improved;Under setting time-out time can effectively prevent distribution node from opening for a long time
Load port and reduction are by the risk of virus attack.
Presently preferred embodiments of the present invention is the foregoing is only, is not intended to limit the invention, it is all in essence of the invention
Within god and principle, any modification, equivalent substitution and improvements made etc. should be included within the scope of the present invention.
Claims (5)
1. a kind of distributed software distribution method, it is characterised in that comprise the following steps:
S1, server issue software distribution command to all clients, and the software distribution command includes random time;
S2, after the random time, the user end to server asks distribution node;Random time is 0 client
Software is directly downloaded in end from the server, and download is opened download port and turns into distribution node to server registration after terminating;
If S21, request distribution node success, client will download required software from distribution node;If client to
Distribution node asks failed download, and client is by again to the distribution node that server request is new;
If S22, the failure of request distribution node or time-out, client will download software from server, under download is opened after terminating
Load port simultaneously turns into distribution node to server registration;
After S3, server receive distribution node registration, when the client request for being received again by same subnet is downloaded, distribution is saved
Point is sent to client.
2. distributed software distribution method according to claim 1, it is characterised in that in step S2 and S3, client to
While server registration turns into distribution node, time-out time is set, after server detects distribution node up to time-out time,
The distribution node will be deleted, no longer issue the distribution node.
3. distributed software distribution method according to claim 1, it is characterised in that server is issued by communication port
Software distribution command.
4. the distributed software distribution method according to claim 1 or 3, it is characterised in that the software distribution command is also
Including:Software I D, software URL and execution condition.
5. distributed software distribution method according to claim 4, it is characterised in that the software distribution command is json
Form.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710017072.0A CN106713483B (en) | 2017-01-11 | 2017-01-11 | Distributed software distribution method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710017072.0A CN106713483B (en) | 2017-01-11 | 2017-01-11 | Distributed software distribution method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106713483A true CN106713483A (en) | 2017-05-24 |
CN106713483B CN106713483B (en) | 2020-11-10 |
Family
ID=58908177
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710017072.0A Active CN106713483B (en) | 2017-01-11 | 2017-01-11 | Distributed software distribution method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106713483B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109710275A (en) * | 2018-12-19 | 2019-05-03 | 中科曙光国际信息产业有限公司 | A kind of the software uninstalling system and method for distributed type assemblies |
CN110134407A (en) * | 2019-05-21 | 2019-08-16 | 中国电子科技集团公司第二十八研究所 | A kind of configurable distributed software distribution method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102761599A (en) * | 2012-05-10 | 2012-10-31 | Ut斯达康通讯有限公司 | Scalable file distribution method used in distributed system |
CN103024082A (en) * | 2013-01-04 | 2013-04-03 | 福建星网视易信息系统有限公司 | Point-to-point communication method used for digital media distribution |
CN103106083A (en) * | 2011-11-09 | 2013-05-15 | 北京市三希电子科技开发公司 | Loading method and loading device of firmware |
CN103957269A (en) * | 2014-05-08 | 2014-07-30 | 中国联合网络通信集团有限公司 | P2P network node selection method and P2P redirect server |
EP2767912A2 (en) * | 2013-01-27 | 2014-08-20 | Travel Holdings Inc. | In-memory real-time synchronized database system and method |
-
2017
- 2017-01-11 CN CN201710017072.0A patent/CN106713483B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103106083A (en) * | 2011-11-09 | 2013-05-15 | 北京市三希电子科技开发公司 | Loading method and loading device of firmware |
CN102761599A (en) * | 2012-05-10 | 2012-10-31 | Ut斯达康通讯有限公司 | Scalable file distribution method used in distributed system |
CN103024082A (en) * | 2013-01-04 | 2013-04-03 | 福建星网视易信息系统有限公司 | Point-to-point communication method used for digital media distribution |
EP2767912A2 (en) * | 2013-01-27 | 2014-08-20 | Travel Holdings Inc. | In-memory real-time synchronized database system and method |
CN103957269A (en) * | 2014-05-08 | 2014-07-30 | 中国联合网络通信集团有限公司 | P2P network node selection method and P2P redirect server |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109710275A (en) * | 2018-12-19 | 2019-05-03 | 中科曙光国际信息产业有限公司 | A kind of the software uninstalling system and method for distributed type assemblies |
CN109710275B (en) * | 2018-12-19 | 2022-01-28 | 中科曙光国际信息产业有限公司 | Software unloading system and method for distributed cluster |
CN110134407A (en) * | 2019-05-21 | 2019-08-16 | 中国电子科技集团公司第二十八研究所 | A kind of configurable distributed software distribution method |
Also Published As
Publication number | Publication date |
---|---|
CN106713483B (en) | 2020-11-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA2711944C (en) | Method and system for deploying non-backward compatible server versions in a client/server computing environment | |
CN100385862C (en) | Method for edition upgrading of optical network unit ONU | |
KR101481443B1 (en) | A method for management device in a communication network and a system thereof | |
US7930692B2 (en) | Updating information in network devices | |
CN110032382A (en) | A kind of vehicle electronic control unit upgrade method, system and terminal device | |
CN100514943C (en) | An upgrade management method and system for instant message client | |
US20040054718A1 (en) | Application services gateway | |
CN102104624B (en) | Software distribution and more new demand servicing are provided but regardless of the state or physical location of end point machine | |
CN101877650B (en) | Method and system for updating software version automatically | |
EP3299953B1 (en) | System and method for providing automatic firmware update management | |
CN101727449A (en) | System and method for processing local file by utilizing remote application | |
CN105553741A (en) | Automatic deployment method for application system based on cloud computing | |
US20050216910A1 (en) | Increasing fault-tolerance and minimizing network bandwidth requirements in software installation modules | |
CN101241364A (en) | Local controller, remote management controller and method for automatically updating the local controller of an air conditioner system | |
CN102447720A (en) | Method for remotely controlling personal computer (PC) by mobile phone | |
CN105339892A (en) | Local network and method of updating a device in a local network | |
CN101795295A (en) | Local area network virus library upgrading system and method based on P2P technology | |
CN104282093A (en) | Tax-control equipment collective invoicing system and method | |
CN100375427C (en) | Cluster device batch file transmitting method and file transmission device | |
CN106685723A (en) | Remote upgrading method and system for embedded network devices | |
CN101635726A (en) | Service end of C/S architecture and service executing method and service executing system of client | |
CN107395385A (en) | Method for upgrading software and device | |
CN106713483A (en) | Distributed software distribution method | |
JP5517463B2 (en) | Thin client system, management server and thin client terminal | |
CN106210114A (en) | A kind of multiple terminals software parallel downloads upgrade method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 100041, room 2, building 3, building 30, Xing Xing street, Shijingshan District, Beijing, Applicant after: Beijing Falcon Safety Technology Co., Ltd Address before: 100041 Beijing city Shijingshan District Street Hing 30 Hospital No. 3 Building 2 layer A-0003 Applicant before: BEIJING KINGSOFT SECURITY MANAGEMENT SYSTEM TECHNOLOGY Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |