[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN106502713A - A kind of method for upgrading software and system - Google Patents

A kind of method for upgrading software and system Download PDF

Info

Publication number
CN106502713A
CN106502713A CN201510568047.2A CN201510568047A CN106502713A CN 106502713 A CN106502713 A CN 106502713A CN 201510568047 A CN201510568047 A CN 201510568047A CN 106502713 A CN106502713 A CN 106502713A
Authority
CN
China
Prior art keywords
software
upgrading
unit
plug
upgraded
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
CN201510568047.2A
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.)
Shenzhen ZTE Technical Service Co.,Ltd.
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201510568047.2A priority Critical patent/CN106502713A/en
Priority to PCT/CN2016/081322 priority patent/WO2017041499A1/en
Publication of CN106502713A publication Critical patent/CN106502713A/en
Pending legal-status Critical Current

Links

Classifications

    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The method for upgrading software that the present invention is provided, is applied to the communications field.Start upgrading plug-in unit;Upgrading plug-in unit receives upgrade command, downloads the corresponding software installation bag of software to be upgraded;Upgrading plug-in component operation installation order, according to the update that software installation bag completes software to be upgraded;Upgrading plug-in component operation starts order, starts the software after upgrading;Upgrading plug-in component operation test command, to upgrading after software carry out functional test.Compared with prior art, by plug-in unit of upgrading execute corresponding order carrying out download, installations that software is automatically performed in software upgrading overload, start and test etc. step, people is avoided to go manually to complete each step in upgrading overload, people can be replaced to go manually to be automatically performed software upgrading, the operation and maintenance cost of software is reduced, user experience is improve.

Description

A kind of method for upgrading software and system
Technical field
The present invention relates to the communications field, and in particular to a kind of method for upgrading software and system.
Background technology
During software use, the upgrading of software is a comparatively laborious process, is directed primarily to soft The download of part, installation (or upgrading), startup, functional test, are all to go manually to complete these by people at present Step, needs to put into manpower and time.Such case is particularly evident in large software, because with function Be continuously increased, a lot of versions can be caused to occur, in these versions most of flow process be similar, specially Door input manpower is done upgrade job and compares consuming time and machine resources, and the cycle that pinpoints the problems is long, Machine can be with continual work for people.
Content of the invention
The main technical problem to be solved in the present invention is to provide a kind of method for upgrading software and system, solves existing Have middle need people cumbersome when upgrading manually and waste of manpower problem.
For solving the above problems, the present invention provides a kind of method for upgrading software, including:
Start upgrading plug-in unit;
The upgrading plug-in unit receives upgrade command, downloads the corresponding software installation bag of the software to be upgraded;
The upgrading plug-in component operation installation order, completes the software to be upgraded according to the software installation bag Update;
The upgrading plug-in component operation starts order, starts the software after upgrading;
Described upgrading plug-in component operation test command, to upgrading after software carry out functional test.
In an embodiment of the present invention, before upgrading plug-in unit is started, also include:In software to be upgraded In be embedded in upgrading plug-in unit.
In an embodiment of the present invention, the upgrading plug-in unit that is embedded in software to be upgraded includes:
The startup order of the software to be upgraded is parsed, the upgrading plug-in unit is embedded into the startup order In environmental variable;
Or
The upgrading plug-in unit is added in startup script, the startup script is embedded in the software to be upgraded In.
In an embodiment of the present invention, the upgrading plug-in unit that starts includes:After software to be upgraded starts, Before entering the software main program to be upgraded, start the upgrading plug-in unit.
In an embodiment of the present invention, the trigger command that the upgrading plug-in unit receives software to be upgraded includes:
The upgrading plug-in unit receives extraneous upgrade command;
Or
The upgrading plug-in unit detects whether the software to be upgraded issues new software installation bag, if it has, then Triggering upgrade command.
In an embodiment of the present invention, the software after described pair of upgrading carries out functional test includes:
Software after the testing tool in the upgrading plug-in unit is called to upgrading carries out functional test;
Or
Software after the upgrading plug-in unit calls third-party testing software to upgrading carries out functional test.
In an embodiment of the present invention, the software after described pair of upgrading carries out functional test includes:Described Upgrading plug-in unit calls the Classloader of graphical interfaces.
In an embodiment of the present invention, the upgrading plug-in unit calls the Classloader of graphical interfaces to include: The upgrading plug-in unit calls the Classloader of the graphical interfaces of the software to be upgraded itself or calls and described waits to rise The parent loader of level software place system.
For solving the above problems, the present invention also provides a kind of software update system, including starting module and upgrading Plug-in unit:
The starting module is used for starting upgrading plug-in unit;
The upgrading plug-in unit is used for receiving upgrade command, downloads the corresponding software installation bag of the software to be upgraded; Operation installation order, according to the update that the software installation bag completes the software to be upgraded;Operation starts Order, starts the software after upgrading;And testing results order, to upgrading after software carry out functional test.
In an embodiment of the present invention, also include that embedded module, the embedded module are used for starting liter Before level plug-in unit, upgrading plug-in unit is embedded in software to be upgraded.
In an embodiment of the present invention, the embedded module is additionally operable to:
The startup order of the software to be upgraded is parsed, the upgrading plug-in unit is embedded into the startup order In environmental variable;
Or
The upgrading plug-in unit is added in startup script, the startup script is embedded in the software to be upgraded In.
In an embodiment of the present invention, the starting module is additionally operable to after software to be upgraded starts, and is entered Before entering the software main program to be upgraded, start the upgrading plug-in unit.
In an embodiment of the present invention, the upgrading plug-in unit is additionally operable to:
Receive extraneous upgrade command;
Or
Detect whether the software to be upgraded issues new software installation bag, if it has, then triggering upgrade command.
In an embodiment of the present invention, the upgrading plug-in unit is additionally operable to:
Software after the testing tool of itself is called to upgrading carries out functional test;
Or
Software after third-party testing software is called to upgrading carries out functional test.
In an embodiment of the present invention, the upgrading plug-in unit is additionally operable to the Classloader for calling graphical interfaces.
In an embodiment of the present invention, the upgrading plug-in unit is additionally operable to call the software to be upgraded itself Graphical interfaces Classloader or call the parent loader of the software place to be upgraded system.
The invention has the beneficial effects as follows:
The method for upgrading software that the present invention is provided, starts upgrading plug-in unit;Upgrading plug-in unit receives upgrade command, downloads The corresponding software installation bag of software to be upgraded;Upgrading plug-in component operation installation order, completes to treat according to software installation bag The update of upgrading software;Upgrading plug-in component operation starts order, starts the software after upgrading;Upgrading plug-in unit Testing results order, to upgrading after software carry out functional test.Compared with prior art, inserted by upgrading Part execute corresponding order come carry out download, installations, startup that software is automatically performed in software upgrading overload and The steps such as test, it is to avoid people goes to complete each step in upgrading overload manually, people can be replaced to go manually automatically complete Into software upgrading, the operation and maintenance cost of software is reduced, user experience is improve.
Description of the drawings
Fig. 1 is the method for upgrading software flow chart that the embodiment of the present invention one is provided;
Fig. 2 is dongle configuration schematic diagram of upgrading in the method for upgrading software that the embodiment of the present invention one is provided;
Fig. 3 is the method for upgrading software flow chart that the embodiment of the present invention two is provided;
Fig. 4 is the software update system structure chart one that the embodiment of the present invention two is provided;
Fig. 5 is the software update system structure chart two that the embodiment of the present invention two is provided.
Specific embodiment
Purpose, technical scheme and advantage for making the embodiment of the present invention is clearer, below in conjunction with accompanying drawing pair Technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is The a part of embodiment of the present invention, rather than whole embodiments.Embodiment in based on the present invention, this area The every other embodiment obtained under the premise of creative work is not made by those of ordinary skill, belongs to The scope of protection of the invention.
Embodiment one:
The method for upgrading software of the embodiment of the present application, as shown in figure 1, the method includes:
Step S101:Start upgrading plug-in unit;
In this step, can be after software to be upgraded starts, before entering software main program to be upgraded, Just start in software to be upgraded, also do not enter, certainly the upgrading plug-in unit Can also start after mastery routine is entered, it is also possible to be constantly in starting state, can also be referred to by triggering Order triggers which and starts.
Step S102:Upgrading plug-in unit receives upgrade command, downloads the corresponding software installation bag of software to be upgraded;
In this step, can be specifically the extraneous upgrade command of plug-in unit reception of upgrading;Preferably, can be with It is or upgrading plug-in unit detects whether software to be upgraded issues new software installation bag, if it has, then triggering upgrading Order.Can thus avoid realizing carrying out detection upgrading to software to be upgraded in real time.Specific downloaded software, Can be by remote download, or by locally-downloaded, in concrete download overload, carry out automatically software The movement of AKU, copy, delete and decompress etc..
Step S103:Upgrading plug-in component operation installation order, according to the upgrading that software installation bag completes software to be upgraded Install;
In this step, the upgrading of software to be upgraded is automatically performed, is specifically automatically performed to the software installation bag Decompression, install, and take up room to save, automatically the software installation bag is deleted after installing Remove, in order to ensure real-time update, the software installation bag here preferably corresponding latest edition of the software to be upgraded Software installation bag.
Step S104:Upgrading plug-in component operation starts order, starts the software after upgrading;
In this step, after software upgrading is completed, not employment goes to choose whether to start, automatically to upgrading after Software started.
Step S105:Upgrading plug-in component operation test command, to upgrading after software carry out functional test.
In this step, specifically, the software after calling the testing tool in upgrading plug-in unit to upgrading carries out work( Can test;Or the software after plug-in unit of upgrading calls third-party testing software to upgrading carries out functional test. Here, in invoked procedure, third-party testing software can be local test software, it is also possible to the test of distal end Software, upgrade plug-in unit in testing tool, specifically used during, be related to the correlative weight of software to be upgraded Item etc. can adopt remote service, concrete remote service to include that ssh services and telnet are serviced, and ssh is clothes The outside main interface that business is provided, ssh call instruction line interfaces realize the scheduling work of automatic test whole process Make.Further, if in excessive load during the used graphical interfaces of meeting, can change upgrading plug-in unit can calling figure The Classloader at shape interface, specifically, upgrading plug-in unit can make to call the software to be upgraded graphical interfaces of itself Classloader, if itself does not have, may call upon the parent loader of software place to be upgraded system.
Before above-mentioned no longer S101, it is additionally included in software to be upgraded and is embedded in upgrading plug-in unit.Specific parsing The startup order of software to be upgraded, upgrading plug-in unit is embedded in the environmental variable for starting order;Or will upgrading Plug-in unit is added in startup script, will be started script and is embedded in software to be upgraded.It is construed as, other can So that the method that upgrading plug-in unit is embedded in software to be upgraded can be realized.Here upgrading plug-in unit can be one Individual software, or a program, specific form are not limited, and can realize carrying out software to be upgraded certainly Dynamic upgrading.Certainly, the upgrading plug-in unit can not be embedded in software to be upgraded, individually can exist The each step controlled in software under testing escalation process is gone to complete upgrading automatically.It is, of course, also possible to only upgrading is inserted The members of part are inserted in software to be upgraded, such as by the Agent components of upgrading plug-in unit.
It should be noted that the upgrading plug-in unit in this example can be based on the exploitation of various platforms, such as Fig. 2 institutes Show, be the structural representation of the upgrading plug-in unit, the preferred dynamic modeling system (Open using towards Java Service Gateway Initiative, OSGi) carry out the upgrading developing plug.Apache fliex is based on The OSGI frameworks of project are realized, there is provided function form code and compile after output predominantly meet OSGi The plug-in unit bundle of specification.The function of the bundle involved by the present embodiment be divided into basic module, embedded group Three part of part and order line component, in addition to the tool software and control station of built-in module, remaining is OSGi bundle.Each scattered step is split as an action by the present embodiment, and these actions form code After become an executable order, the combination of these subcommands can be operated instead of using people, so as to reality The automatization of existing software upgrading.Specific serial flow process is realized by a command-line framework, for interface In terms of installing with interface function test, it is possible to use third-party automated test tool or embedded automatization Test jar file bag is embedded in tested software, for the latter, real as auxiliary with guitest orders Function is now embedded.Here order can be individually ordered with one, may also be the set of multiple orders.For example, (agent) function, i.e., a blocker before one main methods execution are acted on behalf of using java (interceptor), guitest is embedded in the jvm of tested software.Guitest agent are one Java Classloaders, for the related class of automatic test is loaded in the java processes of tested software, And far call interface is provided executes programmable test case script.Far call interface provides one Configurable suction parameter, the master for calling the test software bag for being embedded into tested software using the mode of reflection Method.
Embodiment two:
The method for upgrading software of the embodiment of the present application, as shown in figure 3, the method includes:
Step S201:Upgrading plug-in unit is embedded in tested software;
In this step, specifically, can be that upgrading plug-in unit agent is attached to the jdk of tested software In, implementation method is as follows, parses the startup order of tested software, finds the position of JAVA_HOME, will Agent.jar copy under $ JAVA_HOME/jre/lib/ext catalogues (will agent.jar using JVM's Extension Classloader loading), then by-javaagent:$JAVA_HOME\jre\lib\ext\agent.jar It is attached in java order start-up parameters.The startup script of tested software can also be directly customized, will be added The script of javaagent is put in tested software.Here tested software is software to be upgraded A kind of example.It should be noted that merely just the members of upgrading plug-in unit are embedded in tested software, Specifically, dependence test component can be embedded in the tested software after upgrading also in test process, for example embedding Enter tested software graphical interfaces test part component in tested software.
Step S202:Start upgrading plug-in unit;
In this step, specifically, script startup main-inlet class is first carried out;Then, main-inlet class first from Configuration information is loaded in configuration file catalogue, for initializing OSGI frameworks;Then, OSGI frameworks are started, Basic service under loading system catalogue, these services start in the following order.Start, order line service, SSH services, automatic test service, telnet are serviced.OSGI frameworks can monitor deploy catalogues simultaneously, Add if any bundle and then load automatically and start.Startup situation of the OSGI frameworks according to bundle, updates Start result.When the service on basis starts failure, the bundle for quoting this service can also start failure, because This is put into these infrastructure services under system directory, causes program crashing use in order to avoid there is external disturbance. After the completion of the state of all bundle updates, start local control station, this control station with telnet services is Sane level, its content is to sign in SSH service ends by ssh clients, executes calling for order line.Complete Into startup, command-line framework enters the pending state of order.
Step S203:Software upgrading is completed, software is tested.
In this step, specifically, after tested software starts, before main formula method (main methods) is called, Agent can be loaded, and automatic test correlation class can be loaded by agent, if software has graphical interfaces Then the Classloader of these class can inherit the Classloader of graphical interfaces, then inherit without graphical interfaces and be System Classloader, is embedded into guitest in the process of tested software in this way, due to class plus Carry device different, guitest can access his father's Classloader, but parent loader cannot access guittest, So as to avoid impacts of the guitest to tested software itself.
In above-mentioned steps S202, specifically, order line service includes that order line can check OSGI bundle State service that automatic test service module issues and plug-in unit can also be called to provide service, and issue one Individual order line calling interface is serviced gives SSH service calls.Support to write order and carry out in text batch Call execution.SSH services include that SSH service ends, related configuration attribute are read from configuration file catalogue, Compatible ssh1 and ssh2 agreements, it is possible to use arbitrarily support that the ssh clients of ssh1 and ssh2 are logged in.SSH Service the service that main call instruction row service module is issued.Automatic test service uses flow process including software Each subring section detailed realization, such as download version calls automated test tool to execute version and installs. The component startup of automatic test service completes backward order line service registry command interface, to be command by going Framework is called.Telnet services include calling ssh clients to log in ssh services, telnet service ends The authenticating work of ssh is completed, need not be authenticated when logging on telnet.
Further, the specific structure of upgrading plug-in unit includes:
Lib is a catalogue, mainly includes main-inlet, control station, guitest agent components.
Bin is a catalogue, and its content is script, for calling the main-inlet class of this software, to user's exhibition Show control station, enter the pending state of order.
Etc is a catalogue, and its content is the configuration file being related in this software, the such as configuration of OSGi framework The configuration files such as file, the port of ssh services, authentication information.
Deploy is a catalogue, and a part for expansion interface, i.e. heat deployment plug-in unit, OSGI frameworks can be automatically This catalogue is scanned, as long as the plug-in unit copy for there are OSGi bundle is installed by coming in automatically and started, and is made With the service in plug-in unit.
Testcenter be a catalogue, a part for expansion interface, i.e. embedded software instrument, in fact Tested software can also be counted as an insertion tool.A graphical interfaces based on java has been embedded here Automatic test module, writes interface detection use-case for peopleware, former according to template file definition interfaces Plain type (type), title (name), index (index) are looked into accordingly uniquely positioning specific interface element The coordinate position of the element is found, the interface element that mouse moving event goes to operate the coordinate is recalled.
System is a catalogue, there is provided the bundle of OSGI frameworks, command history (file process, transmission Service, local command) bundle, order line bundle and remotely control bundle and guitest bundle.
Below so that, as a example by installing a webmastering software, all of operation is completed by upgrading plug-in unit call instruction:
Double-click and start order startup upgrading plug-in unit, after software starts success, carry out order line state.According to phase Closing order carries out updating operation, for example:
Ftpget local paths ftp paths // downloaded software installation kit
Unzip software installations bag path // decompression
Installation kit path/setup.bat//guitest agent are embedded into after guitestattach decompressions Webmastering software is installed and is started in order
After exec decompressions, installation kit path/setup.bat. // local command starts webmaster and installs, guitest Agent can be embedded into embedded java graphical interfaces correlation jar in the java processes of installation interface
Automatic test script // this automatic test script that guitest webmastering softwares are installed, be exactly Click on the next button of installation steps etc
Exec network management services path/console.bat//startup network management service
Guitestattach NM clients path/client.bat//guitest agent are embedded into NM client starts in order
Exec NM clients path/client.bat//startup client
Guitest client functionality test scripts // carry out functional test
Wherein third party's automated test tool can be directly invoked without the mode that is embedded in, such case, Guitestattach has reformed into the startup order for calling third party's instrument, such as exec third party's tool path /run.bat.Here upgrading software section component is embedded into the work(that software to be upgraded is " guitest orders " Can be (after NM client installation, by java interface operation instruments<I.e. graphical interfaces operation one is Row jar bags>It is embedded in NM client, double-clicks client.exe<Or client.bat/client.sh>, After NM client starts, guitest instruments will be loaded automatically.) it is not by the embedding of entirely upgrading plug-in unit Enter in tested software, simply when needing interface operation to be carried out to NM client, java interfaces are grasped It is embedded in client as instrument.Also, java interface operation instruments here, it is possible to use third party is Through had, it is also possible to using the embedded java interface operation instruments provided in this upgrading plug-in unit.
In from the description above, it can be seen that the present embodiment achieves following effect:Customized by executing Cooperation between the order of change and command in combination, by procedure the step of during software use, in conjunction with existing Automated test tool or embedded automatic test component, realize be automatically performed manually-operated function, Present invention reduces the operation and maintenance cost of software, due to therefore can also may be used with remotely control and scripting To assist attendant to do the work of some processes.
Embodiment three:
The present embodiment provides a kind of software update system 400, as shown in figure 4, including starting module 401 and rising Level plug-in unit 402:Wherein, starting module 401 is used for starting upgrading plug-in unit 402;Upgrading plug-in unit 402 is used for connecing Upgrade command is received, the corresponding software installation bag of software to be upgraded is downloaded;Operation installation order, according to software installation Bag completes the update of software to be upgraded;Operation starts order, starts the software after upgrading;And operation Test command, to upgrading after software carry out functional test.
The present embodiment also provides a kind of software update system 400, as shown in figure 5, also include embedded module 403, Embedded module was used for before upgrading plug-in unit 402 is started, and was embedded in upgrading plug-in unit 402 in software to be upgraded.
Further, it is embedded in module 403 to be additionally operable to:The startup order of software to be upgraded is parsed, plug-in unit of upgrading 402 are embedded in the environmental variable for starting order;Or upgrading plug-in unit 402 is added in startup script, will open Dynamic script is embedded in software to be upgraded.
Further, starting module 401 is additionally operable to after software to be upgraded starts, and enters the main journey of software to be upgraded Before sequence, start upgrading plug-in unit 402.
Further, upgrading plug-in unit 402 is additionally operable to:Receive extraneous upgrade command;Or detect software to be upgraded Whether new software installation bag is issued, if it has, then triggering upgrade command.
Further, upgrading plug-in unit 402 is additionally operable to:Software after the testing tool of itself is called to upgrading is carried out Functional test;Or the software after calling third-party testing software to upgrading carries out functional test.
Further, upgrading plug-in unit 402 is additionally operable to the Classloader for calling graphical interfaces.Specifically, upgrade and insert Part 402 is additionally operable to call the Classloader of the software to be upgraded graphical interfaces of itself or calls software institute to be upgraded Parent loader in system.
It should be noted that the modules in this example are when its function is realized, correspondingly can use above-mentioned One or more assemblies and corresponding function in example.
One of ordinary skill in the art will appreciate that all or part of step in said method can by program come Instruction related hardware is completed, and said procedure can be stored in computer-readable recording medium, such as read-only storage Device, disk or CD etc..Alternatively, all or part of step of above-described embodiment can also use one or Multiple integrated circuits are realizing.Correspondingly, each module/unit in above-described embodiment can adopt the shape of hardware Formula is realized, it would however also be possible to employ the form of software function module is realized.The present invention is not restricted to any particular form Hardware and software combination.
Above example only in order to technical scheme to be described and unrestricted, reference only to preferred embodiment The present invention has been described in detail.It will be understood by those within the art that, can be to the present invention's Technical scheme is modified or equivalent, without deviating from the spirit and scope of technical solution of the present invention, Should cover in the middle of scope of the presently claimed invention.

Claims (16)

1. a kind of method for upgrading software, it is characterised in that include:
Start upgrading plug-in unit;
The upgrading plug-in unit receives upgrade command, downloads the corresponding software installation bag of the software to be upgraded;
The upgrading plug-in component operation installation order, completes the software to be upgraded according to the software installation bag Update;
The upgrading plug-in component operation starts order, starts the software after upgrading;
Described upgrading plug-in component operation test command, to upgrading after software carry out functional test.
2. method for upgrading software as claimed in claim 1, it is characterised in that starting upgrading plug-in unit Before, also include:Upgrading plug-in unit is embedded in software to be upgraded.
3. method for upgrading software as claimed in claim 2, it is characterised in that described to be upgraded soft Being embedded in upgrading plug-in unit in part includes:
The startup order of the software to be upgraded is parsed, the upgrading plug-in unit is embedded into the startup order In environmental variable;
Or
The upgrading plug-in unit is added in startup script, the startup script is embedded in the software to be upgraded In.
4. method for upgrading software as claimed in claim 2, it is characterised in that the startup upgrading is inserted Part includes:After software to be upgraded starts, before entering the software main program to be upgraded, start the liter Level plug-in unit.
5. method for upgrading software as claimed in claim 1, it is characterised in that the upgrading plug-in unit connects The trigger command for receiving software to be upgraded includes:
The upgrading plug-in unit receives extraneous upgrade command;
Or
The upgrading plug-in unit detects whether the software to be upgraded issues new software installation bag, if it has, then Triggering upgrade command.
6. method for upgrading software as claimed in claim 1, it is characterised in that after described pair of upgrading Software carries out functional test to be included:
Software after the testing tool in the upgrading plug-in unit is called to upgrading carries out functional test;
Or
Software after the upgrading plug-in unit calls third-party testing software to upgrading carries out functional test.
7. the method for upgrading software as described in any one of claim 1-6, it is characterised in that described right Software after upgrading carries out functional test to be included:The upgrading plug-in unit calls the Classloader of graphical interfaces.
8. software update system as claimed in claim 7, it is characterised in that the upgrading plug-in unit is adjusted Included with the Classloader of graphical interfaces:The upgrading plug-in unit calls software figure circle of itself to be upgraded The Classloader in face calls the parent loader of the software place to be upgraded system.
9. a kind of software update system, it is characterised in that including starting module and upgrading plug-in unit:
The starting module is used for starting upgrading plug-in unit;
The upgrading plug-in unit is used for receiving upgrade command, downloads the corresponding software installation bag of the software to be upgraded; Operation installation order, according to the update that the software installation bag completes the software to be upgraded;Operation starts Order, starts the software after upgrading;And testing results order, to upgrading after software carry out functional test.
10. software update system as claimed in claim 9, it is characterised in that also include embedded module, The embedded module was used for before upgrading plug-in unit is started, and was embedded in upgrading plug-in unit in software to be upgraded.
11. software update systems as claimed in claim 10, it is characterised in that the embedded module is also For:
The startup order of the software to be upgraded is parsed, the upgrading plug-in unit is embedded into the startup order In environmental variable;
Or
The upgrading plug-in unit is added in startup script, the startup script is embedded in the software to be upgraded In.
12. software update systems as claimed in claim 10, it is characterised in that the starting module is also For, after software to be upgraded starts, before entering the software main program to be upgraded, starting the upgrading and inserting Part.
13. software update systems as claimed in claim 9, it is characterised in that the upgrading plug-in unit is also For:
Receive extraneous upgrade command;
Or
Detect whether the software to be upgraded issues new software installation bag, if it has, then triggering upgrade command.
14. software update systems as claimed in claim 9, it is characterised in that the upgrading plug-in unit is also For:
Software after the testing tool of itself is called to upgrading carries out functional test;
Or
Software after third-party testing software is called to upgrading carries out functional test.
15. software update systems as described in any one of claim 9-14, it is characterised in that the liter Level plug-in unit is additionally operable to the Classloader for calling graphical interfaces.
16. software update systems as claimed in claim 15, it is characterised in that the upgrading plug-in unit is also For calling the Classloader of the graphical interfaces of the software to be upgraded itself or calling the software institute to be upgraded Parent loader in system.
CN201510568047.2A 2015-09-08 2015-09-08 A kind of method for upgrading software and system Pending CN106502713A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510568047.2A CN106502713A (en) 2015-09-08 2015-09-08 A kind of method for upgrading software and system
PCT/CN2016/081322 WO2017041499A1 (en) 2015-09-08 2016-05-06 Software upgrade method and system, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510568047.2A CN106502713A (en) 2015-09-08 2015-09-08 A kind of method for upgrading software and system

Publications (1)

Publication Number Publication Date
CN106502713A true CN106502713A (en) 2017-03-15

Family

ID=58239192

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510568047.2A Pending CN106502713A (en) 2015-09-08 2015-09-08 A kind of method for upgrading software and system

Country Status (2)

Country Link
CN (1) CN106502713A (en)
WO (1) WO2017041499A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107808134A (en) * 2017-10-26 2018-03-16 广东欧珀移动通信有限公司 Image processing method, image processing apparatus and electric terminal
CN109343867A (en) * 2018-10-16 2019-02-15 平安科技(深圳)有限公司 The self-service installation method of software, device, computer equipment and storage medium
CN112882731A (en) * 2021-01-08 2021-06-01 北京锦鸿希电信息技术股份有限公司 Embedded software upgrading method and device

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109918287A (en) * 2019-01-16 2019-06-21 平安普惠企业管理有限公司 APP upgrading test method, apparatus, computer equipment and storage medium
CN111666079B (en) * 2019-03-05 2023-12-05 北京京东振世信息技术有限公司 Method, apparatus, system, device and computer readable medium for software upgrade
CN112860555B (en) * 2021-02-08 2024-05-14 重庆长安汽车股份有限公司 Software remote upgrading verification testing device and method
CN113722212B (en) * 2021-08-13 2023-07-14 苏州浪潮智能科技有限公司 CPLD upgrading test method, device, equipment and medium
CN114756271B (en) * 2022-04-29 2023-07-28 深圳市欧瑞博科技股份有限公司 Interface updating method and device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103064700A (en) * 2012-11-28 2013-04-24 镇江为天下信息服务有限公司 Zero code integration auto update method
CN103716395A (en) * 2013-12-26 2014-04-09 贝壳网际(北京)安全技术有限公司 Software updating method and updating server
US20140337420A1 (en) * 2013-05-09 2014-11-13 Brian Lee Wentzloff System and Method for Recording Music Which Allows Asynchronous Collaboration over the Internet
CN104166573A (en) * 2011-12-12 2014-11-26 北京奇虎科技有限公司 Software installation method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102195804A (en) * 2011-03-10 2011-09-21 易程(苏州)软件股份有限公司 Automatic updating method of software and system thereof
CN102521006B (en) * 2012-01-09 2014-08-20 广州广电运通金融电子股份有限公司 Hardware driving and medium program upgrading method of automatic equipment
CN102662709B (en) * 2012-04-01 2015-04-15 广州广电运通金融电子股份有限公司 Self-service terminal hardware-media remote upgrading device
CN102707977A (en) * 2012-05-17 2012-10-03 江苏中科梦兰电子科技有限公司 Increment upgrading method based on Android application software

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104166573A (en) * 2011-12-12 2014-11-26 北京奇虎科技有限公司 Software installation method and device
CN103064700A (en) * 2012-11-28 2013-04-24 镇江为天下信息服务有限公司 Zero code integration auto update method
US20140337420A1 (en) * 2013-05-09 2014-11-13 Brian Lee Wentzloff System and Method for Recording Music Which Allows Asynchronous Collaboration over the Internet
CN103716395A (en) * 2013-12-26 2014-04-09 贝壳网际(北京)安全技术有限公司 Software updating method and updating server

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107808134A (en) * 2017-10-26 2018-03-16 广东欧珀移动通信有限公司 Image processing method, image processing apparatus and electric terminal
CN107808134B (en) * 2017-10-26 2021-05-25 Oppo广东移动通信有限公司 Image processing method, image processing device and electronic terminal
CN109343867A (en) * 2018-10-16 2019-02-15 平安科技(深圳)有限公司 The self-service installation method of software, device, computer equipment and storage medium
CN109343867B (en) * 2018-10-16 2024-05-03 平安科技(深圳)有限公司 Software self-service installation method and device, computer equipment and storage medium
CN112882731A (en) * 2021-01-08 2021-06-01 北京锦鸿希电信息技术股份有限公司 Embedded software upgrading method and device

Also Published As

Publication number Publication date
WO2017041499A1 (en) 2017-03-16

Similar Documents

Publication Publication Date Title
CN106502713A (en) A kind of method for upgrading software and system
US9350623B2 (en) System and method for automated deployment of multi-component computer environment
US10430204B2 (en) System and method for cloud provisioning and application deployment
US8549490B2 (en) Static code analysis for packaged application customization
CN104094226B (en) Use the application or driving on deployment configuration Automatic Update of File client device
US9971333B2 (en) Programming auxiliary system of programmable controller and method thereof
NO312269B1 (en) Software Upgrade Automation Procedure
CA2577244A1 (en) Method and system for controlling software version updates
CN106126273A (en) A kind of method of upgrading BIOS
US20100312879A1 (en) Plug-in provisioning integration in a clustered environment
US10896109B2 (en) Non-monotonic eventual convergence for desired state configuration
CN109558147A (en) A kind of continuous integrating platform construction method based on Jenkins and Gitlab
JP6198229B2 (en) Installation engine and package format for parallelizable and reliable installation
CN106897223A (en) A kind of software kit delivery method and device based on continuous integrating
CN107395747B (en) High-expansion method based on STF platform
CN112363731A (en) Application automation deployment method and device and computer readable storage medium
CN104111843A (en) Sandbox based script updating method and system
CN115357258B (en) Application deployment method and device, storage medium and electronic device
EP1376929A1 (en) A method, a network application server, a network element, and a computer software product for automatic configuration, installation, and maintenance of network applications
CN106648797A (en) Method and system for installing test software, test server and shared server
CN111966364A (en) Weblogic automatic environment building method and system based on docker
CN116360800B (en) Deployment method and device of code branching environment and electronic equipment
CN114928536B (en) Automatic network changing method and device
CN112783528B (en) Resource online method and device and electronic equipment
US20170039055A1 (en) Software application packaging and deployment system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200628

Address after: 518057 Zhongxing building, A3-01, A3-02, Nanshan District hi tech Industrial Park, Shenzhen, Guangdong

Applicant after: Shenzhen ZTE Technical Service Co.,Ltd.

Address before: 518057 Nanshan District science and Technology Industrial Park, Guangdong high tech Industrial Park, ZTE building

Applicant before: ZTE Corp.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170315