CN107347017A - The method, apparatus and configuration point device of a kind of device upgrade - Google Patents

The method, apparatus and configuration point device of a kind of device upgrade Download PDF

Info

Publication number
CN107347017A
CN107347017A CN201610321160.5A CN201610321160A CN107347017A CN 107347017 A CN107347017 A CN 107347017A CN 201610321160 A CN201610321160 A CN 201610321160A CN 107347017 A CN107347017 A CN 107347017A
Authority
CN
China
Prior art keywords
upgraded
file
equipment
server
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.)
Pending
Application number
CN201610321160.5A
Other languages
Chinese (zh)
Inventor
陈锦威
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
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 CN201610321160.5A priority Critical patent/CN107347017A/en
Priority to PCT/CN2017/075777 priority patent/WO2017190547A1/en
Publication of CN107347017A publication Critical patent/CN107347017A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention provides the method, apparatus and configuration point device of a kind of device upgrade, wherein, this method includes:Obtain the version information of the file to be upgraded for device upgrade to be upgraded and the version information of equipment to be upgraded;According to the version information of file to be upgraded and the version information of equipment to be upgraded, the address for the server for being stored with file to be upgraded is issued to equipment to be upgraded, and indicates that equipment to be upgraded obtains file to be upgraded from server according to the address of server and upgraded.The method, apparatus and configuration point device of device upgrade provided in an embodiment of the present invention, can solve the problems, such as that existing device upgrade needs that by particular vendors webmaster upgrading could be realized, so as to realize equipment whitepack, reduce network O&M cost.

Description

The method, apparatus and configuration point device of a kind of device upgrade
Technical field
The present invention relates to communication technical field, the method, apparatus and collocation point of a kind of device upgrade are particularly related to Equipment.
Background technology
Software defined network (Software Defined Network, abbreviation SDN) is connect by standardizing south orientation Mouth (Southbound Interface, abbreviation SBI) decouples chain of command and forwarding surface.Wherein open flows (OpenFlow, abbreviation OF) be International Standards Organization ONF formulate southbound interface standard, OpenFlow Configuration and management agreement (OpenFlow Management and Configuration Protocol, abbreviation OF-Config) it is the supporting configuration protocols of OpenFlow.Such as Fig. 1, collocation point (OpenFlow Configuration Point, abbreviation OFCP) configured logical switch (OpenFlow Logical Swith, Abbreviation OFLS) and controller (OpenFlow Controller) relevant parameter after, OpenFlow passages Can work.After standardizing southbound interface OpenFlow and OF-Config, controller and forwarding unit Decoupled between (hereinafter equipment), each controller producer and equipment manufacturer can realize and interconnect, join Charge-coupled net.
After equipment whitepack, equipment that the network of an operator may include multiple producers, such as Fig. 2, There is the equipment of tri- producers of C, F, Z in network, because OpenFlow and OF-Config are normalized, Operator equipment can be managed for configuration with general controller and collocation point instrument, but each producer Equipment Management Function also needs to be managed equipment by privately owned interface with the webmastering software that producer provides. For example, it is desired to the equipment in network is upgraded, it is necessary to setting with the network management upgrading C producers of C producers The equipment of standby, Z producers network management upgrading Z producers, the equipment of the network management upgrading F producers of F producers.Meanwhile Network maintenance staff needs to be familiar with C webmasters, F webmasters, Z webmasters, controller, OFCP these instruments Use, and the quantity of instrument can increase with equipment manufacturer's quantity increase in consolidated network, then network Management service cost for operator is big, it is untrue to rely on producer incomplete releasing, physical device yet Positive whitepack.
The content of the invention
The technical problem to be solved in the present invention is to provide a kind of method, apparatus of device upgrade and point device is configured, Solve the problems, such as that existing device upgrade needs that by particular vendors webmaster upgrading could be realized.
In a first aspect, embodiments of the invention provide a kind of method of device upgrade, method includes:
Obtain the version information of the file to be upgraded for device upgrade to be upgraded and the version of equipment to be upgraded This information;
According to the version information of file to be upgraded and the version information of equipment to be upgraded, issued to equipment to be upgraded The address of the server of file to be upgraded is stored with, and indicates equipment to be upgraded according to the address of server from clothes Business device obtains file to be upgraded and upgraded.
Wherein, the version information of the file to be upgraded for device upgrade to be upgraded and equipment to be upgraded are obtained Version information the step of, including:
File to be upgraded is verified, and according to the version information of file acquisition to be upgraded file to be upgraded;Or
The version information of the neighbor device and the neighbor device by document upgrading to be upgraded is obtained, according to neighbour The version information for occupying equipment obtains the version information of file to be upgraded.
Wherein, according to the version information of file to be upgraded and the version information of equipment to be upgraded, set to be upgraded It is standby to issue the address for the server for being stored with file to be upgraded, and indicate ground of the equipment to be upgraded according to server Location obtains the step of file to be upgraded is upgraded from server, including:
When the company-information and unit type and the company-information and equipment type of equipment to be upgraded of file to be upgraded It is number identical, and when the version number of equipment to be upgraded is less than the version number of file to be upgraded, under equipment to be upgraded Hair is stored with the address of the server of file to be upgraded, and indicate equipment to be upgraded according to the address of server from Server obtains file to be upgraded and upgraded.
Wherein, while the address for the server for being stored with file to be upgraded is issued to equipment to be upgraded, also Including:
The user profile for login service device, and the title of file to be upgraded are issued to equipment to be upgraded.
Wherein, the title of file to be upgraded comprises at least company-information, unit type and version number.
Wherein, the version information of acquisition comprises at least company-information, unit type and version number.
Second aspect, embodiments of the invention provide a kind of device of device upgrade, and the device includes:
Acquisition module, for obtaining the version information of the file to be upgraded for device upgrade to be upgraded and treating The version information of updating apparatus;
Processing module, for the version information according to file to be upgraded and the version information of equipment to be upgraded, to Equipment to be upgraded issues the address for the server for being stored with file to be upgraded, and indicates equipment to be upgraded according to clothes The address of business device obtains file to be upgraded from server and upgraded.
Wherein, acquisition module includes:
First acquisition unit, for verifying file to be upgraded, and according to file acquisition to be upgraded file to be upgraded Version information;Or
Second acquisition unit, for obtaining neighbor device and the neighbor device by document upgrading to be upgraded Version information, and obtain according to the version information of neighbor device the version information of file to be upgraded.
Wherein, processing module includes:
First processing units, for the company-information and unit type when file to be upgraded and equipment to be upgraded Company-information is identical with unit type, and the version number of equipment to be upgraded be less than file to be upgraded version number when, The address for the server for being stored with file to be upgraded is issued to equipment to be upgraded, and indicate equipment to be upgraded according to The address of server obtains file to be upgraded from server and upgraded.
Wherein, processing module also includes:
Second processing unit, for issuing the user profile for login service device to equipment to be upgraded, and The title of file to be upgraded.
Wherein, the title of file to be upgraded comprises at least company-information, unit type and version number.
Wherein, the version information of acquisition comprises at least company-information, unit type and version number.
The third aspect, embodiments of the invention provide a kind of configuration point device, and the configuration point device includes above-mentioned Device upgrade device.
The above-mentioned technical proposal of the present invention comprises at least following beneficial effect:
Compared with prior art, the method, apparatus of device upgrade provided in an embodiment of the present invention and collocation point are set It is standby, pass through the version information for obtaining the file to be upgraded for device upgrade to be upgraded and equipment to be upgraded Version information;According to the version information of file to be upgraded and the version information of equipment to be upgraded, set to be upgraded It is standby to issue the address for the server for being stored with file to be upgraded, and indicate ground of the equipment to be upgraded according to server Location obtains file to be upgraded from server and upgraded;So, can solve existing device upgrade needs to lead to Cross the problem of particular vendors webmaster could realize upgrading, so as to realize equipment whitepack, reduce network O&M into This.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, the embodiment of the present invention will be described below In the required accompanying drawing used be briefly described, it should be apparent that, drawings in the following description be only this Some embodiments of invention, for those of ordinary skill in the art, are not paying creative labor Under the premise of, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 represents OF-Config and OpenFlow relation schematic diagrams;
Fig. 2 represents the schematic diagram of a scenario of devices from different manufacturers networking;
Fig. 3 represents the schematic flow sheet of the method for device upgrade provided in an embodiment of the present invention;
Fig. 4 represents to inquire about the topology example of version information structure in the embodiment of the present invention;
Fig. 5 represents the topology example of upgraded version message structure in the embodiment of the present invention;
Fig. 6 represents to obtain the topology example of updating result information in the embodiment of the present invention;
Fig. 7 represents that the schematic flow sheet of the method for the device upgrade that example provides is embodied in the present invention first;
Fig. 8 represents that the schematic flow sheet of the method for the device upgrade that example provides is embodied in the present invention second;
Fig. 9 represents the structural representation of the device of device upgrade provided in an embodiment of the present invention.
Embodiment
To make the technical problem to be solved in the present invention, technical scheme and advantage clearer, below in conjunction with attached Figure and specific embodiment are described in detail.
In SDN, the situation of the forwarding unit common networking of more producers often occurs, now, Because the forwarding unit of different manufacturers be required for during edition upgrading using the privately owned webmaster of producer and upgrading Method, difficulty is brought to network O&M, also causes operator can not release the dependence to producer completely, it is impossible to Reach real equipment whitepack.Therefore, available frame of the embodiment of the present invention based on ONF, passes through expansion The method that OF-Config protocol realizations carry out edition upgrading to different manufacturers forwarding unit is opened up, it is existing to solve Device upgrade the problem of needing that by particular vendors webmaster upgrading could be realized, so as to realize equipment whitepack, Reduce network O&M cost.
Fig. 3 is referred to, it is illustrated that the flow signal of the method for device upgrade provided in an embodiment of the present invention Figure.The embodiment of the present invention is by taking the forwarding unit in SDN as an example.The embodiment of the present invention provides one kind and set The method of standby upgrading, this method include:
Step 301, the version information of the file to be upgraded for device upgrade to be upgraded and to be upgraded is obtained The version information of equipment.
Here, collocation point obtains the version information of the preassigned equipment to be upgraded of user, and is treated for this The version information of the file to be upgraded of updating apparatus upgrading.
Step 302, according to the version information of file to be upgraded and the version information of equipment to be upgraded, to waiting to rise Level equipment issues the address for the server for being stored with file to be upgraded, and indicates equipment to be upgraded according to server Address obtain file to be upgraded from server and upgraded.
Here, opening in advance has server, and file to be upgraded is placed into (storage) on the server, should Server can be that server corresponding to equipment to be upgraded or the neighbor device of equipment to be upgraded are corresponding Server.When the version information according to file to be upgraded and the version information of equipment to be upgraded, it is determined that instruction When equipment to be upgraded is upgraded, the address of server is issued to equipment to be upgraded, so that equipment root to be upgraded File to be upgraded is obtained according to the address of server from server to be upgraded.
Wherein, in above-mentioned steps 301, the version letter of the file to be upgraded for device upgrade to be upgraded is obtained The step of breath and the version information of equipment to be upgraded, including:
File to be upgraded is verified, and according to the version information of file acquisition to be upgraded file to be upgraded;Or
The version information of the neighbor device and the neighbor device by document upgrading to be upgraded is obtained, according to neighbour The version information for occupying equipment obtains the version information of file to be upgraded.
Here, the acquisition for the version information of file to be upgraded can be that collocation point is based on treating upgrade file Direct inquiry to obtain version information, or the neighbor device that document upgrading to be upgraded is passed through based on inquiry Obtain the version information of file to be upgraded.Specifically, can be by verifying the title of file to be upgraded, to sentence Whether the name form of the disconnected file to be upgraded meets the requirements, and is treated according to the name acquiring of the file to be upgraded The version information of upgrade file;Or the version by obtaining by the neighbor device of document upgrading to be upgraded is believed Breath, the version information of file to be upgraded is obtained with this.In addition, directly inquire about the version information of file to be upgraded Mode can also include the file header for inquiring about file to be upgraded, or configuration file in inquiry AKU etc. Other modes, only illustrate here.Wherein, wait to rise to obtain by obtaining the version information of neighbor device The mode of the version information of level file can reduce network pressure.
In addition, in the present embodiment, the title of file to be upgraded comprise at least company-information, unit type with And version number.That is, the name form of the document definition to be upgraded comprises at least company-information, equipment The information such as model and version number.Wherein, the title of the file to be upgraded can also include other according to reality The information needed, such as numbering, issuing time etc..In addition, in the embodiment, for the file to be upgraded Title in the distributing order of the information such as company-information, unit type and version number be not construed as limiting.
In the present embodiment, the version information of acquisition comprises at least company-information, unit type and version number.
In one embodiment, the acquisition for the version information of equipment to be upgraded can pass through extension OF-Config protocol definitions inquire about version information structure to obtain.Referring to Fig. 4 (wherein " OpenFlow Resource " represents open flows resource, and the structural relation in figure is the common knowledge of those skilled in the art), " OpenFlow Capable Switch " the objects increase expression equipment in OF-Config can specifically be passed through The field of version information, it is " original in OpenFlow Capable Switch " objects in OF-Config 1.2 Increase represents company-information on the basis of two fields such as " id " field and " config-version " field " manufacturer " field, " device-type " field for representing unit type and represent version number " cur-version " field.
Wherein, above-mentioned steps 302, believed according to the version information of file to be upgraded and the version of equipment to be upgraded Breath, the address for the server for being stored with file to be upgraded is issued to equipment to be upgraded, and indicate equipment to be upgraded The step of file to be upgraded is upgraded is obtained from server according to the address of server, including:
When the company-information and unit type and the company-information and equipment type of equipment to be upgraded of file to be upgraded It is number identical, and when the version number of equipment to be upgraded is less than the version number of file to be upgraded, under equipment to be upgraded Hair is stored with the address of the server of file to be upgraded, and indicate equipment to be upgraded according to the address of server from Server obtains file to be upgraded and upgraded.
Here, the version information includes company-information, unit type and version number, to be upgraded getting After the version information of file and the version information of equipment to be upgraded, collocation point is advised according to default edition comparison Then treat the version information of upgrade file and the version information of equipment to be upgraded is compared, when file to be upgraded Company-information and unit type it is identical and to be upgraded with the company-information and unit type of equipment to be upgraded When the version number of equipment is less than the version number of file to be upgraded, collocation point issues upgrading instruction to equipment to be upgraded, The address for the server for being stored with file to be upgraded is issued to equipment to be upgraded, and indicates equipment root to be upgraded File to be upgraded is obtained according to the address of server from server to be upgraded.
Wherein, above-mentioned default edition comparison rule is:The producer of file more to be upgraded and equipment to be upgraded Information, the version of file to be upgraded is considered as unavailable if inconsistent, upgrading failure, ending method flow, Continue the unit type for comparing both if consistent;The equipment type of file more to be upgraded and equipment to be upgraded Number, the version of file to be upgraded is considered as unavailable if inconsistent, upgrading failure, ending method flow, Continue the version number for comparing both if consistent;The version number of file more to be upgraded and equipment to be upgraded, If the version number of file to be upgraded is below or equal to the version number of equipment to be upgraded, file to be upgraded Version is considered as unavailable, upgrading failure, ending method flow, if the version number of file to be upgraded is higher than treating The version number of updating apparatus, then the version of file to be upgraded be considered as effective version, now, collocation point is to waiting to rise Level equipment issues upgrading instruction.
Wherein, while the address for the server for being stored with file to be upgraded is issued to equipment to be upgraded, also Including:
The user profile for login service device, and the title of file to be upgraded are issued to equipment to be upgraded.
Here, while the address of server is issued to equipment to be upgraded, user is issued to equipment to be upgraded The title of information and file to be upgraded, so that equipment to be upgraded is according to user profile login service device, and root The file to be upgraded of corresponding title is obtained from server according to the address of server, so as to pass through the file to be upgraded Upgraded.Wherein, the user profile includes default user and password.
In addition, in the above embodiment of the present invention, server can be FTP (File Transfer Protocol, abbreviation FTP) server.
In one embodiment, collocation point indicates to the upgrading that equipment to be upgraded issues, can be original Upgraded version message object is extended on the basis of OF-Config agreements " Update Version ", to treat with instruction Updating apparatus is upgraded.Specifically, referring to Fig. 5, (wherein " OpenFlow Resource " represent to open Resource is flowed, and the structural relation in figure is the common knowledge of those skilled in the art), should " Update Version " In object, including represent the field " ftp-addr " of the address of ftp server, represent that ftp server is used The field " ftp-user " at family, the field " ftp-pwd " for representing ftp server password and expression are to be upgraded The field " filename " of the title of file.
In addition, know the upgrade status of equipment to be upgraded for convenience, in step 302, under equipment to be upgraded Hair is stored with the address of the server of file to be upgraded, and indicate equipment to be upgraded according to the address of server from After server obtains the step of file to be upgraded is upgraded, the above method can also include:Obtain and wait to rise The updating result information of level equipment.
Here it is possible to the updating result information that can be specifically sent by receiving equipment to be upgraded, or pass through Collocation point timing inquiry obtains the updating result information of equipment to be upgraded.In addition, when if equipment to be upgraded rises Level failure, acquired updating result information include error message, and the error message is expressed as this and to be upgraded set The reason for standby upgrading failure, can include obtaining file to be upgraded, running paper to be upgraded failure and Device memory deficiency etc., is not especially limited here.
In one embodiment, collocation point obtains the updating result information of equipment to be upgraded, can pass through expansion Open up object " the Update Version ", to obtain the updating result of equipment to be upgraded letter of OF-Config agreements Breath.Specifically, " adding word in Update Version " objects relative to Fig. 5 referring to Fig. 6, Fig. 6 Section " state ", to characterize the updating result information of equipment to be upgraded.
The method of device upgrade provided in an embodiment of the present invention, treated by obtaining for device upgrade to be upgraded The version information of the version information of upgrade file and equipment to be upgraded;According to the version information of file to be upgraded With the version information of equipment to be upgraded, the ground of the server for being stored with file to be upgraded is issued to equipment to be upgraded Location, and indicate that equipment to be upgraded obtains file to be upgraded from server according to the address of server and upgraded; So, can solve the problems, such as that existing device upgrade needs that by particular vendors webmaster upgrading could be realized, So as to realize equipment whitepack, network O&M cost is reduced.
Based on above method, the embodiment of the present invention additionally provides a kind of to realize the device of the above method, ginseng See Fig. 9, it is illustrated that the structural representation of the device of device upgrade provided in an embodiment of the present invention.This hair Bright embodiment provides a kind of device of device upgrade, and the device can include:Acquisition module 910 and processing mould Block 920.
Acquisition module 910, for obtain for device upgrade to be upgraded file to be upgraded version information with And the version information of equipment to be upgraded;
Processing module 920, for the version information according to file to be upgraded and the version information of equipment to be upgraded, The address for the server for being stored with file to be upgraded is issued to equipment to be upgraded, and indicate equipment to be upgraded according to The address of server obtains file to be upgraded from server and upgraded.
Wherein, acquisition module 910 can include:First acquisition unit or second acquisition unit.
First acquisition unit, for verifying file to be upgraded, and according to file acquisition to be upgraded file to be upgraded Version information;Or
Second acquisition unit, for obtaining neighbor device and the neighbor device by document upgrading to be upgraded Version information, and obtain according to the version information of neighbor device the version information of file to be upgraded.
Wherein, processing module 920 can include:First processing units.
First processing units, for the company-information and unit type when file to be upgraded and equipment to be upgraded Company-information is identical with unit type, and the version number of equipment to be upgraded be less than file to be upgraded version number when, The address for the server for being stored with file to be upgraded is issued to equipment to be upgraded, and indicate equipment to be upgraded according to The address of server obtains file to be upgraded from server and upgraded.
Wherein, processing module 920 can also include:Second processing unit.
Second processing unit, for issuing the user profile for login service device to equipment to be upgraded, and The title of file to be upgraded.
Wherein, the title of file to be upgraded comprises at least company-information, unit type and version number.
Wherein, the version information of acquisition comprises at least company-information, unit type and version number.
Wherein, the device can also include:As a result acquisition module.
As a result acquisition module, for obtaining the updating result information of equipment to be upgraded.
The method for the device upgrade that the device for the device upgrade that above-described embodiment provides provides with embodiment belongs to Same design, its specific implementation process refer to embodiment of the method, to avoid repeating, repeated no more here.
The device of device upgrade provided in an embodiment of the present invention, treated by obtaining for device upgrade to be upgraded The version information of the version information of upgrade file and equipment to be upgraded;According to the version information of file to be upgraded With the version information of equipment to be upgraded, the ground of the server for being stored with file to be upgraded is issued to equipment to be upgraded Location, and indicate that equipment to be upgraded obtains file to be upgraded from server according to the address of server and upgraded; So, can solve the problems, such as that existing device upgrade needs that by particular vendors webmaster upgrading could be realized, So as to realize equipment whitepack, network O&M cost is reduced.
The embodiment of the present invention also provides a kind of configuration point device, and the configuration point device includes above-mentioned device upgrade Device.
Because the device of any of the above-described kind of device upgrade has aforementioned techniques effect, therefore, having should The configuration point device of the device of device upgrade should also possess corresponding technique effect, its specific implementation process with it is upper It is similar to state embodiment, does not repeat hereby.
Finally, with reference to accompanying drawing, then examples are embodied by two the present invention is described in more detail.
Fig. 7 is referred to, it is illustrated that the method that the device upgrade that example provides is embodied in the present invention first Schematic flow sheet, the present invention first specific implementation example in, with the forwarding unit in SDN Exemplified by.In the first specific implementation example, collocation point is based on the direct inquiry for treating upgrade file to obtain version This information, and equipment to be upgraded obtains file to be upgraded by special ftp server.First is specific Implement comprising the following steps that for the method for the device upgrade that example provides:
Step 701, ftp server is got out.In the step, it is corresponding that user opens equipment to be upgraded in advance Ftp server, the address of the ftp server is " 10.9.9.9:21 ", ftp server user is " FTP ", Ftp server password is " FTP ".
Step 702, upgrade information is set.Here, file to be upgraded is placed into ftp server root mesh in advance Under record, entitled " Z_SDN8000_V1.3.rar " of file to be upgraded, wherein, Z is company-information, SDN8000 is unit type, and V1.3 is version model.User is in advance that equipment to be upgraded refers in collocation point The address of the fixed ftp server and file to be upgraded.
Step 703, whether verification name is effective.In the step, collocation point verifies the title of file to be upgraded Whether name call format is met.If name is effective, i.e., the title of file to be upgraded meets name form will Ask, perform step 704, otherwise perform step 710.
Step 704, device version information to be upgraded is inquired about.Here, pass through with reference to Fig. 6, collocation point " OpenFlow Capable Switch " inquire about equipment to be upgraded to the inquiry version message of OF-Config extensions Version information;Wherein " manufacturer " field represents company-information, " device-type " field list Show that unit type, " cur-version " represent version number.
Step 705, whether compare can upgrade.Here, collocation point according to edition comparison rule to be upgraded The version information of file and the version information of equipment to be upgraded, which are compared, to be determined whether to be upgraded.Such as Fruit company-information is identical with unit type, and file version updating to be upgraded then thinks that judgement can be upgraded, Perform step 706;Otherwise, it is determined that can not upgrade, step 710 is performed.
Step 706, upgrading instruction is issued.Here, extended with reference to Fig. 6, collocation point by OF-Config Upgraded version message " Update Version " issue upgrade command to equipment to be upgraded;Wherein " ftp-addr " Field value is " 10.8.8.8:21 ", " ftp-user " field value be " ftp ", " ftp-pwd " field value be " ftp ", " filename " field value is " Z_SDN8000_V1.3.rar ".
Step 707, whether device upgrade succeeds.Here, if equipment normally performs upgrading flow, to treating Updating apparatus issues the address of ftp server, ftp server user, ftp server password and treated The title of upgrade file.So that equipment to be upgraded according to user profile log in ftp server, and according to Address " the 10.8.8.8 of ftp server:21 " is corresponding entitled from ftp server acquisition The file to be upgraded of " Z_SDN8000_V1.3.rar ", so as to be upgraded by the file to be upgraded, rise Step 708 is performed after level success;If equipment state to be upgraded can not upgrade or upgrade failure, perform Step 709.
Step 708, prompt successfully.Here, with reference to Fig. 6, by " in Update Version " objects Field " state " returns to collocation point and upgrades successfully message.
Step 709, failure cause is prompted.Here, with reference to Fig. 6, " Update Version " objects are passed through In field " state " to collocation point return error message, terminate flow.Wherein, error message includes nothing Method obtains file, running paper to be upgraded failure and device memory deficiency to be upgraded etc..
Step 710, prompting upgrading failure.After the step is performed, terminate flow.Wherein, in the step, Unsuccessfully prompted by being sent to collocation point, this unsuccessfully prompts to include, and file designation to be upgraded is invalid, text to be upgraded Part company-information mismatches, file device model to be upgraded mismatches and fileversion number to be upgraded ratio is waited to rise The version number of level equipment is old etc..
Fig. 8 is referred to, it is illustrated that the method that the device upgrade that example provides is embodied in the present invention second Schematic flow sheet, the present invention second specific implementation example in, with the forwarding unit in SDN Exemplified by.In the second specific implementation example, collocation point is set based on inquiry by the neighbours of document upgrading to be upgraded The standby version information for obtaining file to be upgraded, and the ftp server that equipment to be upgraded passes through neighbor device Obtain file to be upgraded.The method for the device upgrade that second specific implementation example provides comprises the following steps that:
Step 801, neighbours get out ftp server.In the step, user preselects equipment to be upgraded Obtain the neighbor device of file to be upgraded, it is ensured that ftp server corresponding to neighbor device unlatching, the FTP The address of server is " 10.9.9.9:21 ", ftp server user is " FTP ", ftp server password For " FTP ".
Step 802, upgrade information is set.Here, it is ensured that ftp server is stored with corresponding to neighbor device File to be upgraded, i.e., file to be upgraded are had been placed under ftp server root corresponding to neighbor device, Entitled " Z_SDN8000_V1.3.rar " of file to be upgraded, wherein, Z is company-information, SDN8000 For unit type, V1.3 is version model.Meanwhile user is in advance that equipment to be upgraded is specified in collocation point The address of the ftp server and file to be upgraded.
Step 803, the version information of equipment to be upgraded is inquired about.Here, pass through with reference to Fig. 6, collocation point " OpenFlow Capable Switch " inquire about equipment to be upgraded to the inquiry version message of OF-Config extensions Version information;Wherein " manufacturer " field represents company-information, " device-type " field list Show that unit type, " cur-version " represent version number.
Step 804, the version information of neighbor device is inquired about.Likewise, collocation point is expanded by OF-Config Exhibition inquiry version message " OpenFlow Capable Switch " inquire about neighbor device version information, from And get the version information of file to be upgraded and the title of file to be upgraded.
Step 805, whether compare can upgrade.Here, collocation point according to edition comparison rule to be upgraded The version information of file and the version information of equipment to be upgraded, which are compared, to be determined whether to be upgraded.Such as Fruit company-information is identical with unit type, and file version updating to be upgraded then thinks that judgement can be upgraded, Perform step 806;Otherwise, it is determined that can not upgrade, step 810 is performed.
Step 806, upgrading instruction is issued.Here, extended with reference to Fig. 6, collocation point by OF-Config Upgraded version message " Update Version " issue upgrade command to equipment to be upgraded;Wherein " ftp-addr " Field value is " 10.8.8.8:21 ", " ftp-user " field value be " ftp ", " ftp-pwd " field value be " ftp ", " filename " field value is " Z_SDN8000_V1.3.rar ".
Step 807, judge whether device upgrade succeeds.Here, if equipment normally performs upgrading flow, To equipment to be upgraded issue the address of ftp server, ftp server user, ftp server password with And the title of file to be upgraded.So that equipment to be upgraded logs in ftp server according to user profile, and According to the address " 10.8.8.8 of ftp server:21 " is corresponding entitled from ftp server acquisition The file to be upgraded of " Z_SDN8000_V1.3.rar ", so as to be upgraded by the file to be upgraded, rise Step 808 is performed after level success;If equipment state to be upgraded can not upgrade or upgrade failure, perform Step 809.
Step 808, prompt successfully.Here, with reference to Fig. 6, by " in Update Version " objects Field " state " returns to collocation point and upgrades successfully message.
Step 809, failure cause is prompted.Here, with reference to Fig. 6, " Update Version " objects are passed through In field " state " to collocation point return error message, terminate flow.Wherein, error message includes nothing Method obtains file, running paper to be upgraded failure and device memory deficiency to be upgraded etc..
Step 810, prompting upgrading failure.After the step is performed, terminate flow.Wherein, in the step, Unsuccessfully prompted by being sent to collocation point, this is unsuccessfully prompted to include file company-information mismatch to be upgraded, treated Upgrade file unit type mismatches and fileversion number to be upgraded is older than the version number of equipment to be upgraded etc..
For foregoing embodiment of the method, in order to be briefly described, therefore it is all expressed as to a series of action group Close, but those skilled in the art should know, the present invention is not limited by described sequence of movement, Because according to the present invention, some steps can use other orders or carry out simultaneously.Secondly, this area skill Art personnel should also know that embodiment described in this description belongs to preferred embodiment, and involved is dynamic Make not necessarily essential to the invention.
It should be noted that in inventive embodiments, such as first and second or the like relational terms are only For an entity or operation and another entity or operate is made a distinction, and not necessarily require or secretly Show between these entities or operation any this actual relation or order be present.
The unit illustrated as separating component can be or may not be it is physically separate, as The part that unit is shown can be or may not be physical location, you can with positioned at a place, or It can also be distributed on multiple NEs.It can select according to the actual needs therein some or all of Unit realizes the purpose of this embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, Can also be that unit is individually physically present, can also two or more units be integrated in a unit In.
If the function is realized in the form of SFU software functional unit and is used as independent production marketing or use When, it can be stored in a computer read/write memory medium.Based on such understanding, skill of the invention The part or the part of the technical scheme that art scheme substantially contributes to prior art in other words can be with Being embodied in the form of software product, the computer software product is stored in a storage medium, including Some instructions are make it that a computer equipment (can be that personal computer, server, or network are set It is standby etc.) perform all or part of step of each embodiment methods described of the present invention.And foregoing storage medium Including:USB flash disk, mobile hard disk, ROM, RAM, magnetic disc or CD etc. are various can be with storage program generation The medium of code.
Described above is the preferred embodiment of the present invention, it is noted that for the common skill of the art For art personnel, on the premise of principle of the present invention is not departed from, some improvements and modifications can also be made, These improvements and modifications also should be regarded as protection scope of the present invention.

Claims (13)

  1. A kind of 1. method of device upgrade, it is characterised in that methods described includes:
    Obtain the version information of the file to be upgraded for device upgrade to be upgraded and the equipment to be upgraded Version information;
    According to the version information of the file to be upgraded and the version information of the equipment to be upgraded, treated to described Updating apparatus issues the address for the server for being stored with the file to be upgraded, and indicates the equipment to be upgraded The file to be upgraded is obtained according to the address of the server from the server to be upgraded.
  2. 2. according to the method for claim 1, it is characterised in that described to obtain for equipment to be upgraded Upgrading file to be upgraded version information and the equipment to be upgraded version information the step of, including:
    Verify the file to be upgraded, and according to the file acquisition to be upgraded file to be upgraded version Information;Or
    Obtain the version information of the neighbor device and the neighbor device by the document upgrading to be upgraded, root The version information of the file to be upgraded is obtained according to the version information of the neighbor device.
  3. 3. method according to claim 1 or 2, it is characterised in that described according to described to be upgraded The version information of the version information of file and the equipment to be upgraded, issue and be stored with to the equipment to be upgraded The address of the server of the file to be upgraded, and indicate ground of the equipment to be upgraded according to the server Location obtains the step of file to be upgraded is upgraded from the server, including:
    When the company-information and unit type and the company-information of the equipment to be upgraded of the file to be upgraded It is identical with unit type, and the version number of the equipment to be upgraded be less than the file to be upgraded version number when, The address for the server for being stored with the file to be upgraded is issued to the equipment to be upgraded, and is treated described in instruction Updating apparatus obtains the file to be upgraded from the server according to the address of the server and upgraded.
  4. 4. according to the method for claim 3, it is characterised in that issuing storage to equipment to be upgraded While having the address of the server of the file to be upgraded, in addition to:
    The user profile for logging in the server is issued to the equipment to be upgraded, and it is described to be upgraded The title of file.
  5. 5. according to the method for claim 4, it is characterised in that the title of the file to be upgraded is extremely Include company-information, unit type and version number less.
  6. 6. according to the method for claim 1, it is characterised in that the version information of acquisition comprises at least Company-information, unit type and version number.
  7. 7. a kind of device of device upgrade, it is characterised in that described device includes:
    Acquisition module, for obtaining version information and the institute of the file to be upgraded for device upgrade to be upgraded State the version information of equipment to be upgraded;
    Processing module, for the version information according to the file to be upgraded and the version of the equipment to be upgraded Information, the address for the server for being stored with the file to be upgraded is issued to the equipment to be upgraded, and is indicated The equipment to be upgraded obtains the file to be upgraded from the server according to the address of the server and entered Row upgrading.
  8. 8. device according to claim 7, it is characterised in that the acquisition module includes:
    First acquisition unit, for verifying the file to be upgraded, and according to the file acquisition institute to be upgraded State the version information of file to be upgraded;Or
    Second acquisition unit, for obtaining neighbor device and the neighbours by the document upgrading to be upgraded The version information of equipment, and according to the version of the version information of the neighbor device acquisition file to be upgraded Information.
  9. 9. the device according to claim 7 or 8, it is characterised in that the processing module includes:
    First processing units, wait to rise with described for the company-information and unit type when the file to be upgraded The company-information of level equipment is identical with unit type, and the version number of the equipment to be upgraded waits to rise less than described During the version number of level file, the server that is stored with the file to be upgraded is issued to the equipment to be upgraded Address, and indicate that the equipment to be upgraded is treated described in being obtained according to the address of the server from the server Upgrade file is upgraded.
  10. 10. device according to claim 9, it is characterised in that the processing module also includes:
    Second processing unit, the user for being issued to the equipment to be upgraded for logging in the server believe Breath, and the title of the file to be upgraded.
  11. 11. device according to claim 10, it is characterised in that the title of the file to be upgraded Including at least company-information, unit type and version number.
  12. 12. device according to claim 7, it is characterised in that the version information of acquisition comprises at least Company-information, unit type and version number.
  13. 13. one kind configuration point device, it is characterised in that it is described configuration point device include as claim 7 to The device of device upgrade described in 12 any one.
CN201610321160.5A 2016-05-06 2016-05-06 The method, apparatus and configuration point device of a kind of device upgrade Pending CN107347017A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610321160.5A CN107347017A (en) 2016-05-06 2016-05-06 The method, apparatus and configuration point device of a kind of device upgrade
PCT/CN2017/075777 WO2017190547A1 (en) 2016-05-06 2017-03-06 Method for upgrading apparatus, device, and configuration point

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610321160.5A CN107347017A (en) 2016-05-06 2016-05-06 The method, apparatus and configuration point device of a kind of device upgrade

Publications (1)

Publication Number Publication Date
CN107347017A true CN107347017A (en) 2017-11-14

Family

ID=60202682

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610321160.5A Pending CN107347017A (en) 2016-05-06 2016-05-06 The method, apparatus and configuration point device of a kind of device upgrade

Country Status (2)

Country Link
CN (1) CN107347017A (en)
WO (1) WO2017190547A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108932133A (en) * 2018-07-13 2018-12-04 四川超影科技有限公司 A kind of remote upgrade method based on intelligent inspection robot main body system
CN109271185A (en) * 2018-08-30 2019-01-25 郑州云海信息技术有限公司 A kind of CPLD method for updating edition, device, equipment and storage medium
CN110377317A (en) * 2019-07-25 2019-10-25 新奥(中国)燃气投资有限公司 A kind of gateway upgrade method and device
CN110795119A (en) * 2019-09-19 2020-02-14 平安科技(深圳)有限公司 Firmware upgrading method and device, computer equipment and storage medium
CN112256294A (en) * 2019-07-22 2021-01-22 中科云谷科技有限公司 Deployment method, cloud platform, system and storage medium of terminal application
CN115335803A (en) * 2020-05-08 2022-11-11 Oppo广东移动通信有限公司 Equipment upgrading method, intelligent equipment and computer readable storage medium

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111722856B (en) * 2019-03-19 2024-04-09 上海汽车集团股份有限公司 Method and device for upgrading firmware in vehicle-mounted microcontroller
CN111124457B (en) * 2019-12-27 2024-03-19 合肥美的智能科技有限公司 Controller upgrading method, main controller and upper computer
CN111756574B (en) * 2020-06-19 2023-07-25 浪潮电子信息产业股份有限公司 Method, device and computer readable storage medium for remote batch updating firmware
CN112416796B (en) * 2020-12-03 2023-11-17 北京东土科技股份有限公司 Software upgrading test method and device
CN113703813A (en) * 2021-09-07 2021-11-26 北京天融信网络安全技术有限公司 Kernel upgrading method, device, equipment and computer readable storage medium
CN115348173B (en) * 2022-05-31 2024-05-28 青岛海信宽带多媒体技术有限公司 Regional upgrade control method of intelligent gateway
CN115604113B (en) * 2022-10-20 2023-09-29 杭州粒合信息科技有限公司 FAN network equipment rapid upgrading method, system, equipment and medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101179791A (en) * 2007-12-03 2008-05-14 中兴通讯股份有限公司 Method of updating software edition of mobile terminal
CN101808131A (en) * 2010-03-22 2010-08-18 北京傲天动联技术有限公司 Method for automatically upgrading network terminal edition
CN102799454A (en) * 2012-07-13 2012-11-28 中广传播集团有限公司 Air upgrading and uploading method of terminal software
CN103116491A (en) * 2012-12-31 2013-05-22 上海顶竹通讯技术有限公司 FemtoCell network base station software version management method
CN103580921A (en) * 2013-11-08 2014-02-12 深圳市共进电子股份有限公司 Automatic network equipment upgrading method and automatic network equipment upgrading system
CN103973474A (en) * 2013-02-01 2014-08-06 苏州方位通讯科技有限公司 Network terminal update configuration method
WO2015018323A1 (en) * 2013-08-05 2015-02-12 Huawei Technologies Co., Ltd. Method for packet tunneling through software defined network, method of intelligently controlling flow of a packet through software defined network and system
CN105100021A (en) * 2014-05-20 2015-11-25 西安中兴新软件有限责任公司 Method, device and system for triggering device management sessions

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101478429A (en) * 2009-02-10 2009-07-08 杭州华三通信技术有限公司 Method, system and equipment for version upgrade
CN104320281A (en) * 2014-10-31 2015-01-28 杭州华三通信技术有限公司 Optical network unit (ONU) version upgrading method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101179791A (en) * 2007-12-03 2008-05-14 中兴通讯股份有限公司 Method of updating software edition of mobile terminal
CN101808131A (en) * 2010-03-22 2010-08-18 北京傲天动联技术有限公司 Method for automatically upgrading network terminal edition
CN102799454A (en) * 2012-07-13 2012-11-28 中广传播集团有限公司 Air upgrading and uploading method of terminal software
CN103116491A (en) * 2012-12-31 2013-05-22 上海顶竹通讯技术有限公司 FemtoCell network base station software version management method
CN103973474A (en) * 2013-02-01 2014-08-06 苏州方位通讯科技有限公司 Network terminal update configuration method
WO2015018323A1 (en) * 2013-08-05 2015-02-12 Huawei Technologies Co., Ltd. Method for packet tunneling through software defined network, method of intelligently controlling flow of a packet through software defined network and system
CN103580921A (en) * 2013-11-08 2014-02-12 深圳市共进电子股份有限公司 Automatic network equipment upgrading method and automatic network equipment upgrading system
CN105100021A (en) * 2014-05-20 2015-11-25 西安中兴新软件有限责任公司 Method, device and system for triggering device management sessions

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108932133A (en) * 2018-07-13 2018-12-04 四川超影科技有限公司 A kind of remote upgrade method based on intelligent inspection robot main body system
CN109271185A (en) * 2018-08-30 2019-01-25 郑州云海信息技术有限公司 A kind of CPLD method for updating edition, device, equipment and storage medium
CN112256294A (en) * 2019-07-22 2021-01-22 中科云谷科技有限公司 Deployment method, cloud platform, system and storage medium of terminal application
CN110377317A (en) * 2019-07-25 2019-10-25 新奥(中国)燃气投资有限公司 A kind of gateway upgrade method and device
CN110795119A (en) * 2019-09-19 2020-02-14 平安科技(深圳)有限公司 Firmware upgrading method and device, computer equipment and storage medium
CN115335803A (en) * 2020-05-08 2022-11-11 Oppo广东移动通信有限公司 Equipment upgrading method, intelligent equipment and computer readable storage medium

Also Published As

Publication number Publication date
WO2017190547A1 (en) 2017-11-09

Similar Documents

Publication Publication Date Title
CN107347017A (en) The method, apparatus and configuration point device of a kind of device upgrade
CN108549580B (en) Method for automatically deploying Kubernets slave nodes and terminal equipment
US20190089594A1 (en) Automated standalone bootstrapping of hardware inventory
US7464132B1 (en) Method and apparatus for reference model change generation in managed systems
EP1978672B1 (en) Method for implementing management software, hardware with pre-configured software and implementing method thereof
CN107566165B (en) Method and system for discovering and deploying available resources of power cloud data center
US8099588B2 (en) Method, system and computer program for configuring firewalls
US20080320109A1 (en) Complex software deployment
CN107395385A (en) Method for upgrading software and device
CN104268156B (en) Web site management system and its method
CN107925877A (en) For centralized configuration and the system and method for certification
CN110572273B (en) Method for automatically deploying physical network
US11533223B2 (en) Systems and methods for network management
WO2021136233A1 (en) Service upgrading method, device and system
CN105740003A (en) Method and device for recovering virtual machine, as well as method and device for upgrading virtual machine
CN110896363B (en) Plug-and-play access configuration method for IEC61850 intelligent device
CN104050003A (en) Method for starting Nutch collecting system with shell script
CN103139243A (en) File synchronization method based on star distributed system
WO2022033079A1 (en) Pico base station configuration method and apparatus, and storage medium and electronic apparatus
CN109151855A (en) The upgrade method of repeater, apparatus and system
US10812331B1 (en) Network deployment orchestration
CN108650320B (en) Method for synchronizing configuration files of isomorphic cascading equipment in cluster environment
CN109088771B (en) Internet of things node template inheritance system of Internet of things application platform
CN113014416A (en) Method, system, device and storage medium for automatically configuring and managing network device
CN102831029A (en) Implementation method and system for upgrading backspacing of network element

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20171114