WO2018126628A1 - 一种嵌入式网络设备的远程升级方法及系统 - Google Patents

一种嵌入式网络设备的远程升级方法及系统 Download PDF

Info

Publication number
WO2018126628A1
WO2018126628A1 PCT/CN2017/091039 CN2017091039W WO2018126628A1 WO 2018126628 A1 WO2018126628 A1 WO 2018126628A1 CN 2017091039 W CN2017091039 W CN 2017091039W WO 2018126628 A1 WO2018126628 A1 WO 2018126628A1
Authority
WO
WIPO (PCT)
Prior art keywords
upgrade
command
address
upgraded
main control
Prior art date
Application number
PCT/CN2017/091039
Other languages
English (en)
French (fr)
Inventor
韩留斌
Original Assignee
深圳国人通信股份有限公司
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 深圳国人通信股份有限公司 filed Critical 深圳国人通信股份有限公司
Publication of WO2018126628A1 publication Critical patent/WO2018126628A1/zh

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
    • 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/0876Aspects of the degree of configuration automation
    • H04L41/0886Fully automatic configuration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/30Definitions, standards or architectural aspects of layered protocol stacks
    • H04L69/32Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
    • H04L69/322Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions
    • H04L69/327Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions in the session layer [OSI layer 5]

Definitions

  • the present invention relates to the field of network communication technologies, and in particular, to a remote upgrade method and system for an embedded network device supporting SSH and TFTP services.
  • the terminal device running on the network needs to fix bugs or add new functions.
  • the program is updated, that is, the program is upgraded.
  • the program is upgraded.
  • the points are upgraded point by point, one by one, the workload will be relatively large, and the labor cost is high. Therefore, it is necessary to find a method for batch upgrading the terminal devices.
  • the terminal device has an operating system that supports SSH and TFTP functions, you can consider upgrading the program of the batch terminal device by script and network connection.
  • the object of the present invention is to overcome the deficiencies of the above technologies, and to provide a remote upgrade method and system for an embedded network device.
  • An aspect of the present invention provides a remote upgrade method for an embedded network device, including the following steps: connecting a master terminal to an access unit, and acquiring, by the access unit, all to be upgraded on the optical network link.
  • the device to be upgraded corresponding to each IP address executes the termination command to terminate the executing program, so that the device to be upgraded corresponding to each IP address executes the download command to download an upgrade file from the master terminal, so that each IP address is obtained.
  • the corresponding device to be upgrade executes the upgrade command and executes the restart
  • the master terminal has a TFTP service, and the download command downloads the upgrade file based on the TFTP service.
  • the automatic upgrade operation is performed on the device to be upgraded corresponding to one IP address or multiple IP addresses of the IP address list.
  • all the devices to be upgraded include an access unit and a plurality of remote devices connected to the access unit on the optical network link.
  • the automatic upgrade operation further includes the following steps: after the upgrade command is executed by the device to be upgraded corresponding to each IP address, and after the restart command is executed after the upgrade, the master control is further received and executed.
  • the terminal checks the command to determine whether the upgrade is completed, and sends the check result back to the master control mountain.
  • command set is stored in the file form in the main control terminal.
  • the access unit includes an acquiring module, configured to acquire an optical network.
  • the main control terminal includes an upgrade module, configured to traverse the IP address list, and perform an automatic upgrade operation for each IP address;
  • a file and command execution unit, the command execution unit is configured to execute a command set, and the upgrade file is used to replace the program file of the device to be upgraded;
  • the device to be upgraded includes an SSH server and an execution module;
  • the SSH service is configured to enable the master terminal to connect to the device to be upgraded corresponding to each IP address through a secure session protocol, where the secure session protocol is an SSH protocol;
  • the executing module is configured to receive and execute the Termination command of the master terminal to terminate the program being executed;
  • the execution module is configured to receive and execute from the a download command of the main control terminal to download an upgrade file from the main control terminal;
  • the main control terminal further includes a TFTP server, configured to enable the TFTP service, and the download command downloads the upgrade file based on the TFTP service.
  • the execution module is further configured to receive and execute an inspection command from the main control terminal to determine Whether the upgrade is completed or not, and the check result is sent back to the main control terminal.
  • the invention can remotely upgrade the access unit on the optical network link and the plurality of remote devices connected to the access unit, and the upgrade period is short, the workload of the upgrade is greatly reduced, and the labor cost is reduced. , saving time.
  • FIG. 1 is a schematic diagram of connection of a main control terminal, an access unit, and a remote device of a remote upgrade system of an embedded network device according to the present invention:
  • FIG. 2 is a schematic flowchart of a remote upgrade method of the remote upgrade system shown in FIG. 1;
  • FIG. 3 is a schematic flow chart of the automatic upgrade operation shown in FIG. 2.
  • a remote upgrade system for an embedded network device provided by the present invention includes a main control terminal 1, an access unit 2 connected to the main control terminal 1, and a plurality of far-reaching connections with the access unit 2. End device 3.
  • the access unit 2 is connected to the main control terminal 1 through a network cable, and the plurality of remote devices 3 are connected to the access unit 2 through optical fibers.
  • the main control terminal 1 is a PC.
  • the access unit 2 includes an obtaining module, configured to obtain an IP address of all the devices to be upgraded on the optical network link to obtain an IP address list, where all the devices to be upgraded include the access unit 2 and the plurality of remote devices 3 .
  • the main control terminal 1 includes an upgrade module and an inspection module.
  • the upgrade module is used to traverse the IP address list and perform an automatic upgrade operation for each IP address.
  • the check module is used to check if the list of IP addresses has been traversed.
  • the upgrade module includes an upgrade file and a command execution unit.
  • the command execution unit is used to execute the command set, and the command set is stored in the form of a file.
  • the command set is stored in the form of a bat batch file.
  • the upgrade file is used to replace the program files of the device to be upgraded.
  • the device to be upgraded includes an SSH server and an execution module.
  • the SSH server is used to enable the SSH service so that the master terminal 1 can connect to each IP through a secure session protocol.
  • the device to be upgraded corresponds to the address.
  • the secure session protocol is SSH.
  • the execution module is configured to receive and execute a termination command from the main control terminal to terminate the executing program, and receive and execute a download command from the main control terminal to download an upgrade file from the main control terminal, and receive the upgrade file from the main control terminal. Upgrading a command and a restarting command, executing an upgrade command from the master terminal, and executing a restart command after the upgrade, for receiving and executing an inspection command from the master terminal to determine whether the upgrade is completed and the check result is sent back to the Master terminal.
  • the main control terminal 1 further includes a TFTP server for starting the TFTP service, and the download command downloads the upgrade file based on the TFTP service.
  • TFTP server for starting TFTP service, the transmission speed is fast, the efficiency is high, and the time is saved.
  • the TFTP server can also be replaced by an FTP server, which can be used to enable FTP services.
  • a remote upgrade method for an embedded network device includes the following steps.
  • the slave terminal 1 is connected to the access unit 2, and the access unit 2 obtains an IP address of all the devices to be upgraded on the optical network link through the obtaining module, and obtains an IP address list. All devices to be upgraded include an access unit 2 and a plurality of remote devices 3 connected to the access unit 2 on the optical network link.
  • the specific connection mode of connecting the main control terminal 1 to the access unit 2 is as follows: modifying the IP address of the main control terminal 1 and connecting to the access unit 2 by means of pinging, so that the main control terminal 1, the access unit 2, and Multiple remote devices 3 are on the same network segment, and the IP address is an IP optical network address or an internal network address.
  • S2 The upgrade module of the main control terminal 1 traverses the IP address list, and performs an automatic upgrade operation for each IP address.
  • an automatic upgrade operation is performed on an IP address of an IP address list in the same engraving, and an automatic upgrade operation may be performed on the device to be upgraded corresponding to multiple IP addresses in the IP address list.
  • the automatic upgrade operation includes the following steps:
  • S31 Execute a command set by the command execution unit at the main control terminal 1.
  • the command set is stored in the form of a bat batch file.
  • S32. The command performs centralized plink+username+password, and the SSH service initiated by the S SH server of the device to be upgraded corresponding to each IP address enables the master terminal 1 to connect to each through a secure session protocol, ie, SSH protocol.
  • the IP address where the user name and password are the user name and password of the device to be upgraded corresponding to each IP address.
  • the command is executed to execute the plink+username+password+download command
  • the master terminal 1 activates the TFTP service through the TFTP server, and receives and executes the download command from the master through the execution module of the device to be upgraded corresponding to each IP address.
  • Terminal 1 downloads the upgrade file, and the download command downloads the upgrade file based on the TFTP service, which has a fast transfer speed and saves download time.
  • the upgrade file decompression installation can be the replacement of the program file of the same name, or the addition of a different name program file, or the deletion of a different name program file (that is, the old version of the program file, if it is no longer used, can be deleted. ).
  • S36 The plink+username+password+check command is executed in the command, and the execution module of the device to be upgraded corresponding to each IP address receives and executes an inspection command to check whether the running state of the upgraded program is normal.
  • the running status of the upgraded program includes checking the version and process of the upgraded program to confirm that the program upgrade is successful.
  • the present invention can remotely upgrade the access unit on the optical network link and the plurality of remote devices 3 connected to the access unit, the upgrade period is short, the workload of the upgrade is greatly reduced, and the manual is reduced. Cost, saving time.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Automation & Control Theory (AREA)
  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

本发明涉及一种嵌入式网络设备的远程升级方法及系统,该远程升级方法包括以下步骤:将主控终端连接到接入单元,并通过接入单元获取光网链路上所有待升级设备的IP地址,得到IP地址列表;遍历IP地址列表,对每个IP地址执行自动升级操作,自动升级操作包括以下步骤:在主控终端执行命令集,使主控终端通过安全会话协议连接到每个IP地址对应的待升级设备;使每个IP地址对应的待升级设备接收并执行来自主控终端的终止命令终止正在执行的程序,接收并执行下载命令从主控终端下载升级文件,接收升级命令和重启命令,执行升级命令并在升级后执行重启命令。本发明可同时对光网链路上的接入单元及多个远端设备进行远程程序升级,减少了升级工作量。

Description

一种嵌入式网络设备的远程升级方法及系统 技术领域
[0001] 本发明涉及网络通信技术领域, 尤其是涉及一种对支持 SSH和 TFTP服务的嵌入 式网络设备的远程升级方法及系统。
背景技术
[0002] 工程中在网运行的终端设备需要修复 bug或者增加新功能吋, 通常要更新程序 , 即程序升级。 在终端设备个数较多、 距离分散的情况下, 如果点对点、 逐个 进行升级, 工作量会比较大, 人工成本较高, 此吋就需要找到一种能够对终端 设备进行批量升级的方法。 对于嵌入式网络设备来说, 如果终端设备具备操作 系统, 支持 SSH和 TFTP功能, 就可以考虑通过脚本加网络连接的方式来实现批 量终端设备的程序升级。
技术问题
问题的解决方案
技术解决方案
[0003] 本发明的目的在于克服上述技术的不足, 提供一种嵌入式网络设备的远程升级 方法及系统。
[0004] 本发明的一方面提供一种嵌入式网络设备的远程升级方法, 包括以下步骤: 将 主控终端连接到接入单元, 并通过所述接入单元获取光网链路上所有待升级设 备的 IP地址, 得到 IP地址列表; 遍历所述 IP地址列表, 对每个 IP地址执行自动升 级操作, 所述自动升级操作包括以下步骤: 在所述主控终端执行命令集, 使所 述主控终端通过安全会话协议连接到每个 IP地址对应的待升级设备; 使每个 IP地 址对应的待升级设备接收所述主控终端传来的终止命令、 下载命令、 升级命令 和重启命令; 使每个 IP地址对应的待升级设备执行所述终止命令终止正在执行的 程序, 使每个 IP地址对应的待升级设备执行所述下载命令从所述主控终端下载升 级文件, 使每个 IP地址对应的待升级设备执行所述升级命令并在升级后执行所述 重启命令。 [0005] 进一步地, 所述待升级的设备幵启有 SSH服务, 所述安全会话协议为 SSH协议
[0006] 进一步地, 所述主控终端幵启有 TFTP服务, 所述下载命令基于所述 TFTP服务 下载所述升级文件。
[0007] 进一步地, 同一个吋刻, 对所述 IP地址列表的一个 IP地址或多个 IP地址对应的 待升级设备执行所述自动升级操作。
[0008] 进一步地, 所述所有待升级设备包括接入单元以及光网链路上与接入单元连接 的多个远端设备。
[0009] 进一步地, 所述自动升级操作还包括以下步骤: 每个 IP地址对应的待升级设备 执行所述升级命令并在升级后执行所述重启命令之后, 还接收并执行来自所述 主控终端的检査命令, 以判断是否完成升级, 并将检査结果回发给所述主控终 山
[0010] 进一步地, 所述命令集以文件形式存储在所述主控终端。
[0011] 本发明的另一方面提供一种嵌入式网络设备的远程升级系统, 包括主控终端以 及与主控终端连接的接入单元; 所述接入单元包括获取模块, 用于获取光网链 路上所有待升级设备的 IP地址以得到 ip地址列表; 所述主控终端包括升级模块, 用于遍历所述 IP地址列表、 对每个 IP地址执行自动升级操作; 所述升级模块包括 升级文件和命令执行单元, 所述命令执行单元用于执行命令集, 所述升级文件 用于替换所述待升级设备的程序文件; 所述待升级设备包括 SSH服务器和执行模 块; 所述 SSH服务器用于幵启 SSH服务, 使所述主控终端可通过安全会话协议连 接到每个 IP地址对应的待升级设备, 所述安全会话协议为 SSH协议; 所述执行模 块用于接收并执行来自所述主控终端的终止命令以终止正在执行的程序; 所述 执行模块用于接收并执行来自所述主控终端的下载命令以从所述主控终端下载 升级文件; 所述执行模块用于接收来自所述主控终端的升级命令和重启命令, 以执行所述升级命令并在升级后执行所述重启命令。
[0012] 进一步地, 所述主控终端还包括 TFTP服务器, 用于幵启 TFTP服务, 所述下载 命令基于所述 TFTP服务下载所述升级文件。
[0013] 进一步地, 所述执行模块还用于接收并执行来自所述主控终端的检査命令以判 断是否完成升级, 并将检査结果回发给所述主控终端。
发明的有益效果
有益效果
[0014] 本发明可同吋对光网链路上的接入单元以及与接入单元连接的多个远端设备进 行远程程序升级, 升级周期短, 大大减少了升级工作量, 降低了人工成本, 节 省了吋间。
对附图的简要说明
附图说明
[0015] 图 1为本发明一种嵌入式网络设备的远程升级系统的主控终端、 接入单元和远 端设备的连接示意图:
[0016] 图 2是图 1所示远程升级系统的远程升级方法的流程示意图;
[0017] 图 3是图 2所示自动升级操作的流程示意图。
本发明的实施方式
[0018] 下面结合附图和实施例对本发明作进一步的描述。
[0019] 参考图 1, 本发明提供的一种嵌入式网络设备的远程升级系统, 包括主控终端 1 、 与主控终端 1连接的接入单元 2以及与接入单元 2连接的多个远端设备 3。 接入 单元 2通过网线与主控终端 1连接, 多个远端设备 3通过光纤与接入单元 2连接。 主控终端 1为一 PC机。
[0020] 接入单元 2包括获取模块, 用于获取光网链路上所有待升级设备的 IP地址以得 到 IP地址列表, 其中, 所有待升级设备包括接入单元 2以及多个远端设备 3。
[0021] 主控终端 1包括升级模块和检査模块。 升级模块用于遍历 IP地址列表、 对每个 I P地址执行自动升级操作。 检査模块用于检査 IP地址列表是否遍历完。
[0022] 升级模块包括升级文件和命令执行单元。 命令执行单元用于执行命令集, 命令 集以文件的形式存放, 本实施例中, 命令集以 bat批处理文件的形式存放。 升级 文件用于替换待升级设备的程序文件。 待升级设备包括 SSH服务器和执行模块。 SSH服务器用于幵启 SSH服务, 使主控终端 1可通过安全会话协议连接到每个 IP 地址对应的待升级设备, 安全会话协议为 SSH协议。 执行模块用于接收并执行来 自主控终端的终止命令以终止正在执行的程序, 用于接收并执行来自主控终端 的下载命令以从主控终端下载升级文件, 用于接收来自主控终端的升级命令和 重启命令、 执行来自主控终端的升级命令并在升级后执行重启命令, 用于接收 并执行来自主控终端的检査命令以判断是否完成升级并将检査结果回发给所述 主控终端。
[0023] 主控终端 1还包括 TFTP服务器, 用于幵启 TFTP服务, 下载命令基于 TFTP服务 下载升级文件。 采用 TFTP服务器幵启 TFTP服务传输速度快, 效率高, 节省吋间 。 当然, TFTP服务器也可以用 FTP服务器替换, FTP服务器可用于幵启 FTP服务
[0024] 参考图 2, 本发明提供的一种嵌入式网络设备的远程升级方法, 包括以下步骤
[0025] Sl、 将主控终端 1连接到接入单元 2, 接入单元 2通过获取模块获取光网链路上 所有待升级设备的 IP地址, 得到 IP地址列表。 所有待升级设备包括接入单元 2以 及光网链路上与接入单元 2连接的多个远端设备 3。 将主控终端 1连接到接入单元 2的具体的连接方式为: 修改主控终端 1的 IP地址, 通过 ping通的方式连接到接入 单元 2, 使主控终端 1、 接入单元 2以及多个远端设备 3在同一个网段, IP地址为 IP 光网地址或内网地址。
[0026] S2、 通过主控终端 1的升级模块遍历 IP地址列表, 对每个 IP地址执行自动升级 操作。 本实施例中, 同一个吋刻, 对 IP地址列表的一个 IP地址执行自动升级操作 , 当然, 也可以对 IP地址列表的多个 IP地址对应的待升级设备执行自动升级操作
[0027] S3、 通过主控终端 1的检査模块检査 IP地址列表是否遍历完, 若是, 则结束操 作, 若否, 则再次进行步骤 S2, 直到 IP地址列表遍历完, 每个 IP地址都执行了自 动升级操作。
[0028] 参考图 3, 自动升级操作包括以下步骤:
[0029] S31、 在主控终端 1通过命令执行单元执行命令集。 本实施例中, 命令集以 bat 批处理文件的形式存放。 [0030] S32、 命令集中执行 plink+用户名 +密码, 通过每个 IP地址对应的待升级设备的 S SH服务器幵启的 SSH服务, 使主控终端 1通过安全会话协议即 SSH协议连接到每 个 IP地址, 其中, 用户名、 密码为与每个 IP地址对应的待升级设备的用户名及密 码。
[0031] S33、 命令集中执行 plink+用户名 +密码 +终止命令, 通过每个 IP地址对应的待升 级设备的执行模块接收并执行终止命令终止正在执行的程序。
[0032] S34、 命令集中执行 plink+用户名 +密码 +下载命令, 主控终端 1通过 TFTP服务器 幵启 TFTP服务, 通过每个 IP地址对应的待升级设备的执行模块接收并执行下载 命令从主控终端 1下载升级文件, 下载命令基于 TFTP服务下载升级文件, 传输速 度快, 节省下载吋间。
[0033] S35、 命令集中执行 plink+用户名 +密码 +升级命令 +重启命令, 通过每个 IP地址 对应的待升级设备的执行模块接收升级命令和重启命令, 执行升级命令并在升 级后执行重启命令。 每个 IP地址对应的待升级设备执行升级命令的具体方式为: 每个 IP地址对应的待升级设备将从主控终端 1下载的升级文件进行解压安装, 即 完成了程序文件自动升级操作。 升级文件解压安装可以是同名程序文件的替换 、 也可以是不同名程序文件的新增、 也可以是不同名程序文件的刪除 (即, 老 版本的程序文件, 如不再使用了, 可以刪除掉) 。
[0034] S36、 命令集中执行 plink+用户名 +密码 +检査命令, 通过每个 IP地址对应的待升 级设备的执行模块接收并执行检査命令检査升级后程序的运行状态是否正常, 检査升级后程序的运行状态包括检査升级后程序的版本和进程, 以确认程序升 级成功。
[0035] 本发明可同吋对光网链路上的接入单元以及与接入单元连接的多个远端设备 3 进行远程程序升级, 升级周期短, 大大减少了升级工作量, 降低了人工成本, 节省了吋间。
[0036] 以上实施例仅表达了本发明的优选实施方式, 其描述较为具体和详细, 但并不 能因此而理解为对本发明专利范围的限制。 应当指出的是, 对于本领域的普通 技术人员来说, 在不脱离本发明构思的前提下, 还可以做出若干变形和改进, 如对各个实施例中的不同特征进行组合等, 这些都属于本发明的保护范围。

Claims

权利要求书
[权利要求 1] 一种嵌入式网络设备的远程升级方法, 其特征在于, 包括以下步骤: 将主控终端连接到接入单元, 并通过所述接入单元获取光网链路上所 有待升级设备的 IP地址, 得到 IP地址列表;
遍历所述 IP地址列表, 对每个 IP地址执行自动升级操作, 所述自动升 级操作包括以下步骤:
在所述主控终端执行命令集, 使所述主控终端通过安全会话协议连接 到每个 IP地址对应的待升级设备;
使每个 IP地址对应的待升级设备接收所述主控终端传来的终止命令、 下载命令、 升级命令和重启命令;
使每个 IP地址对应的待升级设备执行所述终止命令终止正在执行的程 序, 使每个 IP地址对应的待升级设备执行所述下载命令从所述主控终 端下载升级文件, 使每个 IP地址对应的待升级设备执行所述升级命令 并在升级后执行所述重启命令。
[权利要求 2] 根据权利要求 1所述的嵌入式网络设备的远程升级方法, 其特征在于
, 所述待升级的设备幵启有 SSH服务, 所述安全会话协议为 SSH协议
[权利要求 3] 根据权利要求 1所述的嵌入式网络设备的远程升级方法, 其特征在于
, 所述主控终端幵启有 TFTP服务, 所述下载命令基于所述 TFTP服务 下载所述升级文件。
[权利要求 4] 根据权利要求 3所述的嵌入式网络设备的远程升级方法, 其特征在于
, 同一个吋刻, 对所述 IP地址列表的一个 IP地址或多个 IP地址对应的 待升级设备执行所述自动升级操作。
[权利要求 5] 根据权利要求 1所述的嵌入式网络设备的远程升级方法, 其特征在于
, 所述所有待升级设备包括接入单元以及光网链路上与接入单元连接 的多个远端设备。
[权利要求 6] 根据权利要求 1所述的嵌入式网络设备的远程升级方法, 其特征在于
, 所述自动升级操作还包括以下步骤: 每个 IP地址对应的待升级设备 执行所述升级命令并在升级后执行所述重启命令之后, 还接收并执行 来自所述主控终端的检査命令, 以判断是否完成升级, 并将检査结果 回发给所述主控终端。
根据权利要求 6所述的嵌入式网络设备的远程升级方法, 其特征在于 , 所述命令集以文件形式存储在所述主控终端。
一种嵌入式网络设备的远程升级系统, 其特征在于, 包括主控终端以 及与主控终端连接的接入单元;
所述接入单元包括获取模块, 用于获取光网链路上所有待升级设备的 IP地址以得到 IP地址列表;
所述主控终端包括升级模块, 用于遍历所述 IP地址列表、 对每个 IP地 址执行自动升级操作; 所述升级模块包括升级文件和命令执行单元, 所述命令执行单元用于执行命令集, 所述升级文件用于替换所述待升 级设备的程序文件;
所述待升级设备包括 SSH服务器和执行模块;
所述 SSH服务器用于幵启 SSH服务, 使所述主控终端可通过安全会话 协议连接到每个 IP地址对应的待升级设备, 所述安全会话协议为 SSH 协议;
所述执行模块用于接收并执行来自所述主控终端的终止命令以终止正 在执行的程序;
所述执行模块用于接收并执行来自所述主控终端的下载命令以从所述 主控终端下载升级文件;
所述执行模块用于接收来自所述主控终端的升级命令和重启命令, 以 执行所述升级命令并在升级后执行所述重启命令。
根据权利要求 8所述的嵌入式网络设备的远程升级系统, 其特征在于 , 所述主控终端还包括 TFTP服务器, 用于幵启 TFTP服务, 所述下载 命令基于所述 TFTP服务下载所述升级文件。
根据权利要求 8所述的嵌入式网络设备的远程升级系统, 其特征在于 , 所述执行模块还用于接收并执行来自所述主控终端的检査命令以判 断是否完成升级, 并将检査结果回发给所述主控终端。
PCT/CN2017/091039 2017-01-03 2017-06-30 一种嵌入式网络设备的远程升级方法及系统 WO2018126628A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710000881.0 2017-01-03
CN201710000881.0A CN106685723A (zh) 2017-01-03 2017-01-03 一种嵌入式网络设备的远程升级方法及系统

Publications (1)

Publication Number Publication Date
WO2018126628A1 true WO2018126628A1 (zh) 2018-07-12

Family

ID=58849927

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/091039 WO2018126628A1 (zh) 2017-01-03 2017-06-30 一种嵌入式网络设备的远程升级方法及系统

Country Status (2)

Country Link
CN (1) CN106685723A (zh)
WO (1) WO2018126628A1 (zh)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106685723A (zh) * 2017-01-03 2017-05-17 深圳国人通信股份有限公司 一种嵌入式网络设备的远程升级方法及系统
CN107015817B (zh) * 2017-05-25 2021-06-01 北京君泊网络科技有限责任公司 一种设备固件空中升级的方法
CN109918188A (zh) * 2019-03-27 2019-06-21 网易(杭州)网络有限公司 游戏模式的切换方法、装置、电子设备及存储介质
CN110764801B (zh) * 2019-09-29 2024-02-27 国网湖南省电力有限公司 一种高速电力线载波远程升级方法及装置
CN110795111B (zh) * 2019-09-29 2023-04-18 深圳华臻信息技术有限公司 一种通信设备远程自动升级方法及管理终端
CN110780902A (zh) * 2019-10-25 2020-02-11 上海信耀电子有限公司 一种嵌入式设备网络批量升级的方法
CN112241161A (zh) * 2020-10-22 2021-01-19 贝思特门机(嘉兴)有限公司 一种门机控制器软件升级方式
CN115022164A (zh) * 2022-05-31 2022-09-06 广州助蜂网络科技有限公司 一种基于dos命令的设备远程升级控制方法和系统

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040215706A1 (en) * 2003-03-31 2004-10-28 Lavender Scott D. System and method for updating software and version control in a production printer
CN103152207A (zh) * 2013-03-29 2013-06-12 深圳市磊科实业有限公司 基于隧道方式的无源光网络维护管理系统的实现方法
CN103685530A (zh) * 2013-12-17 2014-03-26 京信通信系统(中国)有限公司 Wlan现网ap自动升级控制方法及系统
CN105354070A (zh) * 2015-12-11 2016-02-24 成都广达新网科技股份有限公司 一种通过i2c升级设备固件的方法
CN106685723A (zh) * 2017-01-03 2017-05-17 深圳国人通信股份有限公司 一种嵌入式网络设备的远程升级方法及系统

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102064955B (zh) * 2009-11-17 2014-01-01 中兴通讯股份有限公司 光网络单元远程升级的方法与系统
CN101873726A (zh) * 2010-07-01 2010-10-27 华为终端有限公司 无线中继器的升级方法及无线接入设备
CN102868731B (zh) * 2012-08-27 2014-12-17 济南大学 软件在线升级及加速下载的方法和装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040215706A1 (en) * 2003-03-31 2004-10-28 Lavender Scott D. System and method for updating software and version control in a production printer
CN103152207A (zh) * 2013-03-29 2013-06-12 深圳市磊科实业有限公司 基于隧道方式的无源光网络维护管理系统的实现方法
CN103685530A (zh) * 2013-12-17 2014-03-26 京信通信系统(中国)有限公司 Wlan现网ap自动升级控制方法及系统
CN105354070A (zh) * 2015-12-11 2016-02-24 成都广达新网科技股份有限公司 一种通过i2c升级设备固件的方法
CN106685723A (zh) * 2017-01-03 2017-05-17 深圳国人通信股份有限公司 一种嵌入式网络设备的远程升级方法及系统

Also Published As

Publication number Publication date
CN106685723A (zh) 2017-05-17

Similar Documents

Publication Publication Date Title
WO2018126628A1 (zh) 一种嵌入式网络设备的远程升级方法及系统
JP4664977B2 (ja) 装置管理システムのための装置管理方法
EP2582089A1 (en) System and method for implementing automatic configuration for equipments
CN103200271B (zh) Arm服务器及其自动化安装系统的方法
CN106572200A (zh) 一种基板控制器bmc的ip地址配置方法及装置
CN111786893B (zh) mesh组网中无线路由器软件版本的同步方法和装置
US20070043874A1 (en) File transfer method and system
WO2015007069A1 (zh) 一种基于脚本程序自动化部署Zookeeper集群的方法
RU2533638C2 (ru) Способ и устройство для конфигурирования данных
CN101715199B (zh) 无线接入点设备升级方法及装置
WO2011137793A1 (zh) 实现zigbee设备远程升级的方法、装置及网络系统
WO2008095375A1 (fr) Systeme et procede pour configurer un dispositif de terminal
CN108536452B (zh) 一种嵌入式设备及其系统软件升级方法、系统和终端
CN105072398B (zh) 一种设备升级方法和装置
WO2015043407A1 (en) Method, system, and apparatus for online service inspection
CN105512026A (zh) 一种批量自动测试方法
CN107203400A (zh) 一种远程部署组件的方法及装置
JP2006268203A (ja) ネットワーク機器、制御端末及びそれらに用いるユーティリティ自動更新方法並びにそのプログラム
CN112948008B (zh) 一种基于Ironic管理物理裸机的方法
WO2017124741A1 (zh) 一种设备版本同步方法及装置
CN107968725B (zh) 家庭网关单元型终端设备配置信息返回及配置方法、设备
CN107908408A (zh) 一种远程云手机应用安装方法
WO2010145386A1 (zh) 一种ftp客户端及其实现方法
CN113055723A (zh) 一种版本调测及升级的方法、装置、设备以及存储介质
JP2000031998A (ja) ネットワーク装置、ネットワークの管理方式および管理方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17890762

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17890762

Country of ref document: EP

Kind code of ref document: A1