CN106210114A - A kind of multiple terminals software parallel downloads upgrade method - Google Patents

A kind of multiple terminals software parallel downloads upgrade method Download PDF

Info

Publication number
CN106210114A
CN106210114A CN201610607406.5A CN201610607406A CN106210114A CN 106210114 A CN106210114 A CN 106210114A CN 201610607406 A CN201610607406 A CN 201610607406A CN 106210114 A CN106210114 A CN 106210114A
Authority
CN
China
Prior art keywords
terminal
server
software
seed
client
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
Application number
CN201610607406.5A
Other languages
Chinese (zh)
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.)
Beijing VRV Software Corp Ltd
Original Assignee
Beijing VRV Software Corp 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 Beijing VRV Software Corp Ltd filed Critical Beijing VRV Software Corp Ltd
Priority to CN201610607406.5A priority Critical patent/CN106210114A/en
Publication of CN106210114A publication Critical patent/CN106210114A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1008Server selection for load balancing based on parameters of servers, e.g. available memory or workload

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of multiple terminals software parallel and download upgrade method, the method comprises the steps: that (1) new client software is uploaded to manage server;(2) management server judges whether to enable terminal as " seed server ";(3) when the judged result of upper step starts " seed server " for needs, management server selects the terminal having completed client software download as " seed server " in the different areas;(4) new client software is downloaded each area terminal " seed server " in its region.Compared with traditional client terminal software updating method, this method significantly reduces the resource consumption of management server, business properly functioning has been effectively ensured, greatly improve the overall updating speed of the whole network terminal simultaneously, achieve the concordance of the whole network client terminals software version, reduce the complexity of system maintenance and the probability of control unknown risks occurs in business.

Description

A kind of multiple terminals software parallel downloads upgrade method
Technical field
The technology of the present patent application belongs to computer network communication method field, particularly relates to be made up of multiple terminals Network environment realizes the method that software parallel downloads upgrading.
Background technology
Along with the development of network technology, increasing user begins through mobile network and is connected with the Internet and is obtained from The information that oneself needs.The client software of user achieves multi-platform across a network gapless communication between the Internet.
Interactive network communication of the prior art specifically includes that (1) B/S (Browse/Server, browser/service Device) mode;(2) C/S (client/server, client/server) network;(3) P2P (peer to peer, equity) network Three kinds.The essence of above-mentioned three kinds of network communications is a side and provides service for a relative side.
A kind of to carry out, by browser and server, the network that information is mutual for B/S network communication, most commonly seen just It it is WEB service;C/S network is that the client software that a kind of user is installed by client-side interacts information gap with server Logical network transmission means;P2P is also required to install client software at user side equally and carries out letter with other client/servers Breath exchange.In above-mentioned three kinds of network communication modes, it is soft that C/S and P2P network is required for installing corresponding client at client terminal Part, by client software, terminal use can mutually carry out information transmission between subscriber equipment and server and (include word Information, voice messaging, image information).These client softwares ensure that the height of data transmission between subscriber equipment, server Fast, stable.But along with enhancing and the business development demand of information transfer function, client software is also in requisition for carrying out version liter Level.Traditional client terminal software updating mode is to issue up-to-date client software version on the server, then notifies each visitor Family end starts to download from server and upgrade, but when the client terminal number in whole network region is excessive, all terminals are simultaneously Perform version download, updating operation, download new version software from server and can take bigger server resource, time serious even Affect the normal service operation of server, and which also can result in part terminal versions and upgrades unsuccessfully, thus cause complete The terminal software version of network area is inconsistent, brings the business risk being difficult to predict.Use which kind of network data transmission mode Ensureing that client terminal carries out client software and downloads the upgrading impact minimum on server, transmission efficiency is up to network communication The important technological problems of development.
Summary of the invention
The technical scheme of the application is contemplated to solve the problems referred to above, proposes the software under multiple terminals, a kind of Multi net voting region Parallel download upgrade method, the method combines traditional file and downloads and P2P file distribution techniques, it is achieved quick, stable, safe Multiple terminals file download upgrading, system judges when the download load of access server is excessive, in time in completing the terminal downloaded Select, enable " seed server ", serve as the file download service device of one's respective area terminal, thus support the whole network terminal and be rapidly completed File download, and then the version completing the whole network terminal quickly upgrades.
The multiple terminals software parallel download upgrade method realizing foregoing invention purpose adopts the following technical scheme that one is the most eventually End software parallel downloads upgrade method, and the method comprises the steps: that (1) new client software is uploaded to manage server; (2) management server judges whether to enable terminal as " seed server ";(3) start for needs when the judged result of upper step Time " seed server ", management server selects the terminal having completed client software download as " seed in the different areas Server ";(4) new client software is downloaded each area terminal " seed server " in its region.In said method, Core be by server, the monitoring of download state is judged, select specific terminal as " seed server " so that this Other-end in region carries out no longer carrying out data transmission by management server when client software downloads upgrading again, reduces The data exchange burden of management server, it is ensured that server security, stable, run efficiently.
In above-mentioned steps (3), management server judges whether to enable terminal and as the condition of " seed server " is: (a) Whole network region carries out whether the terminal of client terminal software updating exceedes the 30% of total number of terminals;(b) all client downloads band Whether wide sum has exceeded the 50% of the band width in physical of management server;C () downloads whether the terminal of client software is in not In same region;When upper 3 conditions meet any situation, enable " seed server " terminal.Once select to determine this " seed server " in region, then the object of its data transmission is just confined to the terminal in one's respective area, it is achieved data are in region The transmission in portion.It practice, server selects certain terminal to be to possess certain standard and requirement, here server as server Prioritization selection is carried out: the terminal that in (i) each region, network downloading rate is the fastest serves as " seed according to following 3 conditions Server ";(ii) terminal that in each region, band width in physical load is the lightest serves as " seed server ";(iii) in each region, CPU bears The terminal that lotus is the lightest serves as " seed server ".Selected by " seed server " of above-mentioned 3 standards, it is ensured that as The terminal of " seed server " has the highest efficiency and stability, it is achieved thereby that other each terminals are visitor on network transmits The efficient performance that family end software download is during upgrading.Owing to selection and the foundation of " seed server " are only to carry out client at needs The region server of software download foundation during upgrading, therefore, complete on each area terminal " seed server " in its region Becoming after downloading client software, the file download service of " seed server " closed by management platform, original as " planting sub-services Device " terminal will use as ordinary terminal.
The software downloaded due to each area terminal and upgrade obtains from " seed server ", it is more likely that can produce The situation that newly installed software is not normally functioning, to this end, each area terminal completes to service with management after client software is downloaded Device is set up heart beating and is connected and carry out client software proof procedure;If checking is not passed through, terminal unloads what this upgrading was downloaded Software, and software version before recovery operation from backup directory;Carrying out client software proof procedure, it specifically exists simultaneously Terminal is set up after heart beating is connected with management server, from server download Test Strategy and perform, Test Strategy is performed result Whether the result of terminal to report normal to report server, server to judge, if Test Strategy to perform result normal, then terminal this Updating operation normally completes, and flow process terminates.Above-mentioned checking, test process, it is ensured that although each terminal " plants sub-services from different Device " middle software of having upgraded of downloading, but its final effect is consistent with management server software download upgrading.
Using the multi-threaded parallel method of operation to have become as the conventional means of network communication at present, this mode can be significantly Improve the efficiency of data transmission.To this end, in the technical program, terminal downloads client software from " seed server ", terminal is tested The correctness of card client software all uses the terminal in parallel mode, and regional and " the kind sub-services in respective region Device " it is to carry out data information exchange simultaneously.
Detailed description of the invention
For becoming apparent from illustrating technical solution of the present invention, it is introduced by a kind of specific embodiment below, is first The download of terminal software and escalation process;Its step is that (1) manager uploads up-to-date client software to management server; (2) terminal end is obtaining, from management server, the up-to-date client software version number that current system is supported by heart beating link; (3) terminal carries out version number's comparison, and discovery system exists redaction, starting client version down loading updating flow process;(4) terminal end The software version information notification server that the system type of oneself, IP address, preparation are downloaded;(5) server is made whether to build Each terminal is informed in the judgement founding " seed server " the IP address determining each " seed server " and download password;(6) each end Hold and initiate, to corresponding " seed server ", the request of downloading, and carry out password authentication;(7) terminal is by, after password authentication, completing Redaction is downloaded;(8), after having downloaded, client checks software is the most effective;(9), after completing verification, it is soft that terminal installs redaction Part, completes edition upgrading operation.
The process of terminal versions checking is as follows: (1) terminal, after completing new version software download installation, sets up server Heart beating connect;(2) if the failure of heart beating connection establishment, terminal inspection and the connectedness of server, if connective, there is no problem, Then again attempt to set up heart beating connect, if still failed, then judge client redaction existing problems, then proceed to version rollback stream Journey;(3), after terminal sets up heart beating connection, download Test Strategy from server and perform, Test Strategy being performed result and reports clothes Business device;(4) server judges that the result of terminal to report is the most normal, and result is returned;(5) if Test Strategy is just performing result Often, then this updating operation of terminal normally completes, and flow process terminates;(6) if Test Strategy perform results abnormity, then client this Updating operation failure, proceeds to version rollback flow process.
Terminal versions rollback flow process is as follows: (1) terminal unloads the new version software that this upgrading is downloaded;(2) terminal is from standby Part catalogue is recovered the software version before updating operation;(3), after software version recovers, terminal re-establishes the heart beating of server Connect;(3) after heart beating is set up, terminal to report current system version number and version rollback record and reason.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all in essence of the present invention Any amendment, equivalent and the simple modifications etc. made in content, should be included within the scope of the present invention.

Claims (8)

1. a multiple terminals software parallel downloads upgrade method, it is characterised in that the method comprises the steps: the visitor that (1) is new Family end software upload is to managing server;(2) management server judges whether to enable terminal as " seed server ";(3) when When the judged result of upper step starts " seed server " for needs, management server selects to have completed client in the different areas The terminal of software download is as " seed server ";(4) download newly each area terminal " seed server " in its region Client software.
Multiple terminals the most according to claim 1 software parallel downloads upgrade method, it is characterised in that in step (3), management Server judges whether to enable terminal: (a) whole network region carries out client software liter Whether the terminal of level exceedes the 30% of total number of terminals;Whether (b) all client downloads bandwidth sum has exceeded management server Band width in physical 50%;C () downloads whether the terminal of client software is in different regions;Above-mentioned 3 conditions meet During any situation, enable " seed server " terminal.
Multiple terminals the most according to claim 1 software parallel downloads upgrade method, it is characterised in that select in step (2) Terminal condition as " seed server " is: the terminal that in (i) each region, network downloading rate is the fastest serves as " kind sub-services Device ";The terminal that in (i i) each region, band width in physical load is the lightest serves as " seed server ";In (i i i) each region, CPU bears The terminal that lotus is the lightest is served as " seed server ", and above-mentioned 3 conditions carry out " planting according to (i) (i i) (i i i) priority orders Child servers " selection.
Multiple terminals the most according to claim 1 software parallel downloads upgrade method, it is characterised in that each area terminal from After completing in " seed server " in its region to download client software, management platform is closed under the file of " seed server " Carry service.
Multiple terminals the most according to claim 1 software parallel downloads upgrade method, it is characterised in that each area terminal completes Client software is set up heart beating with management server after downloading and is connected and carries out client software proof procedure;If verifying obstructed Crossing, terminal unloads the software that this upgrading is downloaded, and software version before recovery operation from backup directory.
Multiple terminals the most according to claim 5 software parallel downloads upgrade method, it is characterised in that client software is verified It is to set up with management server after heart beating is connected in terminal, downloads Test Strategy from server and perform, by Test Strategy execution Result reports server, server to judge the result of terminal to report the most normally, if Test Strategy performs result normally, then and terminal This updating operation normally completes, and flow process terminates.
7. download upgrade method according to the multiple terminals software parallel described in claim 1,5 or 6, it is characterised in that terminal is from " planting Child servers " download client software, the correctness of terminal authentication client software and all use parallel mode.
Multiple terminals the most according to claim 3 software parallel downloads upgrade method, it is characterised in that terminal is from " seed takes Business device " download client software time need to carry out password authentication.
CN201610607406.5A 2016-07-28 2016-07-28 A kind of multiple terminals software parallel downloads upgrade method Pending CN106210114A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610607406.5A CN106210114A (en) 2016-07-28 2016-07-28 A kind of multiple terminals software parallel downloads upgrade method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610607406.5A CN106210114A (en) 2016-07-28 2016-07-28 A kind of multiple terminals software parallel downloads upgrade method

Publications (1)

Publication Number Publication Date
CN106210114A true CN106210114A (en) 2016-12-07

Family

ID=57495757

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610607406.5A Pending CN106210114A (en) 2016-07-28 2016-07-28 A kind of multiple terminals software parallel downloads upgrade method

Country Status (1)

Country Link
CN (1) CN106210114A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107040404A (en) * 2017-03-06 2017-08-11 上海斐讯数据通信技术有限公司 A kind of Internet of product firmware update and its system
CN109857414A (en) * 2019-01-22 2019-06-07 上海微小卫星工程中心 Satellite Software method of diffusion and system
CN111443936A (en) * 2020-04-15 2020-07-24 赞同科技股份有限公司 Method and system for updating client software
CN112600854A (en) * 2018-01-15 2021-04-02 华为技术有限公司 Software upgrading method and system
CN113676757A (en) * 2020-05-15 2021-11-19 杭州晨熹多媒体科技有限公司 Data transmission method, device and system

Citations (3)

* Cited by examiner, † Cited by third party
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
CN102945175A (en) * 2012-11-09 2013-02-27 杭州易和网络有限公司 Terminal software online upgrading system and method based on cloud computing environment
CN103517258A (en) * 2012-06-25 2014-01-15 中兴通讯股份有限公司 A method of updating software on a mobile terminal, a mobile terminal and a server

Patent Citations (3)

* Cited by examiner, † Cited by third party
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
CN103517258A (en) * 2012-06-25 2014-01-15 中兴通讯股份有限公司 A method of updating software on a mobile terminal, a mobile terminal and a server
CN102945175A (en) * 2012-11-09 2013-02-27 杭州易和网络有限公司 Terminal software online upgrading system and method based on cloud computing environment

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107040404A (en) * 2017-03-06 2017-08-11 上海斐讯数据通信技术有限公司 A kind of Internet of product firmware update and its system
CN112600854A (en) * 2018-01-15 2021-04-02 华为技术有限公司 Software upgrading method and system
CN112600854B (en) * 2018-01-15 2024-02-13 华为技术有限公司 Software upgrading method and system
CN109857414A (en) * 2019-01-22 2019-06-07 上海微小卫星工程中心 Satellite Software method of diffusion and system
CN111443936A (en) * 2020-04-15 2020-07-24 赞同科技股份有限公司 Method and system for updating client software
CN113676757A (en) * 2020-05-15 2021-11-19 杭州晨熹多媒体科技有限公司 Data transmission method, device and system

Similar Documents

Publication Publication Date Title
CN108234572A (en) A kind of multiple terminals software parallel downloads upgrade method
CN106210114A (en) A kind of multiple terminals software parallel downloads upgrade method
US7065740B2 (en) System and method to automate the management of computer services and programmable devices
US9294352B1 (en) Network change management
US7181519B2 (en) Distributed network monitoring and control system
US20110276685A1 (en) Cloud computing as a service for enterprise software and data provisioning
US20110126168A1 (en) Cloud plarform for managing software as a service (saas) resources
EP3299953B1 (en) System and method for providing automatic firmware update management
CN104317607B (en) A kind of enterprise In-house IOS APP automatic updating systems and method
CN102945175A (en) Terminal software online upgrading system and method based on cloud computing environment
US10212034B1 (en) Automated network change management
US20060224623A1 (en) Computer status monitoring and support
CN105653329A (en) Application management method, apparatus and system
WO2007122030A1 (en) Method, system and computer program for the centralized system management on endpoints of a distributed data processing system
CN109062590A (en) A kind of method and system of game SDK online updating
CN112925529B (en) Application security distribution method, system, device and medium based on distributed cloud platform
CN113055421A (en) Service grid management method and system
CN109614131A (en) A kind of broadcasting equipment upgrading control system
CN110008058A (en) System and method for network switch to execute automatic data backup
CN110166547A (en) Terminal remote access control method
CN115730935A (en) Data processing method, device and equipment based on block chain and readable storage medium
CN101184083A (en) Green internet system and method thereof
CN113873040B (en) Block chain-based power Internet of things cross-domain service function chain arrangement method
CN102349065B (en) The service of equipment auxiliary is installed
CN115150162B (en) Root certificate updating method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20161207

RJ01 Rejection of invention patent application after publication