CN109683924A - Application software updating method, system, equipment and computer readable storage medium - Google Patents

Application software updating method, system, equipment and computer readable storage medium Download PDF

Info

Publication number
CN109683924A
CN109683924A CN201710971512.6A CN201710971512A CN109683924A CN 109683924 A CN109683924 A CN 109683924A CN 201710971512 A CN201710971512 A CN 201710971512A CN 109683924 A CN109683924 A CN 109683924A
Authority
CN
China
Prior art keywords
plug
unit
upgraded
application software
access information
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
Application number
CN201710971512.6A
Other languages
Chinese (zh)
Other versions
CN109683924B (en
Inventor
李世伟
王雨
张飞
何岳华
刘志芳
陈凯
邹浩
邓志峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhuzhou CRRC Times Electric Co Ltd
Original Assignee
Zhuzhou CRRC Times Electric 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 Zhuzhou CRRC Times Electric Co Ltd filed Critical Zhuzhou CRRC Times Electric Co Ltd
Priority to CN201710971512.6A priority Critical patent/CN109683924B/en
Publication of CN109683924A publication Critical patent/CN109683924A/en
Application granted granted Critical
Publication of CN109683924B publication Critical patent/CN109683924B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons
    • 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]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

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 Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

This application discloses a kind of application software updating method, system, equipment and computer readable storage medium, this method comprises: obtaining the plug-in unit access information of plug-in unit to be upgraded in target device;The communication link for accessing the plug-in unit to be upgraded is built, using the plug-in unit access information of ethernet technology and the plug-in unit to be upgraded to obtain the identification code of each plug-in unit in the plug-in unit to be upgraded by the communication link;According to the corresponding application software file path of the corresponding plug-in unit of identification code acquisition of each plug-in unit in the plug-in unit to be upgraded;Using the corresponding application software file path of plug-in unit each in FTP tool and the plug-in unit to be upgraded, corresponding application software is upgraded.Application software updating method provided by the present application, reduces the triviality of the corresponding application software upgrade process of plug-in unit, shortens upgrade cycle the characteristics of taking full advantage of ethernet technology, hence it is evident that upgrading efficiency is improved, meanwhile, improve the service life of equipment.

Description

Application software updating method, system, equipment and computer readable storage medium
Technical field
The present invention relates to application software upgrade technology, in particular to a kind of application software updating method, system, equipment and meter Calculation machine readable storage medium storing program for executing.
Background technique
With the continuous development of technology, Ethernet is because of its own higher traffic rate, powerful resource sharing capability etc. Advantage is gradually widely used in every field.For example, Industrial Ethernet is the Ethernet applied to industrial control field Technology, it is technically compatible with commercial Ethernet, likewise, because the popularity application of Ethernet and above-mentioned ether network optimization Point, Industrial Ethernet have been increasingly becoming the mainstream technology of motor-car network control system.In addition to this, liter is optimized in equipment When grade, also mainly based on this technology.
Equipment more complex at present is all modularized design, and plug-in unit is the minimum unit of equipment, by each plug-in unit Application software upgrade reaching the final effect for carrying out equipment global optimization upgrading.However, upgrading in equipment optimization In operation, the prior art needs respectively to answer each plug-in unit using ftp client tool the most commonly used is repair and maintenance personnel With software upgrade job, and carrying out complicated for operation in escalation process, upgrade cycle is long and is easy error, it is also necessary to setting It is standby to carry out frequent power-off restarting operation, it can be seen that, the process of such upgrade method is complicated, low efficiency and easy error.
Therefore, how to simplify the operation of equipment optimization upgrading, to shorten upgrade cycle, improve the efficiency of equipment optimization upgrading And guarantee the accuracy of upgrading, it is those skilled in the art's technical problem urgently to be resolved.
Summary of the invention
It can in view of this, the purpose of the present invention is to provide a kind of application software updating method, system, equipment and computers Storage medium is read, to simplify the operation of equipment optimization upgrading, to improve the efficiency of equipment optimization upgrading, and guarantees the accurate of upgrading Property.Its concrete scheme is as follows:
A kind of application software updating method, comprising:
Obtain the plug-in unit access information of plug-in unit to be upgraded in target device;
The access plug-in unit to be upgraded is built using the plug-in unit access information of ethernet technology and the plug-in unit to be upgraded Communication link, to obtain the identification code of each plug-in unit in the plug-in unit to be upgraded by the communication link;
Corresponding plug-in unit corresponding application software file road is obtained according to the identification code of each plug-in unit in the plug-in unit to be upgraded Diameter;
Using the corresponding application software file path of plug-in unit each in FTP tool and the plug-in unit to be upgraded, to corresponding Application software is upgraded.
Preferably, described using ethernet technology and the plug-in unit access information of the plug-in unit to be upgraded is built described in access The step of communication link of plug-in unit to be upgraded, comprising:
The username and password of user terminal input is obtained, and judges whether the username and password is legal information, If it is, building the access plug-in unit to be upgraded using the plug-in unit access information of ethernet technology and the plug-in unit to be upgraded Communication link.
Preferably, the plug-in unit access information of each plug-in unit includes corresponding plug-in unit IP address.
Preferably, described the step of obtaining the plug-in unit access information of plug-in unit to be upgraded in target device, further comprise:
Detect whether the plug-in unit access information for successfully obtaining each plug-in unit in the plug-in unit to be upgraded;
If the plug-in unit access information of any plug-in unit is not successfully acquired in the plug-in unit to be upgraded, failed obtain is analyzed The reason of plug-in unit access information, record log simultaneously reacquire rule according to preset information, access letter to the plug-in unit of the plug-in unit Breath is reacquired.
Preferably, described to utilize each plug-in unit corresponding application software file road in FTP tool and the plug-in unit to be upgraded Diameter further comprises the step of upgrading to corresponding application software:
Upgrading detection is carried out to the corresponding application software of plug-in unit each in the plug-in unit to be upgraded;
If the corresponding application software of any plug-in unit upgrades not successfully in the plug-in unit to be upgraded, checks and upgrade not successfully Reason, record log and according to preset software again upgrade rule re-start upgrading to the corresponding application software of the plug-in unit.
Preferably, described the step of obtaining the plug-in unit access information of plug-in unit to be upgraded in target device, comprising:
The communication connection between primary processor plug-in unit in foundation and the target device;Wherein, the primary processor is inserted Part is the plug-in unit saved in advance to the plug-in unit access information of each plug-in unit in the plug-in unit to be upgraded;
Obtain the plug-in unit access information of each plug-in unit in the plug-in unit to be upgraded that the primary processor plug-in unit is sent.
Preferably, the plug-in unit for obtaining each plug-in unit in the plug-in unit to be upgraded that the primary processor plug-in unit is sent is visited Before the step of asking information, further comprise:
Obtain the life state for the plug-in unit to be upgraded that the main processor modules are sent;
Judge whether the life state of each plug-in unit in the plug-in unit to be upgraded is in abnormal condition;
If any plug-in unit is in abnormal condition in the plug-in unit to be upgraded, generates corresponding plug-in unit replacement and remind letter Breath, to remind user to carry out corresponding replacement operation to the plug-in unit.
Preferably, the corresponding application of the corresponding plug-in unit of identification code acquisition according to each plug-in unit in the plug-in unit to be upgraded The step of software document path, comprising:
It generates corresponding file path using the identification code of each plug-in unit in the plug-in unit to be upgraded to request, and by file road Diameter request is sent to the primary processor plug-in unit;
Obtain the application software file path corresponding with file path request that the primary processor plug-in unit is sent.
Correspondingly, the present invention also provides a kind of application software upgrade systems, comprising:
Plug-in unit access information obtains module, for obtaining the plug-in unit access information of plug-in unit to be upgraded in target device;
Identification code obtains information, for being built using the plug-in unit access information of ethernet technology and the plug-in unit to be upgraded The communication link of the plug-in unit to be upgraded is accessed, to obtain each plug-in unit in the plug-in unit to be upgraded by the communication link Identification code;
Application software file path obtains module, for being obtained according to the identification code of each plug-in unit in the plug-in unit to be upgraded The corresponding application software file path of corresponding plug-in unit;
Application software upgrade module, for utilizing the corresponding application of plug-in unit each in FTP tool and the plug-in unit to be upgraded Software document path upgrades corresponding application software.
Correspondingly, the present invention also provides a kind of application software upgrade equipment, comprising:
Processor realizes the application software as described in any of the above-described when for executing the computer program stored in memory The step of upgrade method.
Correspondingly, being deposited on the computer readable storage medium the present invention also provides a kind of computer readable storage medium Computer program is contained, the application software upgrade side as described in any of the above-described is realized when the computer program is executed by processor The step of method.
Compared with prior art, application software updating method disclosed by the invention has the advantages that
Application software updating method disclosed by the invention obtains the plug-in unit access information of plug-in unit to be upgraded in target device; The communication chain for accessing the plug-in unit to be upgraded is built using the plug-in unit access information of ethernet technology and the plug-in unit to be upgraded Road, to obtain the identification code of each plug-in unit in the plug-in unit to be upgraded by the communication link;According to the plug-in unit to be upgraded In the identification code of each plug-in unit obtain the corresponding application software file path of corresponding plug-in unit;Utilize FTP tool and described to be upgraded The corresponding application software file path of each plug-in unit, upgrades corresponding application software in plug-in unit.
The present invention passes through the plug-in unit access information for obtaining plug-in unit to be upgraded in target device first, thus establish with it is described to The communication connection that each plug-in unit is communicated in upgrading plug-in unit, and then can be handed over by the connection with plug-in unit to be upgraded Mutually, in order to obtain the identification code of each plug-in unit, each plug-in unit in the plug-in unit to be upgraded is then obtained according to the identification code Corresponding application software file path is finally soft using the corresponding application of plug-in unit each in FTP tool and the plug-in unit to be upgraded Part file path upgrades corresponding application software.It can be seen that using application software updating method of the invention, energy It is enough uniformly to obtain the plug-in unit access information of each plug-in unit in plug-in unit to be upgraded when equipment optimizes upgrading, it is sufficiently sharp With the superiority of ethernet technology, and then the corresponding application software file path of each plug-in unit is obtained, it is subsequent so as to carry out Upgrade step, avoid the corresponding application software of plug-in unit to be upgraded of target device is one by one carried out respectively in the prior art it is numerous The length of upgrade cycle caused by trivial updating operation, error-prone drawback, are greatly improved upgrading efficiency, reduce manpower and material resources Expenditure, further, since application software method of the invention can upgrade the corresponding application software of plug-in unit to be upgraded simultaneously, Therefore the number for carrying out power-off restarting to target device in updating operation is reduced, improve the service life of equipment.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of application software updating method flow chart disclosed by the invention;
Fig. 2 is a kind of specific application software updating method flow chart disclosed by the invention;
Fig. 3 is a kind of specific application software updating method process flow diagram disclosed by the invention;
Fig. 4 is a kind of application software upgrade system structure diagram disclosed by the invention;
Fig. 5 is a kind of application software upgrade equipment operation principle schematic diagram disclosed by the invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
It is shown in Figure 1 the embodiment of the invention discloses a kind of application software updating method, this method comprises:
Step S11: the plug-in unit access information of plug-in unit to be upgraded in target device is obtained.
In the embodiment of the present application, target device is the equipment upgrade for including one or more plug-in units, wherein Plug-in unit to be upgraded is either one or more, is a plug-in unit access information since a plug-in unit is corresponding, therefore plug-in unit Access information is either one or more.
Step S12: using the plug-in unit access information of ethernet technology and the plug-in unit to be upgraded build access it is described to Upgrade the communication link of plug-in unit, to obtain the identification code of each plug-in unit in the plug-in unit to be upgraded by the communication link.
It should be noted that the embodiment of the present application takes full advantage of the widespread popularity of ethernet technology, higher communication The features such as rate and powerful resource sharing capability, it is above-mentioned to build access using ethernet technology and above-mentioned plug-in unit access information The communication link of plug-in unit to be upgraded can pass through above-mentioned communication link and target device on the basis of establishing communication link In each plug-in unit communicated, and then obtain the identification code of each plug-in unit in above-mentioned plug-in unit to be upgraded.
Step S13: the corresponding application of the corresponding plug-in unit of identification code acquisition according to each plug-in unit in the plug-in unit to be upgraded is soft Part file path.
It is understood that needing to know its corresponding file path when to application software upgrade, to carry out to it Corresponding upgrading, in the embodiment of the present application, above-mentioned identification code and above-mentioned plug-in unit to be upgraded have an one-to-one correspondence property, therefore can be with The file path of the corresponding application software of corresponding plug-in unit is got according to the identification code of each plug-in unit.
Step S14: using the corresponding application software file path of plug-in unit each in FTP tool and the plug-in unit to be upgraded, Corresponding application software is upgraded.
Wherein, FTP (File Transfer Protocol, i.e. text transfer protocol) tool, i.e. upload download tool, can To be FlashFXP, CuteFTP or LeapFTP.
Application software updating method disclosed in the embodiment of the present application, is first unified the characteristics of taking full advantage of ethernet technology The plug-in unit access information of each plug-in unit in plug-in unit to be upgraded is obtained, is then taken using ethernet technology and above-mentioned plug-in unit access information The communication link interacted with plug-in unit to be upgraded in target device is built, and then can be got by above-mentioned communication link each The identification code of plug-in unit, and using the corresponding application software file path of the available each plug-in unit of above-mentioned identification code, so as to Subsequent upgrade step is carried out, application software updating method disclosed in the embodiment of the present application avoids in the prior art respectively to mesh The corresponding application software of plug-in unit to be upgraded of marking device one by one carries out cumbersome updating operation, reduces the corresponding application of plug-in unit The triviality of software upgrade process, shortens upgrade cycle, hence it is evident that upgrading efficiency is improved, meanwhile, reduce manpower and material resources Expenditure.Further, since application software method of the invention can upgrade the corresponding application software of plug-in unit to be upgraded simultaneously, Therefore the number for carrying out power-off restarting to target device in updating operation is reduced, improve the service life of equipment.
The embodiment of the invention discloses a kind of specific application software updating methods, relative to a upper embodiment, this implementation Example has made further instruction and optimization to technical solution.It is shown in Figure 2, specifically includes the following steps:
Step S21: the plug-in unit IP address of plug-in unit to be upgraded in target device is obtained.
That is, the plug-in unit access information in the present embodiment is plug-in unit IP address.Above-mentioned plug-in unit IP address similarly can be One be also possible to it is multiple, specifically, the number of plug-in unit IP address is corresponding with the number of above-mentioned plug-in unit to be upgraded.
It should be noted that in above-described embodiment, can be obtained by the primary processor plug-in unit in target device it is above-mentioned to Upgrade the plug-in unit IP address of plug-in unit.Specifically, the following steps are included:
The communication connection between primary processor plug-in unit in foundation and the target device;Wherein, the primary processor is inserted Part is the plug-in unit saved in advance to the plug-in unit access information of each plug-in unit in the plug-in unit to be upgraded;Obtain the main process task The plug-in unit access information of each plug-in unit in the plug-in unit to be upgraded that device plug-in unit is sent.
In order to understand the life state of the above-mentioned plug-in unit to be upgraded in above-mentioned target device in time, so as to right in time Failure plug-in unit carries out the processing such as replacing, each plug-in unit in obtaining the plug-in unit to be upgraded that the primary processor plug-in unit is sent Before the step of plug-in unit access information, it can also specifically include:
Obtain the life state for the plug-in unit to be upgraded that the main processor modules are sent;Judge the plug-in unit to be upgraded In the life state of each plug-in unit whether be in abnormal condition;If any plug-in unit is in improper shape in the plug-in unit to be upgraded State generates corresponding plug-in unit replacement prompting message, then to remind user to carry out corresponding replacement operation to the plug-in unit.
In order to guarantee that updating operation can be completed once, significantly to shorten upgrade cycle, upgrading efficiency, step are improved Rapid S21 can also be specifically included:
Detect whether the plug-in unit access information for successfully obtaining each plug-in unit in the plug-in unit to be upgraded;If described to be upgraded slotting The plug-in unit access information of any plug-in unit is not successfully acquired in part, then analysis failed the reason of obtaining plug-in unit access information, note It records log and reacquires rule according to preset information, the plug-in unit access information of the plug-in unit is reacquired.
Step S22: the username and password of user terminal input is obtained, and judges whether the username and password is conjunction Method information, if it is, using the plug-in unit access information of ethernet technology and the plug-in unit to be upgraded build access it is described to Upgrade the communication link of plug-in unit.
Wherein, above-mentioned username and password is respectively the user name for being directed to target device that user inputs in user terminal And password, when above-mentioned username and password successful match, i.e., above-mentioned username and password is legal information, then can continue subsequent Step.
Step S23: the corresponding application of the corresponding plug-in unit of object code acquisition according to each plug-in unit in the plug-in unit to be upgraded is soft Part file path.
That is, the identification code in the present embodiment is object code.Wherein, above-mentioned object code includes raw by each plug-in unit to be upgraded At one-to-one object code.
Based on above-mentioned, step S23 is specifically included:
It generates corresponding file path using the object code of each plug-in unit in the plug-in unit to be upgraded to request, and by file road Diameter request is sent to the primary processor plug-in unit;Obtain the answering corresponding with file path request of the primary processor plug-in unit transmission With software document path.
Step S24: using the corresponding application software file path of plug-in unit each in FTP tool and the plug-in unit to be upgraded, Corresponding application software is upgraded.
Likewise, significantly to shorten upgrade cycle, improving upgrading in order to guarantee that updating operation can be completed once Efficiency, step S24 can also be specifically included:
Upgrading detection is carried out to the corresponding application software of plug-in unit each in the plug-in unit to be upgraded;If the plug-in unit to be upgraded In the corresponding application software of any plug-in unit upgrade not successfully, then the reason of investigation failed upgrading, record log and according to default Software upgrade rule again, upgrading is re-started to the corresponding application software of the plug-in unit.
It should be noted that the purpose of upgrading detection is to guarantee in above-mentioned plug-in unit to be upgraded that each plug-in unit is corresponding and answer Successfully upgraded with software, to restart device powers down.It is understood that being needed if upgrading can not be completed once Target device is repeatedly powered off, wherein power-off number is substantially identical to the number of application software upgrade.
It should be noted that in all embodiments of the application, during carrying out the updating operation of application software, if wait rise The corresponding application software upgrade success of grade plug-in unit, then automatically back up original application software file, such as original file For " SS.exe ", then backs up file and be named as " SS_old.exe ".
In addition to this, if all plug-in units to be upgraded upgrade successfully, device powers down is restarted, it can be with monitoring objective equipment In it is each successfully upgrade after the corresponding Software Edition number of plug-in unit it is whether correct.
Based on above-mentioned, shown in Figure 3, the process flow of application software updating method disclosed in all embodiments of the application Substantially may include following process:
Firstly, interacting the life state for obtaining each plug-in unit of target device with primary processor by Ethernet, need to illustrate , the life state of each plug-in unit is defaulted as normally in above-mentioned target device, i.e. life_flag=false, if faulty insert Part occurs, then needs to replace failure plug-in unit with spare unit;If each plug-in unit life state of target device is normal, selection needs to upgrade Object code, input username and password, start updating operation;Each plug-in unit is obtained by the primary processor plug-in unit of target device IP address, user's input target device username and password, and then obtain each plug-in application software path information, if certain Plug-in unit relevant information has not been obtained successfully that then reason has not been obtained successfully in investigation, and record log is simultaneously handled, and to plug-in unit has not been obtained successfully Re-start a key updating operation;If obtaining all plugin information successes of target device to be utilized according to information obtained FTP tool carries out application software upgrade to plug-in unit automatically, and original file is backed up, if certain plug-in unit is not in escalation process It upgrades successfully, then checks and do not upgrade successfully reason, record log is simultaneously handled, and re-starts a key liter to plug-in unit is not upgraded successfully Grade operation;If all plug-in application software upgrade success of target device, device powers down is restarted, and it is soft to monitor each plug-in application Whether part version number is correct.
Application software updating method disclosed in the embodiment of the present application, by being interacted with the primary processor in target device The plug-in unit IP address and plug-in unit life state of each plug-in unit in above-mentioned plug-in unit to be upgraded can be got, and then utilization can be passed through The communication link that above-mentioned plug-in unit IP address and ethernet technology are built gets the object code of each plug-in unit, can also be in time to event Hinder plug-in unit and carry out replacement operation, then arrives corresponding plug-in unit corresponding application software file road using above-mentioned object code is available Diameter, so as to complete subsequent upgrade step, in entire upgrade job, by utilizing primary processor and ethernet technology Feature reduces the triviality of the corresponding application software upgrade process of plug-in unit, shortens upgrade cycle, hence it is evident that improves upgrading effect Rate, meanwhile, reduce the expenditure of manpower and material resources.
Correspondingly, the embodiment of the present application discloses a kind of application software upgrade system, it is shown in Figure 4, comprising:
Plug-in unit access information obtains module 41: for obtaining the plug-in unit access information of plug-in unit to be upgraded in target device.
Identification code obtains information 42: for being taken using the plug-in unit access information of ethernet technology and the plug-in unit to be upgraded The communication link for accessing the plug-in unit to be upgraded is built, to obtain each plug-in unit in the plug-in unit to be upgraded by the communication link Identification code.
Application software file path obtains module 43: for being obtained according to the identification code of each plug-in unit in the plug-in unit to be upgraded Take the corresponding application software file path of corresponding plug-in unit.
Application software upgrade module 44: for being answered using each plug-in unit is corresponding in FTP tool and the plug-in unit to be upgraded With software document path, corresponding application software is upgraded.
The specific work process closed between modules in this present embodiment please refers to application software liter disclosed by the invention Grade method, details are not described herein.
Correspondingly, the embodiment of the present application also discloses a kind of application software upgrade equipment, comprising:
Processor realizes such as above-mentioned application software when the processor is for executing the computer program stored in memory The step of upgrade method.
It should be noted that the embodiment of the present application, shown in Figure 5, application software upgrade equipment can pass through above-mentioned mesh Primary processor in marking device obtains the plug-in unit access information of above-mentioned plug-in unit to be upgraded, application software upgrade equipment detailed process and Technology segment can refer to above-described embodiment.
It should be noted that the particular content of the present embodiment technology segment can be found in hereinbefore embodiment, herein no longer It repeats.
Correspondingly, the embodiment of the present application also discloses a kind of computer readable storage medium, the computer-readable storage It is stored with computer program on medium, such as above-mentioned application software updating method is realized when the computer program is executed by processor The step of.Particular content can be found in hereinbefore embodiment, and details are not described herein.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged Except there is also other identical elements in the process, method, article or apparatus that includes the element.
Above to a kind of application software updating method provided by the present invention, system, equipment and computer-readable storage medium Matter is described in detail, and used herein a specific example illustrates the principle and implementation of the invention, above The explanation of embodiment is merely used to help understand method and its core concept of the invention;Meanwhile for the general skill of this field Art personnel, according to the thought of the present invention, there will be changes in the specific implementation manner and application range, in conclusion this Description should not be construed as limiting the invention.

Claims (11)

1. a kind of application software updating method characterized by comprising
Obtain the plug-in unit access information of plug-in unit to be upgraded in target device;
The logical of the access plug-in unit to be upgraded is built using the plug-in unit access information of ethernet technology and the plug-in unit to be upgraded Link is believed, to obtain the identification code of each plug-in unit in the plug-in unit to be upgraded by the communication link;
According to the corresponding application software file path of the corresponding plug-in unit of identification code acquisition of each plug-in unit in the plug-in unit to be upgraded;
Using the corresponding application software file path of plug-in unit each in FTP tool and the plug-in unit to be upgraded, to corresponding application Software is upgraded.
2. application software updating method according to claim 1, which is characterized in that described to utilize ethernet technology and institute State the step of plug-in unit access information of plug-in unit to be upgraded builds the communication link for accessing the plug-in unit to be upgraded, comprising:
The username and password of user terminal input is obtained, and judges whether the username and password is legal information, if It is then to build the logical of the access plug-in unit to be upgraded using the plug-in unit access information of ethernet technology and the plug-in unit to be upgraded Believe link.
3. application software updating method according to claim 1, which is characterized in that the plug-in unit access information of each plug-in unit is equal Including corresponding plug-in unit IP address.
4. application software updating method according to claim 1, which is characterized in that be upgraded in the acquisition target device The step of plug-in unit access information of plug-in unit, further comprise:
Detect whether the plug-in unit access information for successfully obtaining each plug-in unit in the plug-in unit to be upgraded;
If the plug-in unit access information of any plug-in unit is not successfully acquired in the plug-in unit to be upgraded, failed acquisition plug-in unit is analyzed The reason of access information, record log simultaneously reacquire rule according to preset information, to the plug-in unit access information of the plug-in unit into Row reacquires.
5. application software updating method according to claim 1, which is characterized in that it is described using FTP tool and it is described to Upgrade the corresponding application software file path of each plug-in unit in plug-in unit, the step of upgrading to corresponding application software, into one Step includes:
Upgrading detection is carried out to the corresponding application software of plug-in unit each in the plug-in unit to be upgraded;
If the corresponding application software of any plug-in unit upgrades not successfully in the plug-in unit to be upgraded, the original upgraded not successfully is checked Cause, record log and according to preset software again upgrade rule re-start upgrading to the corresponding application software of the plug-in unit.
6. according to claim 1 to application software updating method described in 5 any one, which is characterized in that the acquisition target In equipment the step of the plug-in unit access information of plug-in unit to be upgraded, comprising:
The communication connection between primary processor plug-in unit in foundation and the target device;Wherein, the primary processor plug-in unit is The plug-in unit that the plug-in unit access information of each plug-in unit in the plug-in unit to be upgraded is saved in advance;
Obtain the plug-in unit access information of each plug-in unit in the plug-in unit to be upgraded that the primary processor plug-in unit is sent.
7. application software updating method according to claim 6, which is characterized in that described to obtain the primary processor plug-in unit Send the plug-in unit to be upgraded in each plug-in unit plug-in unit access information the step of before, further comprise:
Obtain the life state for the plug-in unit to be upgraded that the main processor modules are sent;
Judge whether the life state of each plug-in unit in the plug-in unit to be upgraded is in abnormal condition;
If any plug-in unit is in abnormal condition in the plug-in unit to be upgraded, corresponding plug-in unit replacement prompting message is generated, with User is reminded to carry out corresponding replacement operation to the plug-in unit.
8. application software updating method according to claim 6, which is characterized in that described according in the plug-in unit to be upgraded The identification code of each plug-in unit obtains the step of corresponding plug-in unit corresponding application software file path, comprising:
Corresponding file path is generated using the identification code of each plug-in unit in the plug-in unit to be upgraded to request, and file path is asked It asks and is sent to the primary processor plug-in unit;
Obtain the application software file path corresponding with file path request that the primary processor plug-in unit is sent.
9. a kind of application software upgrade system characterized by comprising
Plug-in unit access information obtains module, for obtaining the plug-in unit access information of plug-in unit to be upgraded in target device;
Identification code obtains information, for building access using the plug-in unit access information of ethernet technology and the plug-in unit to be upgraded The communication link of the plug-in unit to be upgraded, to obtain the mark of each plug-in unit in the plug-in unit to be upgraded by the communication link Code;
Application software file path obtains module, obtains for the identification code according to each plug-in unit in the plug-in unit to be upgraded corresponding The corresponding application software file path of plug-in unit;
Application software upgrade module, for utilizing the corresponding application software of plug-in unit each in FTP tool and the plug-in unit to be upgraded File path upgrades corresponding application software.
10. a kind of application software upgrade equipment characterized by comprising
Processor is realized when for executing the computer program stored in memory and is applied as described in any one of claim 1 to 8 The step of method for upgrading software.
11. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program realizes the application software updating method as described in any one of claim 1 to 8 when the computer program is executed by processor The step of.
CN201710971512.6A 2017-10-18 2017-10-18 Application software upgrading method, system, equipment and computer readable storage medium Active CN109683924B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710971512.6A CN109683924B (en) 2017-10-18 2017-10-18 Application software upgrading method, system, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710971512.6A CN109683924B (en) 2017-10-18 2017-10-18 Application software upgrading method, system, equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109683924A true CN109683924A (en) 2019-04-26
CN109683924B CN109683924B (en) 2022-02-25

Family

ID=66183376

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710971512.6A Active CN109683924B (en) 2017-10-18 2017-10-18 Application software upgrading method, system, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109683924B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040172407A1 (en) * 2003-02-28 2004-09-02 Arpirez Vega Julio Cesar Method and system of processing an encapsulated file at a management computer
US20080147745A1 (en) * 2005-12-19 2008-06-19 Wilkinson Anthony J Method and system for providing synchronization of directory data
CN102195804A (en) * 2011-03-10 2011-09-21 易程(苏州)软件股份有限公司 Automatic updating method of software and system thereof
CN103023999A (en) * 2012-11-30 2013-04-03 北京奇虎科技有限公司 Method, server and corresponding system for issuing browser component
US20140189675A1 (en) * 1996-06-07 2014-07-03 William Cheng Software uninstallation system, method and computer program product
CN104426850A (en) * 2013-08-23 2015-03-18 南京理工大学常熟研究院有限公司 Vulnerability detection method based on plug-in
CN105204812A (en) * 2015-09-29 2015-12-30 中国舰船研究设计中心 Plugin-based multi-interface display control system and integrating method thereof
CN105677269A (en) * 2015-09-10 2016-06-15 北京博创兴盛科技有限公司 Intelligent display control terminal of agricultural machine and display control method
CN106708494A (en) * 2015-11-18 2017-05-24 北京神州泰岳软件股份有限公司 JAR upgrading method and apparatus
CN106990987A (en) * 2017-04-05 2017-07-28 上海新炬网络信息技术有限公司 Plug-in unit based on karaf_agent ends/Service Component automatic managing device and method

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140189675A1 (en) * 1996-06-07 2014-07-03 William Cheng Software uninstallation system, method and computer program product
US20040172407A1 (en) * 2003-02-28 2004-09-02 Arpirez Vega Julio Cesar Method and system of processing an encapsulated file at a management computer
US20080147745A1 (en) * 2005-12-19 2008-06-19 Wilkinson Anthony J Method and system for providing synchronization of directory data
CN102195804A (en) * 2011-03-10 2011-09-21 易程(苏州)软件股份有限公司 Automatic updating method of software and system thereof
CN103023999A (en) * 2012-11-30 2013-04-03 北京奇虎科技有限公司 Method, server and corresponding system for issuing browser component
CN104426850A (en) * 2013-08-23 2015-03-18 南京理工大学常熟研究院有限公司 Vulnerability detection method based on plug-in
CN105677269A (en) * 2015-09-10 2016-06-15 北京博创兴盛科技有限公司 Intelligent display control terminal of agricultural machine and display control method
CN105204812A (en) * 2015-09-29 2015-12-30 中国舰船研究设计中心 Plugin-based multi-interface display control system and integrating method thereof
CN106708494A (en) * 2015-11-18 2017-05-24 北京神州泰岳软件股份有限公司 JAR upgrading method and apparatus
CN106990987A (en) * 2017-04-05 2017-07-28 上海新炬网络信息技术有限公司 Plug-in unit based on karaf_agent ends/Service Component automatic managing device and method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
肖晖 等: "Nessus插件开发及实例", 《计算机工程》 *

Also Published As

Publication number Publication date
CN109683924B (en) 2022-02-25

Similar Documents

Publication Publication Date Title
CN106843957B (en) System firmware upgrading method and device
CN105373410B (en) Base station software difference upgrade method and its device
CN108234170B (en) Monitoring method and device for server cluster
CN104579719B (en) A kind of upgrade method and system, host computer and optical module of firmware
CN103458086B (en) A kind of smart mobile phone and fault detection method thereof
CN101790156B (en) Strategy optimization based method and device for repairing fault of terminal software
CN105224362A (en) Host computer carries out the method and system of program upgrade to slave computer
CN110943860B (en) BMC (baseboard management controller) firmware updating method and system, electronic equipment and storage medium
US20120117557A1 (en) Method and system for upgrading wireless data card
CN107357571B (en) Maintenance method and system for equipment component program
CN105743948A (en) Network version upgrading method and apparatus
CN103164244A (en) Firmware system long-distance updating methods based on unified extensible firmware interface
CN102195798B (en) A kind of method and system of optical network unit of upgrading
CN104133715A (en) Ethernet power supply equipment firmware upgrade method and device
CN103309712A (en) Mobile phone software upgrade method and system
CN110990036A (en) OTA upgrading method and device for power change cabinet, power change equipment and storage medium
CN105786636B (en) A kind of system repair and device
CN114691398A (en) Rule-based fault analysis method, device, equipment and storage medium
CN105721203A (en) Upgrade processing method and device
CN104486393A (en) Resource configuration and recycling method and resource configuration and recycling system
CN103559198A (en) Data synchronizing method and equipment
CN109189403B (en) Operating system OS batch installation method and device and network equipment
CN100433651C (en) Method and system for ensuring network managment and element configuration data consistency
CN105656659A (en) Management method and device for network element upgrade
CN110535919B (en) Network access method and device of concentrator and power peak regulation system

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
GR01 Patent grant
GR01 Patent grant