CN105487894A - Remote updating method of distributed software system - Google Patents

Remote updating method of distributed software system Download PDF

Info

Publication number
CN105487894A
CN105487894A CN201510839799.8A CN201510839799A CN105487894A CN 105487894 A CN105487894 A CN 105487894A CN 201510839799 A CN201510839799 A CN 201510839799A CN 105487894 A CN105487894 A CN 105487894A
Authority
CN
China
Prior art keywords
updating
file
breakpoint
software system
remote
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
CN201510839799.8A
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.)
Inspur Software Group Co Ltd
Original Assignee
Inspur Software Group 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 Inspur Software Group Co Ltd filed Critical Inspur Software Group Co Ltd
Priority to CN201510839799.8A priority Critical patent/CN105487894A/en
Publication of CN105487894A publication Critical patent/CN105487894A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44536Selecting among different versions
    • 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]

Landscapes

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

Abstract

The invention particularly relates to a remote updating method of a distributed software system. The remote updating method of the distributed software system judges the validity of the C terminal after receiving the updating request, if the validity is legal, the request is refused; then judging the software version and the file list, if the software version and the file list do not need to be updated, and informing a requester; if the files need to be updated, breakpoint continuous transmission check is carried out, the breakpoint files are transmitted preferentially, and if the breakpoint files do not exist, the whole files are updated; and checking the file updating state, and informing the end C to finish the updating. The remote updating method of the distributed software system is based on the linux server system, carries out classification processing on the updating request, supports the breakpoint continuous transmission function of a TCP/IC communication mode, supports breakpoint retrieval of large data volume, provides a universal solution for solving the updating problem of the distributed software system, and can easily realize large-batch large-data-volume updating of the remote software system.

Description

A kind of method for remote updating of distributed software system
Technical field
The present invention relates to distribution is software upgrading technical field, particularly a kind of method for remote updating of distributed software system.
Background technology
Powerful gradually along with modern software function, software systems become very complicated and are more difficult to safeguard, this just brings more challenge for the maintenance work of software systems.Produce in the whole life cycle of being destroyed at software, software maintenance work is very important, the success or failure of the whole software systems of relation.Software maintenance accounts for the time proportion of the 60%-70% that the whole software life cycle spends, it is a part indispensable in the whole life cycle of software, and along with the maturation of software development technique and progress, software upgrading and automatic renewal technology have become very important means of Software maintenance process.
For the problems referred to above, the present invention devises a kind of method for remote updating of distributed software system.The present invention is based on linux server system, for the replacement problem solving distributed software system provides a kind of general solution, easily can realize the renewal of the big data quantity in enormous quantities to remote software systems.
Summary of the invention
The present invention, in order to make up the defect of prior art, provides a kind of method for remote updating of simple distributed software system efficiently.
The present invention is achieved through the following technical solutions:
A method for remote updating for distributed software system, is characterized in that comprising lower step,
(1) C holds software to initiate update request, judges that C holds legitimacy after receiving update request, legal, continues, and does not conform to the request of rule refusal;
(2) judge software version and listed files, first extract C and hold the software version number of modules and compare with server respective version number, if version number needs to upgrade, enter listed files and judge;
The version number of each son file of listed files is contrasted one by one, records the file of all needs renewals and form updating file list;
If software version and listed files do not need to upgrade, need not upgrade, and inform requesting party;
(3) breakpoint transmission inspection, after forming updating file list, in updating file list, check whether that exist can the file of breakpoint transmission, if existed, prioritised transmission breakpoint file, if there is no then upgrades whole file;
(4) check file update state, if file update interrupts, then record breakpoint data and enter breakpoint transmission list side by side; Find that all updating files have all upgraded if detected, then notify that C end upgrades and terminate.
In described step (1), the data message come up is transmitted to C end and carries out mac authentication, after packet mac authentication, also to verify that C holds device numbering whether legal further, whether C end IP address is legal and whether C end identifying code is legal, and the whole legal rear C termination that just allows of above data enters to carry out next step operation.
In described step (4), carry out MAC verification to the file after having upgraded, verification succeeds then confirms that this file update is complete.
The method for remote updating of distributed software system of the present invention, adopts TCP/IP communication mode.
The invention has the beneficial effects as follows: the method for remote updating of this distributed software system, based on linux server system, classification process is carried out to update request, and support the breakpoint transmission function of TCP/IC communication mode, support the breakpoint retrieval of big data quantity, for the replacement problem solving distributed software system provides a kind of general solution, the renewal of the big data quantity in enormous quantities to remote software systems easily can be realized.
Accompanying drawing explanation
Accompanying drawing 1 is the method for remote updating schematic diagram of distributed software system of the present invention.
Embodiment
In order to make technical matters to be solved by this invention, technical scheme and beneficial effect clearly understand, below in conjunction with drawings and Examples, the present invention will be described in detail.It should be noted that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
The method for remote updating of this distributed software system, comprises lower step,
(1) C holds software to initiate update request, judges that C holds legitimacy after receiving update request, legal, continues, and does not conform to the request of rule refusal;
The data message come up is transmitted to C end and carries out mac authentication, after packet mac authentication, also will verify that C holds device numbering whether legal further, whether C end IP address is legal and whether C end identifying code is legal, and the whole legal rear C termination that just allows of above data enters to carry out next step operation.
Judge the legitimacy that C holds, as the software systems update method being mainly used in financial industry, enter service end steal data for preventing illegal terminal by this channel, the validity judgement of C end is very important.
(2) judge software version and listed files, first extract C and hold the software version number of modules and compare with server respective version number, if version number needs to upgrade, enter listed files and judge;
The version number of each son file of listed files is contrasted one by one, records the file of all needs renewals and form updating file list;
If software version and listed files do not need to upgrade, need not upgrade, and inform requesting party.
(3) breakpoint transmission inspection, after forming updating file list, in updating file list, check whether that exist can the file of breakpoint transmission, if existed, prioritised transmission breakpoint file, if there is no then upgrades whole file;
Breakpoint transmission function well improves and upgrades efficiency and update time, has embodied the advantage of oneself under the condition that network condition is bad especially.
(4) check file update state, if file update interrupts, then record breakpoint data and enter breakpoint transmission list side by side; Carry out MAC verification to the file after having upgraded, verification succeeds then confirms that this file update is complete, finds that all updating files have all upgraded if detected, then notify that C end upgrades and terminate.
The method for remote updating of distributed software system of the present invention, adopts TCP/IP communication mode.TCP provides a kind of data flow service reliably, adopts " positive acknowledgment that band retransmits " technology to realize the reliability transmitted, therefore adopts the transmission of TCP/IP communication sweetly disposition fileinfo, and reliability is high, is convenient to the judgement that file passes down progress.
The method for remote updating of this distributed software system, based on linux server system.Its core content is unified multi-process many concurrent processing mode, classification process is carried out to update request, the comparing result of definition software version, realize the renewal of big data quantity, and support the breakpoint transmission function of TCP/IC communication mode, support the breakpoint retrieval of big data quantity, retrieving files with new progress.For the replacement problem solving distributed software system provides a kind of general solution, the renewal of the big data quantity in enormous quantities to remote software systems easily can be realized.

Claims (4)

1. a method for remote updating for distributed software system, is characterized in that:
(1) C holds software to initiate update request, judges that C holds legitimacy after receiving update request, legal, continues, and does not conform to the request of rule refusal;
(2) judge software version and listed files, first extract C and hold the software version number of modules and compare with server respective version number, if version number needs to upgrade, enter listed files and judge;
The version number of each son file of listed files is contrasted one by one, records the file of all needs renewals and form updating file list;
If software version and listed files do not need to upgrade, need not upgrade, and inform requesting party;
(3) breakpoint transmission inspection, after forming updating file list, in updating file list, check whether that exist can the file of breakpoint transmission, if existed, prioritised transmission breakpoint file, if there is no then upgrades whole file;
(4) check file update state, if file update interrupts, then record breakpoint data and enter breakpoint transmission list side by side; Find that all updating files have all upgraded if detected, then notify that C end upgrades and terminate.
2. the method for remote updating of distributed software system according to claim 1, it is characterized in that: in described step (1), the data message come up is transmitted to C end and carries out mac authentication, after packet mac authentication, also to verify that C holds device numbering whether legal further, whether C end IP address is legal and whether C end identifying code is legal, and the whole legal rear C termination that just allows of above data enters to carry out next step operation.
3. the method for remote updating of distributed software system according to claim 1, is characterized in that: in described step (4), carries out MAC verification to the file after having upgraded, and verification succeeds then confirms that this file update is complete.
4. the method for remote updating of distributed software system according to claim 1, is characterized in that: adopt TCP/IP communication mode.
CN201510839799.8A 2015-11-27 2015-11-27 Remote updating method of distributed software system Pending CN105487894A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510839799.8A CN105487894A (en) 2015-11-27 2015-11-27 Remote updating method of distributed software system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510839799.8A CN105487894A (en) 2015-11-27 2015-11-27 Remote updating method of distributed software system

Publications (1)

Publication Number Publication Date
CN105487894A true CN105487894A (en) 2016-04-13

Family

ID=55674890

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510839799.8A Pending CN105487894A (en) 2015-11-27 2015-11-27 Remote updating method of distributed software system

Country Status (1)

Country Link
CN (1) CN105487894A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109285298A (en) * 2018-09-30 2019-01-29 苏州浪潮智能软件有限公司 A kind of method for remote updating applied to bank self-help system
CN111240713A (en) * 2019-12-28 2020-06-05 杭州拓深科技有限公司 Method for detecting remote breakpoint continuous transmission through power utilization
WO2021081758A1 (en) * 2019-10-29 2021-05-06 深圳市欢太科技有限公司 Data update method, device, terminal apparatus, and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101309271A (en) * 2008-07-09 2008-11-19 大唐微电子技术有限公司 User recognition modular service publishing method and system based on wireless communication
CN101593118A (en) * 2009-02-24 2009-12-02 浪潮集团山东通用软件有限公司 A kind of software upgrade method flexibly
WO2010145489A1 (en) * 2009-11-03 2010-12-23 中兴通讯股份有限公司 System and method for software updating
CN102262544A (en) * 2010-05-24 2011-11-30 腾讯科技(深圳)有限公司 Method and device for upgrading software
CN102857555A (en) * 2012-08-03 2013-01-02 深圳中兴网信科技有限公司 Terminal, server and software updating method
CN103259672A (en) * 2012-02-17 2013-08-21 阿里巴巴集团控股有限公司 Software upgrading method and software upgrading system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101309271A (en) * 2008-07-09 2008-11-19 大唐微电子技术有限公司 User recognition modular service publishing method and system based on wireless communication
CN101593118A (en) * 2009-02-24 2009-12-02 浪潮集团山东通用软件有限公司 A kind of software upgrade method flexibly
WO2010145489A1 (en) * 2009-11-03 2010-12-23 中兴通讯股份有限公司 System and method for software updating
CN102262544A (en) * 2010-05-24 2011-11-30 腾讯科技(深圳)有限公司 Method and device for upgrading software
CN103259672A (en) * 2012-02-17 2013-08-21 阿里巴巴集团控股有限公司 Software upgrading method and software upgrading system
CN102857555A (en) * 2012-08-03 2013-01-02 深圳中兴网信科技有限公司 Terminal, server and software updating method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109285298A (en) * 2018-09-30 2019-01-29 苏州浪潮智能软件有限公司 A kind of method for remote updating applied to bank self-help system
WO2021081758A1 (en) * 2019-10-29 2021-05-06 深圳市欢太科技有限公司 Data update method, device, terminal apparatus, and computer readable storage medium
CN114258525A (en) * 2019-10-29 2022-03-29 深圳市欢太科技有限公司 Data updating method and device, terminal equipment and computer readable storage medium
CN114258525B (en) * 2019-10-29 2024-07-26 深圳市欢太科技有限公司 Data updating method, device, terminal equipment and computer readable storage medium
CN111240713A (en) * 2019-12-28 2020-06-05 杭州拓深科技有限公司 Method for detecting remote breakpoint continuous transmission through power utilization

Similar Documents

Publication Publication Date Title
CN106843957B (en) System firmware upgrading method and device
CN102752326B (en) The method of deal with data, server and system in the time of download file
CN110046073B (en) Log collection method and device, equipment and storage medium
CN109039987A (en) A kind of user account login method, device, electronic equipment and storage medium
CN105897461A (en) Multi-system OTA upgrading method and multi-system equipment
CN106484453B (en) Method and device for realizing system upgrading
CN105487894A (en) Remote updating method of distributed software system
CN110225078B (en) Application service updating method, system and terminal equipment
CN107453953B (en) Httpclient-based data updating system and method
CN109614131A (en) A kind of broadcasting equipment upgrading control system
CN103036706A (en) Local processing method of application upgrading abnormity
CN108830113A (en) A kind of acquisition methods of Android device unique identification
CN111224807B (en) Distributed log processing method, device, equipment and computer storage medium
CN113225339B (en) Network security monitoring method and device, computer equipment and storage medium
CN108540491B (en) Semi-automatic penetration testing system and method based on passive scanning
CN112329001B (en) Data distribution method, system, terminal and medium between internal network and external network
CN103714017B (en) A kind of authentication method, authentication device and authenticating device
CN111177715A (en) Mobile App vulnerability detection method and device
CN102866932A (en) Method and device for providing and collecting data related to abnormal terminal
WO2017071486A1 (en) Application installation method and apparatus
CN104348815A (en) Method and device for verifying verification code
CN111831304A (en) Version upgrading method and device, electronic equipment and storage medium
CN108306815A (en) A kind of method, apparatus, equipment and computer readable storage medium obtaining message
CN109933351B (en) Method and device for repairing and upgrading Linux system
CN106411657A (en) System for version completeness detection of network phone

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: 20160413

RJ01 Rejection of invention patent application after publication