WO2012116553A1 - Network device and system and method for autonomously upgrading network device - Google Patents

Network device and system and method for autonomously upgrading network device Download PDF

Info

Publication number
WO2012116553A1
WO2012116553A1 PCT/CN2011/082148 CN2011082148W WO2012116553A1 WO 2012116553 A1 WO2012116553 A1 WO 2012116553A1 CN 2011082148 W CN2011082148 W CN 2011082148W WO 2012116553 A1 WO2012116553 A1 WO 2012116553A1
Authority
WO
WIPO (PCT)
Prior art keywords
upgrade
user
version
network device
server
Prior art date
Application number
PCT/CN2011/082148
Other languages
French (fr)
Chinese (zh)
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 WO2012116553A1 publication Critical patent/WO2012116553A1/en

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

Landscapes

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

Abstract

A network device and a system and method for autonomously upgrading the network device. The system comprises a user PC, a service backbone network, an application server and a network device. The application server and the network device are connected through the service backbone network. During upgrade, in the system, the network device is configured to: check whether a file in a new version is available on the application server, if yes, detect a service request initiated by the user PC, if a webpage browsing request is detected, process a message initiated by a source address of the webpage browsing request and change a destination address of a webpage browsing protocol to a WEB page address of an upgrade wizard; and download a file in an upgraded version from the application server to the network device according to an operation instruction, of a user through the user PC, on a WEB page of the upgrade wizard. By applying the present invention, the user can autonomously upgrade the network device conveniently, reliability and effectively, thereby greatly reducing upgrade and maintenance costs of the operator and manufacturer.

Description

一种网络设备、 网络设备自主升级系统及升级方法 技术领域  Network equipment, network equipment autonomous upgrade system and upgrade method
本发明涉及网络通信技术领域, 尤其涉及一种网络设备、 网络设备自主 升级系统及升级方法。  The present invention relates to the field of network communication technologies, and in particular, to a network device, a network device autonomous upgrade system, and an upgrade method.
背景技术 Background technique
随着社会的进步, 生活水平的提高, 互联网 (INTERNET ) 的普及, 各 种网络设备已不限于在企业内使用,已广泛进入普通家庭用户手中,其中 DSL 路由终端因价格低廉, 接入方便而备受广大用户青睐。  With the advancement of society, the improvement of living standards, the popularity of the Internet (INTERNET), various network devices are not limited to use in enterprises, and have been widely used in the hands of ordinary household users, among which DSL routing terminals are cheap and easy to access. Widely favored by the majority of users.
DSL ( Digital Subscriber Line, 即数字用户环线) 的拨号设备即通常所说 的调制解调器(Modem ) 。 常见的有 ADSL、 VDSL和 SHDSL等终端, 区别 主要在于上行线路及局端设备的不同, 因此可以提供的网络带宽也有很大差 异。一台 DSL路由终端可以包含以下功能: PPPoE/PPPoA拨号功能; IPoE/IPoA 功能; 路由功能; NAT及其高级应用功能; QoS功能; 防火墙功能; 端口绑 定功能; 远程管理及和网管设备对接的功能; 无线接入功能; 此外还可能会 有一些其他不常用的功能。  The dialing device of DSL (Digital Subscriber Line) is commonly known as a modem (Modem). Commonly used are terminals such as ADSL, VDSL, and SHDSL. The difference mainly lies in the difference between the uplink and the central office equipment, so the network bandwidth that can be provided is also very different. A DSL routing terminal can include the following functions: PPPoE/PPPoA dialing function; IPoE/IPoA function; routing function; NAT and its advanced application functions; QoS function; firewall function; port binding function; remote management and docking with network management equipment Features; wireless access; there may be other features that are not commonly used.
通常一个路由终端产品可以包含上述功能中的一项或多项, 由于其功能 的复杂多样性, 厂商并不能保证其产品在进入市场时是完美无缺的, 在实际 使用中如果产品出现问题, 则必须要对该问题进行修正, 那么对产品的升级 将不可避免。  Usually a routing terminal product can contain one or more of the above functions. Due to the complex and diverse functions, the manufacturer cannot guarantee that the product is perfect when it enters the market. If there is a problem in the actual use, The problem must be corrected, and upgrading the product will be inevitable.
常规的设备升级方法包括以下几种:  The general equipment upgrade methods include the following:
( 1 )通过网管平台升级  (1) Upgrade through the network management platform
通过网管平台升级时, 首先该设备需要支持远程管理协议, 在升级过程 中由于用户并不知情, 如果在升级过程中将设备重启则有可能使设备损坏, 虽然目前有很多避免升级过程中重启导致设备损坏的方法, 但这些方法并不 能避免重启设备导致升级失败。 此外, 由于升级完成后设备会自动重启, 该 自动重启的操作将会使用户断网, 这种情况下, 由于用户并不知情, 如果用 户正在进行某些比较重要的工作, 则该用户会对该产品或运营商产生不良印 象, 进而影响制造商形象。 When upgrading through the network management platform, the device needs to support the remote management protocol. In the upgrade process, the user is unaware. If the device is restarted during the upgrade process, the device may be damaged. Although there are many ways to avoid reboot during the upgrade process. The method of device damage, but these methods can not avoid restarting the device and causing the upgrade to fail. In addition, since the device will automatically restart after the upgrade is completed, the automatic restart operation will cause the user to disconnect the network. In this case, because the user does not know, if If the user is doing some important work, the user will have a bad impression on the product or operator, which will affect the image of the manufacturer.
( 2 )通过远程文件传输协议 ( File Transfer Protocol, FTP )或简单文件 传输协议(Trivial File Transfer Protocol, TFTP )升级  (2) Upgrade by Remote File Transfer Protocol (FTP) or Trivial File Transfer Protocol (TFTP)
远程升级的方式中, 首先需要设备能够支持远程接入, 并且该功能被开 启, 但实际上为安全考虑可能是默认关闭的。 另外升级的时候, 升级服务器 只能通过对设备所在的 IP地址段进行轮询, 这个 IP数量是相当巨大的, 而 由于设备获取的地址可能是动态的, 这样的话升级率就会降低, 并且耗时会 相当长。 同时, 该远程接入升级的方法同样面临用户不知情的问题。  In the remote upgrade mode, the device needs to be able to support remote access first, and the function is turned on, but it may be turned off by default for security reasons. In addition, when upgrading, the upgrade server can only poll the IP address segment where the device is located. The IP number is quite large, and the address obtained by the device may be dynamic, so the upgrade rate will be reduced and consumed. It will be quite long. At the same time, the remote access upgrade method also faces the problem that the user does not know.
( 3 )客服上门进行升级  (3) Customer service to upgrade
该升级主要依靠客服人员上门服务, 首先要确保能见到客户, 否则就只 能等待客户的投诉, 另外升级人员的上门费用将是一笔相当大的开销, 且效 率较低。  The upgrade mainly relies on the customer service staff to provide on-site service. First, we must ensure that we can see the customer. Otherwise, we can only wait for the customer's complaint. In addition, the cost of the upgraded staff will be a considerable expense and the efficiency is low.
( 4 )库存产品的本地升级, 或额外提供升级光盘分发给用户。  (4) A local upgrade of the inventory product, or an additional upgrade CD is distributed to the user.
无论本地升级还是为用户提供升级光盘的方法, 都会面临重包装或提供 光盘的额外开销, 且不能保证本次升级后不再需要进行其他维护。  Regardless of whether the local upgrade or the user provides a way to upgrade the disc, there will be additional overhead for repackaging or providing the disc, and there is no guarantee that no additional maintenance will be required after this upgrade.
上述提及的升级方法或多或少都存在某些方面的不足, 而其中最为关键 的问题是并没有将用户的因素考虑在内, 即如何实现面向用户的自动升级, 实现按需进行升级, 提高用户体验度, 将客户放在第一位进行考虑。 发明内容  The upgrade methods mentioned above have more or less deficiencies in some aspects, and the most critical issue is that the user's factors are not taken into account, that is, how to implement automatic user-oriented upgrades and upgrades on demand. Improve user experience and consider customers first. Summary of the invention
本发明所要解决的技术问题在于, 提供一种网络设备、 网络设备自主升 级系统及升级方法, 用于解决现有升级方法存在的升级过程复杂, 因缺少用 户参与造成的升级不便及升级安全隐患等问题。  The technical problem to be solved by the present invention is to provide a network device, a network device autonomous upgrade system, and an upgrade method, which are used to solve the complicated upgrade process existing in the existing upgrade method, the inconvenience of upgrading due to lack of user participation, and the upgrade security risk. problem.
为了解决上述问题, 本发明提出了一种网络设备自主升级系统, 包括: 用户 PC、 业务骨干网络、 应用服务器和网络设备, 其中应用服务器和网络设 备通过业务骨干网络连接, 所述网络设备设置为: 检查应用服务器上是否有新的版本文件可用, 若 有, 则检测由用户 PC发起的业务请求, 如果检测到网页浏览请求, 则对由 该网页浏览请求的源地址发起的报文进行处理, 将其网页浏览协议的目的地 址更改为升级向导的 WEB页面地址;根据用户通过用户 PC在升级向导 WEB 页面上的操作指示, 从应用服务器下载升级版本文件至所述网络设备。 In order to solve the above problems, the present invention provides a network device autonomous upgrade system, including: a user PC, a service backbone network, an application server, and a network device, where the application server and the network device are connected through a service backbone network, The network device is configured to: check whether a new version file is available on the application server, if yes, detect a service request initiated by the user PC, and if a webpage browsing request is detected, initiate a source address requested by the webpage browsing The message is processed, and the destination address of the web browsing protocol is changed to the WEB page address of the upgrade wizard; and the upgrade version file is downloaded from the application server to the network device according to the operation instruction of the user on the WEB page of the upgrade wizard by the user PC. .
优选地, 所述网络设备包括终端版本检测模块、 终端 URL重定向模块、 版本升级模块, 所述应用服务器包括版本服务器和升级向导服务器, 其中: 终端版本检测模块设置为:检查版本服务器上是否有新的版本文件可用, 若有, 则激活终端 URL重定向模块;  Preferably, the network device includes a terminal version detection module, a terminal URL redirection module, and a version upgrade module, where the application server includes a version server and an upgrade wizard server, where: the terminal version detection module is configured to: check whether the version server has A new version file is available, if any, the terminal URL redirection module is activated;
终端 URL重定向模块设置为: 在激活状态下检测由用户 PC发起的业务 请求, 如果检测到网页浏览请求, 则对由该网页浏览请求的源地址发起的报 文进行处理, 将其网页浏览协议的目的地址更改为升级向导服务器的 WEB 页面地址;  The terminal URL redirection module is configured to: detect a service request initiated by the user PC in an activated state, and if the webpage browsing request is detected, process the message initiated by the source address of the webpage browsing request, and execute the webpage browsing protocol thereof. Change the destination address to the WEB page address of the upgrade wizard server;
版本升级模块设置为: 根据用户在升级向导服务器的 WEB 页面上的操 作指示, 从版本服务器下载升级版本文件至所述网络设备。  The version upgrade module is set to: download an upgrade version file from the version server to the network device according to an operation instruction of the user on the WEB page of the upgrade wizard server.
优选地, 所述版本服务器设置为: 存储各个不同型号的产品的版本文件, 为各个不同型号的产品设定独立的文件夹, 每一型号产品对应的文件夹中放 置最新的版本文件;  Preferably, the version server is configured to: store a version file of each different model product, set a separate folder for each different model product, and place the latest version file in a folder corresponding to each model product;
所述升级向导服务器, 与版本服务器同步更新, 设置为: 在用户登录到 升级向导 WEB页面时, 打开升级向导, 执行 IP检测, 产品型号检测, 产品 型号选择, 版本文件下载或下发, 升级向导的功能。  The upgrade wizard server is updated synchronously with the version server, and is set to: when the user logs in to the upgrade wizard WEB page, the upgrade wizard is opened, IP detection, product model detection, product model selection, version file download or delivery, and the upgrade wizard are performed. The function.
所述网路设备还包括终端远程控制模块, 设置为: 提供远程访问功能, 进行远程 FTP或 TFTP升级, 在运营商禁止用户修改设备配置时通过远程访 问方式进行升级,在升级过程中,允许用户通过 WEB页面控制远程升级的进 程;  The network device further includes a terminal remote control module, which is configured to: provide a remote access function, perform remote FTP or TFTP upgrade, and upgrade the remote access mode when the operator prohibits the user from modifying the device configuration, and allows the user during the upgrade process. Control the remote upgrade process through the WEB page;
所述应用服务器还包括远程升级服务器, 该远程升级服务器设置为: 根 据升级向导的 WEB页中嵌入远程升级脚本,在用户从 WEB页上选择远程升 级后, 向所述网络设备提供远程升级服务。 所述终端版本检测模块设置有可升级状态标识位, 该标识位用于指示是 否有可升级文件可用。 The application server further includes a remote upgrade server, and the remote upgrade server is configured to: according to the remote upgrade script embedded in the WEB page of the upgrade wizard, after the user selects the remote upgrade from the WEB page, the remote upgrade service is provided to the network device. The terminal version detection module is provided with an upgradeable status identifier bit, which is used to indicate whether an upgradeable file is available.
本发明还提供一种网络设备, 包括终端版本检测模块、 终端 URL重定向 模块、 版本升级模块, 其中: The present invention also provides a network device, including a terminal version detection module, a terminal URL redirection module, and a version upgrade module, where:
终端版本检测模块设置为:检查版本服务器上是否有新的版本文件可用, 若有, 则激活终端 URL重定向模块;  The terminal version detection module is configured to: check whether a new version file is available on the version server, and if yes, activate the terminal URL redirection module;
终端 URL重定向模块设置为: 在激活状态下检测由用户 PC发起的业务 请求, 如果检测到网页浏览请求, 则对由该网页浏览请求的源地址发起的报 文进行处理, 将其网页浏览协议的目的地址更改为升级向导服务器的 WEB 页面地址;  The terminal URL redirection module is configured to: detect a service request initiated by the user PC in an activated state, and if the webpage browsing request is detected, process the message initiated by the source address of the webpage browsing request, and execute the webpage browsing protocol thereof. Change the destination address to the WEB page address of the upgrade wizard server;
版本升级模块设置为: 根据用户在升级向导服务器的 WEB 页面上的操 作指示, 从版本服务器下载升级版本文件至所述网络设备。 优选地, 所述网路设备还包括终端远程控制模块, 设置为: 提供远程访 问功能, 进行远程 FTP或 TFTP升级, 在运营商禁止用户修改设备配置时通 过远程访问方式从远程升级服务器进行升级, 在升级过程中, 允许用户通过 WEB页面控制远程升级的进程。  The version upgrade module is set to: download an upgrade version file from the version server to the network device according to an operation instruction of the user on the WEB page of the upgrade wizard server. Preferably, the network device further includes a terminal remote control module, configured to: provide remote access function, perform remote FTP or TFTP upgrade, and upgrade from a remote upgrade server by remote access mode when the operator prohibits the user from modifying the device configuration. During the upgrade process, the user is allowed to control the remote upgrade process through the WEB page.
本发明还提供一种网络设备自主升级方法, 应用于包括用户 PC、 业务骨 干网络、 应用服务器和网络设备的系统中, 该方法包括: The present invention also provides a network device autonomous upgrade method, which is applied to a system including a user PC, a service backbone network, an application server, and a network device, where the method includes:
网络设备检查应用服务器上是否有新的版本文件可用, 若有, 则检测由 用户 PC发起的业务请求, 如果检测到网页浏览请求, 则对由该网页浏览请 求的源地址发起的 文进行处理, 将其网页浏览协议的目的地址更改为升级 向导的 WEB页面地址;  The network device checks whether a new version file is available on the application server, and if yes, detects a service request initiated by the user PC, and if the webpage browsing request is detected, processes the text initiated by the source address of the webpage browsing request, Change the destination address of the web browsing protocol to the WEB page address of the upgrade wizard;
根据用户通过用户 PC在应用服务器的升级向导 WEB 页面上的操作指 示, 从应用服务器下载升级版本文件至所述网络设备。  The upgrade version file is downloaded from the application server to the network device according to an operation instruction of the user on the application server's upgrade wizard WEB page by the user PC.
优选地, 所述方法还包括: 读写可升级状态标识位, 若该标识位指示有 可升级文件可用则启动将用户浏览页面重定向至升级向导 WEB页面, 否则, 则继续向应用服务器进行版本文件检测。 Preferably, the method further includes: reading and writing an upgradeable status flag, and if the flag indicates that an upgradeable file is available, starting to redirect the user browsing page to the upgrade wizard WEB page; otherwise, Then continue to version file detection to the application server.
优选地, 所述方法还包括: 网络设备在检测或读取标识位获知有可升级 文件可用时, 若用户不选择升级, 则网络设备周期性进行升级提醒。  Preferably, the method further includes: when the network device detects or reads the identifier to know that an upgradeable file is available, if the user does not select the upgrade, the network device periodically performs an upgrade reminder.
本发明实施例为了提升设备升级效率和减少设备维护费用, 利用网络设 备面向用户实现设备升级, 通过融合多种简单且易于实现的处理技术, 提供 了一种全新的设备升级策略。 升级的网络设备可以是任何能给用户提供互联 网接入服务的终端或路由设备, 但主要是针对普通家庭用户大批量发售的网 络接入终端。 In order to improve equipment upgrade efficiency and reduce equipment maintenance costs, the embodiments of the present invention provide network equipment upgrades for users by using network equipments, and provide a new equipment upgrade strategy by combining various simple and easy-to-implement processing technologies. The upgraded network device can be any terminal or routing device that can provide Internet access services to users, but mainly for network access terminals that are widely sold by ordinary home users.
本发明实施例的主要功能由网络设备自身集成,不依赖于任何网管平台。 一方面该升级系统仅花费极少的成本就可搭建, 区别于使用网管系统进行远 程升级, 在此升级策略下, 用户的升级必定在分散的时间内进行, 完全没有 必要考虑服务器负担; 另一方面, 升级操作完全由用户自己自主完成, 可以 极大的减少维护成本, 也可以很好地避免由于用户的误操作导致的设备问题 或者升级失败。 本发明提供给用户方便、 可靠、 高效的自主升级服务, 极大 地减少运营商和设备制造商的升级维护开销。  The main functions of the embodiment of the present invention are integrated by the network device itself, and do not depend on any network management platform. On the one hand, the upgrade system can be built at a very low cost, which is different from the remote upgrade using the network management system. Under this upgrade strategy, the user's upgrade must be carried out in a dispersed time, and there is no need to consider the server burden; On the other hand, the upgrade operation is completely completed by the user himself, which can greatly reduce the maintenance cost, and can also well avoid the equipment problem or the upgrade failure caused by the user's misoperation. The invention provides a convenient, reliable and efficient independent upgrade service for the user, and greatly reduces the upgrade and maintenance cost of the operator and the equipment manufacturer.
附图概述 BRIEF abstract
图 1是一种面向用户的网络设备自主升级系统的结构组网图;  1 is a structural networking diagram of a user-oriented network device autonomous upgrade system;
图 2是一种面向用户的网络设备自主升级系统的工作流程图。  2 is a workflow diagram of a user-oriented network device autonomous upgrade system.
本发明的较佳实施方式 Preferred embodiment of the invention
为使本发明的目的、 技术方案和优点更加清楚, 以下结合附图对本发明 作进一步地详细说明。  In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be further described in detail with reference to the accompanying drawings.
为弥补背景技术提及的多种传统升级方法的不足, 实现面向用户的网络 设备自主升级, 在本发明的技术方案中, 使设备按某种设定好的模式定期检 测是否有升级版本可以使用, 并能够提示用户进行升级, 升级时间的选择权 保留在用户手中, 升级过程中会给用户充分的提示和说明, 避免升级出现问 题。 In order to make up for the deficiencies of the various traditional upgrade methods mentioned in the background, the user-oriented network device is upgraded autonomously. In the technical solution of the present invention, the device periodically checks whether an upgraded version can be used according to a certain set mode. , and can prompt the user to upgrade, the option of the upgrade time is retained in the user's hands, the user will be given sufficient prompts and instructions during the upgrade process to avoid the upgrade. question.
本发明提供的一套面向用户的网络设备, 包括:  The invention provides a set of user-oriented network devices, including:
终端版本检测模块, 用于按设定的模式, 检查版本服务器上是否有新的 版本文件可用, 若有可用升级文件, 则激活终端 URL重定向模块;  The terminal version detecting module is configured to check whether a new version file is available on the version server according to the set mode, and activate the terminal URL redirection module if an upgrade file is available;
终端 URL 重定向模块, 用于在激活状态下检测由用户端发起的业务请 求, 如果检测到网页浏览请求, 则接下来对由该网页浏览请求的源地址发起 的报文进行处理, 将其网页浏览协议的目的地址更改为升级向导服务器的 WEB页面地址。 这样, 当用户试图打开一个网页时, 实际上会打开升级向导 页面。  a terminal URL redirection module, configured to detect a service request initiated by the user end in an activated state, and if a webpage browsing request is detected, then process the message initiated by the source address of the webpage browsing request, and process the webpage The destination address of the browsing protocol is changed to the WEB page address of the upgrade wizard server. This way, when the user tries to open a web page, the upgrade wizard page is actually opened.
终端版本检测模块和终端 URL 重定向模块是本发明的网络设备自主升 级系统的核心模块。  The terminal version detection module and the terminal URL redirection module are core modules of the network device autonomous upgrade system of the present invention.
基于该网络设备的网络设备自主升级系统还包括应用服务器, 应用服务 器可以包括:  The network device autonomous upgrade system based on the network device further includes an application server, and the application server may include:
版本服务器, 其实是文件服务器, 与终端版本检测模块相对应, 版本服 务器上为各个不同型号的产品设定独立的文件夹, 每一型号产品对应的文件 夹中放置最新的版本文件,根据实际情况还可放置版本说明文档等附加文件; 升级向导服务器, 其实是 WEB服务器, 与版本服务器同步更新, 当用 户登录到升级向导页面时, 可以打开升级向导, 主要功能包括: IP检测, 产 品型号检测 (如果可能的话, 比如通过网管协议支持) , 产品型号选择, 版 本文件下载或下发, 升级向导等。  The version server is actually a file server, which corresponds to the terminal version detection module. The version server sets separate folders for each model product, and the latest version file is placed in the corresponding folder of each model product, according to the actual situation. Additional files such as release notes can be placed; the upgrade wizard server is actually a WEB server, which is updated synchronously with the version server. When the user logs in to the upgrade wizard page, the upgrade wizard can be opened. The main functions include: IP detection, product model detection ( If possible, such as through network management protocol support, product model selection, version file download or delivery, upgrade wizard, etc.
该网络设备自主升级系统进一步还可包括:  The network device autonomous upgrade system may further include:
终端远程控制模块,用于提供远程访问功能,用于进行远程 FTP或 TFTP 升级, 在运营商禁止用户修改设备配置, 即禁止用户以管理员身份登录设备 的时候, 则必须使用该补充的远程访问方式进行升级, 但区别于常规的远程 访问升级手段,在这个升级过程中,用户是可以通过 WEB页面控制远程升级 的进程。  The terminal remote control module is used to provide remote access for remote FTP or TFTP upgrade. When the operator prohibits the user from modifying the device configuration, that is, the user is prohibited from logging in to the device as an administrator, the supplementary remote access must be used. The method is upgraded, but it is different from the conventional remote access upgrade method. During this upgrade process, the user can control the remote upgrade process through the WEB page.
远程升级服务器, 该服务器对应于终端远程控制模块, 在 WEB 页中嵌 入远程升级脚本, 这样用户就不必将版本下载到本地再进行升级, 而只需要 在 WEB页上点击一下升级按钮, 然后根据提示等待升级结束就行了。 Remotely upgrade the server, which corresponds to the terminal remote control module, embed the remote upgrade script in the WEB page, so that the user does not have to download the version to the local and then upgrade, but only needs Click the Upgrade button on the WEB page and follow the prompts to wait for the upgrade to finish.
如图 1所示, 给出了本发明的面向用户的网络设备自主升级系统的一种 实施例, 该系统包括: 用户 PC、 业务骨干网络、 应用服务器和用户前端设备 CPE ( Customer Premise Equipment ), 所述 CPE设备即是本发明的网络设备, 其中: As shown in FIG. 1 , an embodiment of a user-oriented network device autonomous upgrade system of the present invention is provided. The system includes: a user PC, a service backbone network, an application server, and a customer premise equipment (CPE). The CPE device is the network device of the present invention, wherein:
应用服务器, 用于提供升级版本检测和升级向导服务; 应用服务器可以 由设备制造商在公网中搭建, 也可由服务供应商在内部网络中搭建。 应用服 务器可以包括 FTP服务器 101和 WEB服务器 102。  The application server is used to provide the upgrade version detection and upgrade wizard service; the application server can be built by the device manufacturer on the public network or by the service provider on the internal network. The application server may include an FTP server 101 and a WEB server 102.
FTP服务器 101 , 用于存放各种不同型号产品的升级文件。  The FTP server 101 is used to store upgrade files for various models.
由于 FTP服务器同时拥有加密认证、 简单的命令行及文件传输功能, 且 客户端功能实现极其简单, 是作为版本服务器的首选。 一方面, CPE模块可 以通过内建的脚本命令定时登录 FTP服务器的检查是否有版本可供更新; 另 一方面, 用户也可借由 WEB服务器提供的连接从 FTP服务器自行下载版本 文件。在 FTP服务器中仅需要将各种不同型号的产品版本分别放置在目录中, 此处所说的不同型号是指不同芯片方案、 不同功能结构、 不同运营商、 或者 统一运营商不同地区使用的产品。 CPE在进行版本检测时可以根据现有版本 中设定的检查路径, 直接进入该目录进行版本号的判断, 省去了数据查询的 过程。 可以参考版本检测模块 103的说明。  Because the FTP server has both encrypted authentication, simple command line and file transfer functions, and the client function is extremely simple to implement, it is the first choice for the version server. On the one hand, the CPE module can periodically log in to the FTP server through the built-in script command to check whether a version is available for updating. On the other hand, the user can also download the version file from the FTP server by using the connection provided by the WEB server. In the FTP server, only the product versions of different models need to be placed in the directory respectively. The different models mentioned here refer to products used by different chip solutions, different functional structures, different operators, or different regions of the unified carrier. When the CPE performs version verification, it can directly enter the directory according to the inspection path set in the existing version to judge the version number, which saves the process of data query. Reference may be made to the description of the version detection module 103.
WEB服务器 102, 用于为用户升级提供指导, 其实现方法可以有多种, 但必须具备以下要素: 第一、 必须具有完整的产品列表, 并为每个产品设定 独立的页面; 第二、 必须要在用户的升级过程中提示用户保存当前重要会话, 在升级过程中不要关闭电源; 第三、 必须说明升级版本的必要性, 让用户进 行升级。  The WEB server 102 is used to provide guidance for user upgrades. There are various implementation methods, but the following elements are required: First, a complete product list must be provided, and a separate page is set for each product; You must prompt the user to save the current important session during the user's upgrade process. Do not turn off the power during the upgrade process. Third, you must explain the necessity of upgrading the version and let the user upgrade.
此处简单列举基于 WEB服务器 102的两种实施方案:  Here are two simple implementations based on the WEB server 102:
( 1 )如果该型号产品是由用户在市场上自行购买的零售版本, 对产品拥 有完全的控制权, 此时服务器应存在于公网。 当用户访问该站点时, 可以进 入对应产品的页面, 该页面会用一整个页面显示整个升级流程的操作步骤, 并提供版本下载的连接。 这个方案主要用于客户本地升级。 当然, 如果产品 支持, 也可使用下面第 (2 )种方法进行远程升级, 但应当给予用户选择权。 (1) If the model is a retail version purchased by the user on the market and has full control over the product, the server should exist on the public network. When the user visits the site, he or she can enter the page of the corresponding product, and the page displays the operation steps of the entire upgrade process with an entire page. A connection to the version download is also available. This solution is mainly used for customer local upgrades. Of course, if the product supports it, you can also use the method (2) below for remote upgrade, but you should give the user the option.
( 2 )如果该产品是由运营商配送的, 且禁止用户修改参数, 则可以在 WEB站点上添加远程升级功能, 在升级前给足提示, 当用户点击页面上的升 级按钮时,站点会对 CPE设备进行远程升级, 当然 CPE设备的远程升级功能 必须开启, 常见的方式有 TFTP、 FTP和 HTTP。 特别的, WEB站点可以查询 CPE设备的 MAC地址, 匹配产品 OUI歹 |】表, 当用户自行访问时自动跳转到 相应产品的页面。  (2) If the product is delivered by the operator and the user is prohibited from modifying the parameters, the remote upgrade function can be added to the WEB site to give a prompt before the upgrade. When the user clicks the upgrade button on the page, the site will The CPE device is upgraded remotely. Of course, the remote upgrade function of the CPE device must be enabled. The common methods are TFTP, FTP, and HTTP. In particular, the WEB site can query the MAC address of the CPE device and match the product OUI歹|] table, and automatically jump to the page of the corresponding product when the user accesses it.
用户前端设备 CPE ( Customer Premise Equipment ) 包括: 版本检测模块Customer Premise Equipment (CPE) includes: version detection module
103 , URL重定向模 104, 版本升级模块 105, 其中: 103, URL redirection module 104, version upgrade module 105, where:
版本检测模块 103 , 用于版本文件的检测及激活 URL重定向模块 104, 在 CPE设备启动后周期性进行版本的检查。 例如, 首先设定一个最短更新周 期, 当设备第一次接入 INTERNET时进行一次检查, 然后等待一个周期后再 次进行检查, 可以以设备启动时间为标准, 这样能尽可能的分散服务器的负 担。  The version detection module 103 is configured to detect and activate the version file. The URL redirection module 104 periodically checks the version after the CPE device is started. For example, first set a minimum update period, perform a check when the device first accesses the INTERNET, and then wait for one cycle and then check again. The device startup time can be used as a standard, so as to spread the load of the server as much as possible.
根据图 1所示的服务器配置, 版本的检查可以按版本号进行, 一个简单 的方法如下:模块内写入固定的升级文件目录 URL,这个 URL可以在版本升 级时进行重写, 如:  According to the server configuration shown in Figure 1, the version check can be performed by version number. A simple method is as follows: The module writes a fixed upgrade file directory URL, which can be rewritten when the version is upgraded, such as:
ftp://usr:pwd@download.pro.net:2121/chip/oem/ver/area/  Ftp://usr:pwd@download.pro.net:2121/chip/oem/ver/area/
在需要进行版本检测时, 登录服务器后使用 Is命令查看版本文件名 (如 果文件名就是版本号),或是通过 cat命令查看目录下某个文本文件中的版本 号 (如果版本文件名不是版本号), 然后和 CPE设备当前自身版本进行比对, 如果服务器上的版本号高于 CPE设备自身版本号, 则可以升级; 或者, 可以 在服务器的版本路径下放置一个文本文件, 其中写入所有可以使用这个升级 文件升级的版本列表, 当 CPE设备在这个列表中匹配到和当前自身版本相同 的字段时, 则说明可以升级。 当可以升级时, 版本检测模块 103将 "可升级 状态标识位" 写 1 , 同时激活 URL重定向模块 104。 URL重定向模块 104,用于对用户 PC发送的数据包进行过滤,并对符合 规则的 HTTP请求包进行重定向; When version detection is required, log in to the server and use the Is command to view the version file name (if the file name is the version number), or use the cat command to view the version number in a text file in the directory (if the version file name is not the version number) ), and then compare with the current version of the CPE device. If the version number on the server is higher than the version number of the CPE device, you can upgrade it; or, you can place a text file in the version path of the server, where all can be written. Use this upgrade file to upgrade the version list. When the CPE device matches the same field as the current version in this list, it indicates that it can be upgraded. When it is possible to upgrade, the version detection module 103 writes the "upgradeable status flag" to 1 while activating the URL redirection module 104. The URL redirection module 104 is configured to filter the data packet sent by the user PC, and redirect the HTTP request packet that meets the rule.
URL重定向模块内写入了固定的重定向地址, 即图 1中 WEB站点地址 中对应的本产品的页面, 当 URL重定向模块过滤到某个网页浏览请求时, 就 将请求的内容强制指向升级站点的地址。  The URL redirection module writes a fixed redirection address, that is, the page corresponding to the product in the WEB site address in FIG. 1. When the URL redirection module filters a webpage browsing request, the content of the request is forcibly pointed to Upgrade the address of the site.
版本升级模块 105,用于根据用户在升级向导服务器的 WEB页面上的操 作指示, 从版本服务器下载升级版本文件至所述网络设备。 由于用户 PC上的很多应用软件在启动时发送 HTTP请求,但不一定是页 面浏览, 有可能是某个嵌入的广告, 如果将这类请求指向升级站点的话, 升 级指导页面可能并不会被显示。 因此, URL重定向模块如何配置合理的过滤 规则, 成为一个重要问题。  The version upgrade module 105 is configured to download an upgrade version file from the version server to the network device according to an operation instruction of the user on the WEB page of the upgrade wizard server. Since many applications on the user's PC send HTTP requests at startup, but not necessarily page views, there may be an embedded advertisement. If such requests are directed to the upgrade site, the upgrade guide page may not be displayed. . Therefore, how the URL redirection module configures reasonable filtering rules becomes an important issue.
根据 HTTP协议, 一个典型的页面浏览请求有以下特征: A)、 一个手动 输入地址或域名的浏览器请求必定是 GET请求, 不是 GET的可以排除; B)、 对于 GET请求, 一个通常的页面访问, 其最初 Request URI字段内容为通常 为 "/" , 而 Accept字段内容通常为 "*/*\r\n" , 对于一个输入完整的页面访 问, 即页面类型也一并输入的, 此时这两个字段全不相同。 相对的, 如果是 有其他应用程序内嵌的广告, 通常是一些媒体文件连接, 此时 Request URI 不是 "/" , 而 Accept字段内容为 "*/*\r\n" , 可以将这一类报文排除; C)、 网页浏览请求报文中会包含浏览器和操作系统信息, 如果不包含浏览器则可 以排除, 另外浏览器版本过低, 如 IE6 以下版本也可以排除。 因而, 可以根 据以上几点设置过滤规则, 将非正常的网页浏览请求过滤掉。  According to the HTTP protocol, a typical page view request has the following characteristics: A), a browser request to manually enter an address or domain name must be a GET request, not a GET can be excluded; B), for a GET request, a normal page visit The content of the original Request URI field is usually "/", and the content of the Accept field is usually "*/*\r\n". For a complete page access, the page type is also entered. Both fields are different. In contrast, if there are advertisements embedded in other applications, usually some media file connections, the Request URI is not "/", and the content of the Accept field is "*/*\r\n". The message is excluded; C), the web browsing request message will contain the browser and operating system information, if it does not include the browser, it can be excluded, and the browser version is too low, such as IE6 and below can also be excluded. Therefore, the filtering rules can be set according to the above points to filter out abnormal web browsing requests.
此外, 还有一些应用软件会弹出浏览器窗口, 这类窗口可能会存在一些 操作限制, 为解决这类问题, 也可以考虑使用以下方法:  In addition, some application software will pop up a browser window. There may be some operational restrictions on this type of window. To solve this kind of problem, you can also consider the following methods:
过滤到一个符合条件的请求包时, 并不更改其请求地址, 而是在受到回 复报文是在页面中添加一个脚本, 此脚本会弹出一个新的页面, 这个页面指 向图 1中的升级站点。 这个方法的缺点是弹出窗口有可能被安全软件拦截。  When filtering to an eligible request package, it does not change its request address. Instead, it adds a script to the page in response to the message. This script will pop up a new page that points to the upgrade site in Figure 1. . The disadvantage of this method is that pop-ups may be blocked by security software.
考虑到升级操作并没有十分的紧迫性(因为一个版本已经用了很久了), 而这个提示在用户完成升级以前会周期性的进行, 转换请求内容的方法更为 可靠。 Considering that the upgrade operation is not very urgent (because a version has been used for a long time), this prompt will be performed periodically before the user completes the upgrade, and the method of converting the request content is more Reliable.
本发明针对上述网络设备自主升级系统实施例, 还相应地提供出该系统 的控制方法实施例, 其流程如图 2所示, 包括如下步骤:  The present invention is directed to the foregoing embodiment of the network device autonomous upgrade system, and correspondingly provides an embodiment of the control method of the system. The process is as shown in FIG. 2, and includes the following steps:
201 : CPE设备启动后需要连接网络, 此设备需要能够连接到 Internet, 并且与其连接的用户 PC也要能够连接到 Internet, 考虑到如大型的路由器、 交换机等设备通常都有专业人员进行维护, 虽然也符合上述特征, 可以选择 使用本发明方案, 也可以不选择。  201: The CPE device needs to be connected to the network after booting. The device needs to be able to connect to the Internet, and the user PC connected to it must be able to connect to the Internet. Considering that devices such as large routers and switches usually have professional maintenance, although The above features are also met, and the solution of the present invention may be selected or not selected.
此处应用对象通常为带有路由功能的 CPE设备, 当其接入 internet或指 定网络时启动版本检测模块, 接入网络的判断可以通过 PPPoE拨号成功或是 通过获取某个网络响应来完成。  The application object here is usually a CPE device with routing function. When it accesses the Internet or specifies a network, the version detection module is started. The judgment of accessing the network can be completed by PPPoE dialing or by obtaining a network response.
202:版本检测模块启动后按照对上述的版本检测模块 103的原理进行工 作, 除向指定服务器查询版本状态外, 还需要读写 "可升级状态标识位" 。  202: After the version detection module is started, it works according to the principle of the above-mentioned version detection module 103. In addition to querying the specified server for the version status, it is also required to read and write the "upgradeable status flag".
203: 当读取到的 "可升级状态标识位" 的值为 1时, 说明有可升级文件 可用, 当为 0时则标识没有升级文件可用。 版本检测模块启动时需要先检查 标识位, 如果是 1则跳过升级文件检测直接启动 URL重定向模块, 执行步骤 206; 如果为 0则进行版本文件检测, 执行步骤 204。  203: When the value of the "upgradeable status flag" read is 1, it indicates that an upgradeable file is available. When it is 0, it indicates that no upgrade file is available. The version detection module needs to check the identifier bit when it starts. If it is 1, skip the upgrade file detection and directly start the URL redirection module. Go to step 206. If it is 0, perform version file detection. Go to step 204.
204: 当检测到服务器上有可用升级文件时, 将上述可升级状态标识位写 1 , 并启动 URL重定向模块; 否则, 进入步骤 212等待, 在下一个周期继续 检测。 不论哪种情况, 这个过程完成时版本检测模块将进入休眠状态。  204: When it is detected that an upgrade file is available on the server, write the above upgradeable status flag to 1 and start the URL redirection module; otherwise, proceed to step 212 to wait, and continue to detect in the next cycle. In either case, the version detection module will go to sleep when the process is complete.
206 - 208: URL重定向模块将按上述对 URL重定向模块 104的原理进行 工作, 当重定向完成时, 模块进程终止。  206 - 208: The URL redirection module will work on the principle of the URL redirection module 104 as described above, and when the redirection is completed, the module process terminates.
考虑到一台 CPE设备可以为多个用户提供上网业务, 为保证其中某个用 户进行升级时不会影响他人,可以考虑对当前用户数量和业务类型进行判断, 如 DHCP客户列表, 用户端口号等。 当然, 这对普通家庭用户来说应该不是 什么问题。  Considering that a CPE device can provide Internet access services for multiple users, to ensure that one of the users does not affect others when upgrading, consider determining the current number of users and service types, such as DHCP client list, user port number, etc. . Of course, this should not be a problem for ordinary home users.
209: 当用户 PC上开启了版本升级站点的 WEB页面时, 用户可以选择 升级或是在完成手头工作后再进行升级。 如果用户不选择升级, 设备会周期 性进行升级提醒, 这和 windows系统或其他一些软件的升级提示类似, 并不 会对用户造成困扰。 209: When the WEB page of the version upgrade site is enabled on the user's PC, the user can choose to upgrade or upgrade after completing the work at hand. If the user does not choose to upgrade, the device will periodically update the reminder, which is similar to the upgrade prompt of the windows system or some other software, not It can be a problem for users.
210 - 211 : 当用户选择升级后, 版本升级模块进行升级, 为保证升级顺 利进行, 版本升级模块可以自行选择可靠的实施方案, 具体指升级失败后的 回退步骤, 这不属于本实施例的讨论范围。 升级成功后, 版本升级模块需要 将可升级状态标识位写 0。  210 - 211: After the upgrade is performed, the version upgrade module is upgraded. To ensure the upgrade is successful, the version upgrade module can select a reliable implementation solution, which is specifically the rollback step after the upgrade fails. This is not the case of this embodiment. The scope of the discussion. After the upgrade is successful, the version upgrade module needs to write the upgradeable status flag to 0.
考虑到 CPE开启但长时间没有用户接入, 或用户虽然连接上网却没有进 行网页浏览, 需要对系统进行完善。  Considering that the CPE is turned on but there is no user access for a long time, or the user does not browse the web while connecting to the Internet, the system needs to be perfected.
212: 进入休眠状态, 直至规则定义的下一个检查时间点到来。  212: Enters the sleep state until the next check time point defined by the rule comes.
213: 在版本检测模块的休眠时间结束, 首先并不是检测是否可以升级, 而是看 URL重定向模块是否还在运行中, 如果还在运行, 则继续进入休眠状 态, 否则, 执行步骤 203。  213: At the end of the sleep time of the version detection module, firstly, it is not detecting whether the upgrade is possible, but whether the URL redirection module is still running, and if it is still running, continuing to enter the sleep state; otherwise, performing step 203.
214 - 215: 当一个新的用户接入时, 首先检查该用户是否是唯一的用户, 如果不是, 则说明已经有用户可以执行升级, 因此没有必要对该用户给予特 殊处理。 如果是唯一, 那么可以认为 CPE设备已经空闲了一段时间, 如可以 升级, 需要提醒该用户进行处理, 即执行步骤 213。 此处唯一用户, 指的是 PC上网用户, 并不包括其他业务如 IP电话或 IPTV。  214 - 215: When a new user accesses, first check if the user is the only user, if not, it means that the user has already performed the upgrade, so there is no need to give special treatment to the user. If it is unique, it can be considered that the CPE device has been idle for a period of time. If it can be upgraded, the user needs to be reminded to perform processing, that is, step 213 is performed. The only user here refers to PC Internet users and does not include other services such as IP phones or IPTV.
对于某些可以直接从服务器下载版本到设备的 CPE设备, 如可以通过 FTP客户端功能的 GET命令下载。此时可以在 CPE设备内建升级页面,在步 骤 208重定向时可以将连接请求指向 CPE设备内部页面, WEB服务器的流 程在此情况下可以省略。  For some CPE devices that can download the version directly from the server to the device, you can download it through the GET command of the FTP client function. At this time, an upgrade page can be built in the CPE device. When the step 208 is redirected, the connection request can be directed to the internal page of the CPE device. The process of the WEB server can be omitted in this case.
综上所述, 本发明的工作过程在用户 PC上表现出来的现象和 windows 或一些应用软件的自动升级功能极其类似, 但存在本质的区别, 一方面是软 件的升级, 其过程基于操作系统, 同时也是在同一个系统上将结果直接体现 出来, 而本发明是硬件升级, 硬件设备和用户 PC 不再同一个平台下, 其关 键点在于如何将硬件检测到的结果不通过 PC上的附加软件输出到用户显示 器上。 In summary, the phenomenon of the working process of the present invention on the user PC is very similar to the automatic upgrade function of windows or some application software, but there is an essential difference, on the one hand, the software is upgraded, and the process is based on the operating system. At the same time, the results are directly reflected on the same system. The present invention is a hardware upgrade. The hardware device and the user PC are no longer on the same platform. The key point is how to prevent the hardware detection result from passing through the additional software on the PC. Output to the user display.
本发明通过融合多种简单且易于实现的处理技术, 提供了一种全新的设 备升级策略。 一方面该升级系统仅花费极少的成本就可搭建, 区别于使用网 管系统进行远程升级, 在此升级策略下, 用户的升级必定在分散的时间内进 行, 完全没有必要考虑服务器负担; 另一方面, 升级操作完全由用户自己自 主完成, 可以极大的减少维护成本, 也可以很好地避免由于用户的误操作导 致的设备问题或者升级失败。 The invention provides a brand new design by combining various simple and easy to implement processing technologies. Backup strategy. On the one hand, the upgrade system can be built at a very low cost, which is different from the remote upgrade using the network management system. Under this upgrade strategy, the user's upgrade must be carried out in a dispersed time, and there is no need to consider the server burden; On the other hand, the upgrade operation is completely completed by the user himself, which can greatly reduce the maintenance cost, and can also well avoid the equipment problem or the upgrade failure caused by the user's misoperation.
以上所述仅为本发明的实施例而已, 并不用于限制本发明, 对于本领域 的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和原则 之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的权利要求 范围之内。 The above is only the embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. All modifications, equivalents, improvements, etc., made within the spirit and scope of the invention are intended to be included within the scope of the appended claims.
工业实用性 本发明实施例为了提升设备升级效率和减少设备维护费用, 利用网络设 备面向用户实现设备升级, 通过融合多种简单且易于实现的处理技术, 提供 了一种全新的设备升级策略。 升级的网络设备可以是任何能给用户提供互联 网接入服务的终端或路由设备, 但主要是针对普通家庭用户大批量发售的网 络接入终端。 本发明实施例的主要功能由网络设备自身集成,不依赖于任何网管平台。 一方面该升级系统仅花费极少的成本就可搭建, 区别于使用网管系统进行远 程升级, 在此升级策略下, 用户的升级必定在分散的时间内进行, 完全没有 必要考虑服务器负担; 另一方面, 升级操作完全由用户自己自主完成, 可以 极大的减少维护成本, 也可以很好地避免由于用户的误操作导致的设备问题 或者升级失败。 本发明提供给用户方便、 可靠、 高效的自主升级服务, 极大 地减少运营商和设备制造商的升级维护开销。 Industrial Applicability In order to improve equipment upgrade efficiency and reduce equipment maintenance costs, embodiments of the present invention provide network equipment upgrades for users by using network equipment, and provide a new equipment upgrade strategy by combining various simple and easy-to-implement processing technologies. The upgraded network device can be any terminal or routing device that can provide Internet access services to users, but mainly for network access terminals that are widely sold by ordinary home users. The main functions of the embodiment of the present invention are integrated by the network device itself, and do not depend on any network management platform. On the one hand, the upgrade system can be built at a very low cost, which is different from the remote upgrade using the network management system. Under this upgrade strategy, the user's upgrade must be carried out in a dispersed time, and there is no need to consider the server burden; On the other hand, the upgrade operation is completely completed by the user himself, which can greatly reduce the maintenance cost, and can also well avoid the equipment problem or the upgrade failure caused by the user's misoperation. The invention provides a convenient, reliable and efficient independent upgrade service for the user, and greatly reduces the upgrade and maintenance cost of the operator and the equipment manufacturer.

Claims

权 利 要 求 书 Claim
1、 一种网络设备自主升级系统, 包括: 用户 PC、 业务骨干网络、 应用 服务器和网络设备, 其中应用服务器和网络设备通过业务骨干网络连接, 所述网络设备设置为: 检查应用服务器上是否有新的版本文件可用, 若 有, 则检测由用户 PC发起的业务请求, 如果检测到网页浏览请求, 则对由 该网页浏览请求的源地址发起的报文进行处理, 将网页浏览协议的目的地址 更改为升级向导的 WEB页面地址; 根据用户通过用户 PC在升级向导 WEB 页面上的操作指示, 从应用服务器下载升级版本文件至所述网络设备。  A system for autonomously upgrading a network device, comprising: a user PC, a service backbone network, an application server, and a network device, wherein the application server and the network device are connected through a service backbone network, and the network device is configured to: check whether the application server has A new version file is available, if yes, detecting a service request initiated by the user PC, and if a web browsing request is detected, processing the message initiated by the source address of the web browsing request, and the destination address of the web browsing protocol is Change to the WEB page address of the upgrade wizard; download the upgrade version file from the application server to the network device according to the user's operation instructions on the upgrade wizard WEB page through the user PC.
2、 如权利要求 1所述的系统, 其中, 所述网络设备包括终端版本检测模 块、 终端 URL重定向模块、 版本升级模块, 所述应用服务器包括版本服务器 和升级向导服务器, 其中:  2. The system of claim 1, wherein the network device comprises a terminal version detection module, a terminal URL redirection module, and a version upgrade module, wherein the application server comprises a version server and an upgrade wizard server, wherein:
终端版本检测模块设置为:检查版本服务器上是否有新的版本文件可用, 若有, 则激活终端 URL重定向模块;  The terminal version detection module is configured to: check whether a new version file is available on the version server, and if yes, activate the terminal URL redirection module;
终端 URL重定向模块设置为: 在激活状态下检测由用户 PC发起的业务 请求, 如果检测到网页浏览请求, 则对由该网页浏览请求的源地址发起的报 文进行处理,将网页浏览协议的目的地址更改为升级向导服务器的 WEB页面 地址;  The terminal URL redirection module is configured to: detect a service request initiated by the user PC in an activated state, and if the webpage browsing request is detected, process the message initiated by the source address of the webpage browsing request, and the webpage browsing protocol is processed. Change the destination address to the WEB page address of the upgrade wizard server;
版本升级模块设置为: 根据用户在升级向导服务器的 WEB 页面上的操 作指示, 从版本服务器下载升级版本文件至所述网络设备。  The version upgrade module is set to: download an upgrade version file from the version server to the network device according to an operation instruction of the user on the WEB page of the upgrade wizard server.
3、 如权利要求 2所述的系统, 其中, 3. The system of claim 2, wherein
所述版本服务器设置为: 存储各个不同型号的产品的版本文件, 为各个 不同型号的产品设定独立的文件夹, 每一型号产品对应的文件夹中放置最新 的版本文件;  The version server is configured to: store version files of products of different models, set separate folders for each model product, and place the latest version file in a folder corresponding to each model product;
所述升级向导服务器, 与版本服务器同步更新, 设置为: 在用户登录到 升级向导 WEB页面时, 打开升级向导, 执行 IP检测, 产品型号检测, 产品 型号选择, 版本文件下载或下发, 升级向导的功能。  The upgrade wizard server is updated synchronously with the version server, and is set to: when the user logs in to the upgrade wizard WEB page, the upgrade wizard is opened, IP detection, product model detection, product model selection, version file download or delivery, and the upgrade wizard are performed. The function.
4、 如权利要求 3所述的系统, 其中,  4. The system of claim 3, wherein
所述网路设备还包括终端远程控制模块, 设置为: 提供远程访问功能, 进行远程 FTP或 TFTP升级, 在运营商禁止用户修改设备配置时通过远程访 问方式进行升级,在升级过程中,允许用户通过 WEB页面控制远程升级的进 程; The network device further includes a terminal remote control module, configured to: provide remote access function, Perform remote FTP or TFTP upgrade. When the operator prohibits the user from modifying the device configuration, the remote access mode is used to upgrade the device. In the upgrade process, the user is allowed to control the remote upgrade process through the WEB page.
所述应用服务器还包括远程升级服务器, 该远程升级服务器设置为: 根 据升级向导的 WEB页中嵌入远程升级脚本,在用户从 WEB页上选择远程升 级后, 向所述网络设备提供远程升级服务。  The application server further includes a remote upgrade server, and the remote upgrade server is configured to: according to the remote upgrade script embedded in the WEB page of the upgrade wizard, after the user selects the remote upgrade from the WEB page, the remote upgrade service is provided to the network device.
5、 如权利要求 2、 3、 或 4所述的系统, 其中,  5. The system of claim 2, 3, or 4, wherein
所述终端版本检测模块设置有可升级状态标识位, 该标识位用于指示是 否有可升级文件可用。  The terminal version detection module is provided with an upgradeable status flag, which is used to indicate whether an upgradeable file is available.
6、 一种网络设备, 包括终端版本检测模块、 终端 URL重定向模块、 版 本升级模块, 其中: 终端版本检测模块设置为:检查版本服务器上是否有新的版本文件可用, 若有, 则激活终端 URL重定向模块;  A network device, comprising a terminal version detection module, a terminal URL redirection module, and a version upgrade module, wherein: the terminal version detection module is configured to: check whether a new version file is available on the version server, and if yes, activate the terminal. URL redirection module;
终端 URL重定向模块设置为: 在激活状态下检测由用户 PC发起的业务 请求, 如果检测到网页浏览请求, 则对由该网页浏览请求的源地址发起的报 文进行处理,将网页浏览协议的目的地址更改为升级向导服务器的 WEB页面 地址;  The terminal URL redirection module is configured to: detect a service request initiated by the user PC in an activated state, and if the webpage browsing request is detected, process the message initiated by the source address of the webpage browsing request, and the webpage browsing protocol is processed. Change the destination address to the WEB page address of the upgrade wizard server;
版本升级模块设置为: 根据用户在升级向导服务器的 WEB 页面上的操 作指示, 从版本服务器下载升级版本文件至所述网络设备。  The version upgrade module is set to: download an upgrade version file from the version server to the network device according to an operation instruction of the user on the WEB page of the upgrade wizard server.
7、 如权利要求 6所述的网络设备, 其中, 所述网路设备还包括终端远程 控制模块, 设置为: 提供远程访问功能, 进行远程 FTP或 TFTP升级, 在运 营商禁止用户修改设备配置时通过远程访问方式从远程升级服务器进行升 级, 在升级过程中, 允许用户通过 WEB页面控制远程升级的进程。 The network device of claim 6, wherein the network device further comprises a terminal remote control module, configured to: provide a remote access function, perform remote FTP or TFTP upgrade, when the operator prohibits the user from modifying the device configuration Upgrade from a remote upgrade server through remote access. During the upgrade process, users are allowed to control the remote upgrade process through the WEB page.
8、 一种网络设备自主升级方法, 应用于包括用户 PC、 业务骨干网络、 应用服务器和网络设备的系统中, 该方法包括:  A method for autonomously upgrading a network device, which is applied to a system including a user PC, a service backbone network, an application server, and a network device, where the method includes:
网络设备检查应用服务器上是否有新的版本文件可用, 若有, 则检测由 用户 PC发起的业务请求, 如果检测到网页浏览请求, 则对由该网页浏览请 求的源地址发起的 文进行处理, 将网页浏览协议的目的地址更改为升级向 导的 WEB页面地址; The network device checks whether a new version file is available on the application server, and if yes, detects a service request initiated by the user PC, and if the webpage browsing request is detected, processes the text initiated by the source address of the webpage browsing request, Change the destination address of the web browsing protocol to upgrade The WEB page address of the guide;
根据用户通过用户 PC在应用服务器的升级向导 WEB 页面上的操作指 示, 从应用服务器下载升级版本文件至所述网络设备。  The upgrade version file is downloaded from the application server to the network device according to an operation instruction of the user on the application server's upgrade wizard WEB page by the user PC.
9、 如权利要求 8所述的方法, 其中, 所述方法还包括: 读写可升级状态 标识位, 若该标识位指示有可升级文件可用则启动将用户浏览页面重定向至 升级向导 WEB页面, 否则, 则继续向应用服务器进行版本文件检测。  9. The method of claim 8, wherein the method further comprises: reading and writing an upgradeable status flag, and if the flag indicates that an upgradeable file is available, initiating redirecting the user browsing page to the upgrade wizard WEB page Otherwise, the version file detection continues to the application server.
10、 如权利要求 8或 9所述的方法, 其中, 所述方法还包括:  The method according to claim 8 or 9, wherein the method further comprises:
网络设备在检测或读取标识位获知有可升级文件可用时, 若用户不选择 升级, 则网络设备周期性进行升级提醒。  When the network device detects or reads the identifier to know that an upgradeable file is available, if the user does not select the upgrade, the network device periodically performs an upgrade reminder.
PCT/CN2011/082148 2011-02-28 2011-11-14 Network device and system and method for autonomously upgrading network device WO2012116553A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110047704.0A CN102651697B (en) 2011-02-28 2011-02-28 A kind of network equipment, the autonomous upgrade-system of the network equipment and upgrade method
CN201110047704.0 2011-02-28

Publications (1)

Publication Number Publication Date
WO2012116553A1 true WO2012116553A1 (en) 2012-09-07

Family

ID=46693593

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/082148 WO2012116553A1 (en) 2011-02-28 2011-11-14 Network device and system and method for autonomously upgrading network device

Country Status (2)

Country Link
CN (1) CN102651697B (en)
WO (1) WO2012116553A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110769289A (en) * 2018-07-26 2020-02-07 视联动力信息技术股份有限公司 Terminal upgrading method and system

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102291742A (en) * 2011-08-18 2011-12-21 中兴通讯股份有限公司 Method and device for updating version of wireless routing equipment
CN104104527A (en) * 2013-04-03 2014-10-15 华为终端有限公司 Upgrade method for access terminal device and access terminal device
CN104378403A (en) * 2013-08-16 2015-02-25 中兴通讯股份有限公司 Terminal and updating method thereof
CN104639376A (en) * 2015-03-05 2015-05-20 太仓市同维电子有限公司 Novel method for human-machine interaction type remote upgrading of home gateway
CN105337782A (en) * 2015-11-27 2016-02-17 上海斐讯数据通信技术有限公司 Method and device for automatic upgrading after boot failure of network equipment firmware
US10365913B2 (en) * 2016-05-12 2019-07-30 Symantec Corporation Systems and methods for updating network devices
CN107301054B (en) * 2017-07-14 2021-02-23 杭州敦崇科技股份有限公司 Software updating method based on ad hoc network
CN112399378B (en) * 2020-10-13 2021-08-20 联通智网科技股份有限公司 Internet of vehicles-based over-the-air downloading method, system, equipment and medium
CN115426262A (en) * 2022-08-23 2022-12-02 西安超越申泰信息科技有限公司 Switch batch upgrading method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0996253A2 (en) * 1998-10-22 2000-04-26 Canon Kabushiki Kaisha Browser-based network management
CN101060427A (en) * 2006-04-19 2007-10-24 华为技术有限公司 A system and method for realizing the remote software updating
CN101346931A (en) * 2005-12-22 2009-01-14 安讯士有限公司 Monitoring system and method for connecting a monitoring device to a service server
CN101147145B (en) * 2005-03-24 2010-09-29 惠普开发有限公司 Embedded web-based management method
CN101222363B (en) * 2008-01-29 2010-12-29 中兴通讯股份有限公司 IP access gate batch upgrading system and method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127782B (en) * 2007-07-19 2011-04-20 中兴通讯股份有限公司 Method for forceful implementation of portal service
CN101453550A (en) * 2007-11-29 2009-06-10 上海未来宽带技术及应用工程研究中心有限公司 Automatic updating method for set-top box software
CN101963910A (en) * 2010-09-21 2011-02-02 深圳市元征软件开发有限公司 General USB (Universal Serial Bus) based equipment firmware updating method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0996253A2 (en) * 1998-10-22 2000-04-26 Canon Kabushiki Kaisha Browser-based network management
CN101147145B (en) * 2005-03-24 2010-09-29 惠普开发有限公司 Embedded web-based management method
CN101346931A (en) * 2005-12-22 2009-01-14 安讯士有限公司 Monitoring system and method for connecting a monitoring device to a service server
CN101060427A (en) * 2006-04-19 2007-10-24 华为技术有限公司 A system and method for realizing the remote software updating
CN101222363B (en) * 2008-01-29 2010-12-29 中兴通讯股份有限公司 IP access gate batch upgrading system and method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110769289A (en) * 2018-07-26 2020-02-07 视联动力信息技术股份有限公司 Terminal upgrading method and system
CN110769289B (en) * 2018-07-26 2021-11-19 视联动力信息技术股份有限公司 Terminal upgrading method and system

Also Published As

Publication number Publication date
CN102651697A (en) 2012-08-29
CN102651697B (en) 2015-12-16

Similar Documents

Publication Publication Date Title
WO2012116553A1 (en) Network device and system and method for autonomously upgrading network device
WO2019100605A1 (en) Platform-as-a-service paas container platform construction method, server, system, and storage medium
EP2973147B1 (en) Policy-based secure web boot
JP5482453B2 (en) Router, information processing apparatus, and program
US20040054718A1 (en) Application services gateway
US20090172658A1 (en) Application installation
US7761613B2 (en) Electrical device configuration system and method
US20030217110A1 (en) Home gateway server appliance
CN100534055C (en) Method for implementing network access through broadband router
WO2014180359A1 (en) File download method and device
WO2015051675A1 (en) Network access device management method and device
WO2008094765A2 (en) Method and apparatus to control network access from a user device
WO2008031251A1 (en) A home gateway network store system and the network accessing method thereof
EP3382988B1 (en) Method for self-provisioning of cable modems and multimedia terminal adapters
WO2012163176A1 (en) Method, device and system for configuring set top box
WO2012113327A1 (en) Method and device for upgrading cpe
WO2012129984A1 (en) Method and system for upgrading terminals in batch
US8582740B2 (en) Method for automated management of a telecommunication service
CN107526595B (en) Method for supporting remote loading of multiple operating systems
WO2013083056A1 (en) Method, device and system for managing mobile broadband device
WO2012151924A1 (en) Version updating method and device for wireless router device
CN110166547A (en) Terminal remote access control method
Manual Version 1.0
CN104639607A (en) Remote control method and router
JP2015534194A (en) Method and apparatus for detecting and communicating information about communication link status

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

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

Country of ref document: EP

Kind code of ref document: A1